summaryrefslogtreecommitdiff
path: root/src/bin/egui_gui/props_helper.h
blob: 90a52c8497634e2d7648ada065eb103633ad3748 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#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 *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