summaryrefslogtreecommitdiff
path: root/src/bin/egui_gui/props_helper.h
blob: a840993494b5073a07dcc86adaeedc9f943a6f51 (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#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_hoversel_resource_files_add(Eo *box, Eo *hoversel, Eo *hover_parent, const char *default_val, const Gui_Context *ctx);

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);

const char*
_filter_string_get();

Eina_Bool
_str_nocase_prefix(const char *str, const char *prefix);

void
_mempool_hash_del(void* data);
void
_mempool_cache_init();
void
_mempool_cache_free();
void*
_mempool_cache_data_get(const char *key);
void
_mempool_cache_data_put(const char *key, void *ptr);
#endif