containing ui setup steps in the profiling again.
[platform/upstream/expedite.git] / src / bin / ui.h
1 #ifndef UI_H
2 #define UI_H
3
4 typedef struct _Menu_Item Menu_Item;
5 struct _Menu_Item
6 {
7    Evas_Object *o_icon;
8    char *icon;
9    char *text;
10    void (*func) (void);
11
12    Eina_Bool test;
13 };
14
15 extern int async_render;
16 extern Eina_List *menu;
17 extern double weights[];
18
19 void ui_setup(unsigned int ui_w, unsigned int ui_h);
20 Eina_Bool ui_loop(void *data);
21 void ui_menu(void);
22 void ui_func_set(void (*kfunc) (const char *key), void (*lfunc) (double t, int f), void (*lsetup) (void));
23 void ui_fps(double fps);
24 void ui_num(int n);
25 void ui_all(void);
26
27 #endif