summaryrefslogblamecommitdiff
path: root/src/bin/egui_gui/props_helper.h
blob: a8123dbe3afec0dc2c543ea8998cfc2f528007fb (plain) (tree)
1
2
3
4
5
6
7
8
9





                       
                                                              
 
    
                                                      
 
    
                                          
 



                                          
                                      
 

                                                                                                     
 
    
                                                                                                                                                
 

                                                                                                         
 
    
                                                                                                                               

    
                                                                                                                                         
      
#ifndef _PROPS_HELPER_H
#define _PROPS_HELPER_H

#include <Evas.h>
#include "gui_widget.h"

#define PROP_HOVERSEL_NONE_VALUE "                           "

Eo *
props_entry_add(Eo *box, const char *str, Gui_Type t);

Eo *
props_label_add(Eo *box, const char *str);

Eo *
props_check_add(Eo *box, Eina_Bool state);

Eo *
props_button_add(Eo *box, char *text);

Eo *
props_hoversel_enums_add(Eo *box, Eo *hover_parent, const char *default_val, const char **enums_lst);

Eo *
props_hoversel_objects_add(Eo *box, Eo *hoversel, Eo *hover_parent, const char *default_val, const Eina_List *wdgs_list, const Gui_Widget *wdg);

Eo *
props_hoversel_object_ops_add(Eo *box, Eo *hover_parent, const char *default_val, const Gui_Widget *wdg);

Eo *
props_hoversel_seqs_add(Eo *box, Eo *hover_parent, const Gui_Context *ctx, const char *default_val, Eina_Bool add_empty_field);

Eo *
props_value_add(Eo *box, const Gui_Context *ctx, const Gui_Widget *wdg, const Gui_Value *value, const Op_Desc *op, unsigned int par_idx);
#endif