2008-12-18 22:16:55 +00:00
|
|
|
/* vim: set sw=3 ts=3 sts=3 expandtab: */
|
|
|
|
#ifndef ECDB_WIDGETS_H
|
|
|
|
#define ECDB_WIDGETS_H
|
|
|
|
|
2008-12-24 00:44:54 +00:00
|
|
|
void ecdb_widget_focus_callback_add(Evas_Object *o, const char *name);
|
2008-12-24 22:59:59 +00:00
|
|
|
Evas_Object *ecdb_widget_add(Evas_Object *parent, const char *name);
|
2008-12-24 00:44:54 +00:00
|
|
|
|
2008-12-18 22:16:55 +00:00
|
|
|
Evas_Object *ecdb_button_add(Evas_Object *parent, const char *name);
|
|
|
|
void ecdb_button_label_set(Evas_Object *b, const char *label);
|
|
|
|
void ecdb_button_icon_set(Evas_Object *b, const char *group);
|
2008-12-20 21:08:50 +00:00
|
|
|
const char *ecdb_button_label_get(Evas_Object *b);
|
2008-12-18 22:16:55 +00:00
|
|
|
|
2008-12-24 18:59:22 +00:00
|
|
|
Evas_Object *ecdb_combo_item_add(Evas_Object *parent, const char *name);
|
|
|
|
void ecdb_combo_item_label_set(Evas_Object *ci, const char *label);
|
|
|
|
void ecdb_combo_item_icon_set(Evas_Object *ci, const char *group);
|
|
|
|
const char *ecdb_combo_item_label_get(Evas_Object *ci);
|
|
|
|
|
2008-12-18 22:16:55 +00:00
|
|
|
Evas_Object *ecdb_check_add(Evas_Object *parent, const char *name);
|
|
|
|
void ecdb_check_label_set(Evas_Object *c, const char *label);
|
|
|
|
void ecdb_check_states_set(Evas_Object *c, const char *ystate,
|
|
|
|
const char *nstate);
|
2008-12-21 03:52:57 +00:00
|
|
|
void ecdb_check_checked_set(Evas_Object *c, int state);
|
2008-12-21 01:48:31 +00:00
|
|
|
int ecdb_check_checked_get(Evas_Object *c);
|
2008-12-18 22:16:55 +00:00
|
|
|
|
|
|
|
Evas_Object *ecdb_entry_add(Evas_Object *parent, const char *name);
|
|
|
|
void ecdb_entry_text_set(Evas_Object *e, const char *text);
|
|
|
|
char *ecdb_entry_text_get(Evas_Object *e);
|
|
|
|
|
2008-12-20 21:08:50 +00:00
|
|
|
/* Combo todo list:
|
|
|
|
* separate hover from combo
|
|
|
|
* able to set whether combo collapses on child click
|
|
|
|
* better theme
|
|
|
|
*/
|
2008-12-19 05:48:23 +00:00
|
|
|
Evas_Object *ecdb_combo_add(Evas_Object *parent, const char *name);
|
|
|
|
void ecdb_combo_header_set(Evas_Object *c, const char *text);
|
|
|
|
void ecdb_combo_append(Evas_Object *c, Evas_Object *o);
|
|
|
|
void ecdb_combo_expand(Evas_Object *c);
|
|
|
|
void ecdb_combo_collapse(Evas_Object *c);
|
2009-01-08 02:33:00 +00:00
|
|
|
void ecdb_combo_header_create_set(Evas_Object *c, void
|
2008-12-20 21:08:50 +00:00
|
|
|
(*func)(Evas_Object *c,
|
|
|
|
const char *name,
|
2008-12-21 03:52:57 +00:00
|
|
|
void *data,
|
2008-12-20 21:08:50 +00:00
|
|
|
Evas_Object *clicked,
|
|
|
|
int idx));
|
2008-12-21 00:09:07 +00:00
|
|
|
int ecdb_combo_selected_get(Evas_Object *c);
|
2008-12-21 03:52:57 +00:00
|
|
|
void ecdb_combo_data_set(Evas_Object *c, void *data);
|
2009-02-06 04:03:13 +00:00
|
|
|
void *ecdb_combo_data_get(Evas_Object *c);
|
2008-12-21 19:42:30 +00:00
|
|
|
void ecdb_combo_clear(Evas_Object *c);
|
2008-12-20 21:08:50 +00:00
|
|
|
|
|
|
|
Evas_Object *ecdb_label_add(Evas_Object *parent, const char *name);
|
|
|
|
void ecdb_label_text_set(Evas_Object *l, const char *text);
|
2008-12-19 05:48:23 +00:00
|
|
|
|
2009-01-08 02:33:00 +00:00
|
|
|
Evas_Object *ecdb_config_inwin_add(Evas_Object *parent, const char *name);
|
2009-01-10 03:16:38 +00:00
|
|
|
void ecdb_config_inwin_show(Evas_Object *inwin);
|
2009-01-11 02:14:02 +00:00
|
|
|
void ecdb_config_inwin_hide(Evas_Object *inwin);
|
2009-01-08 02:33:00 +00:00
|
|
|
void ecdb_config_inwin_child_add(Evas_Object *inwin, Evas_Object *child,
|
2009-01-11 02:14:02 +00:00
|
|
|
int c, int r,
|
|
|
|
int cs, int rs);
|
2008-12-19 05:48:23 +00:00
|
|
|
|
2009-01-11 22:13:44 +00:00
|
|
|
Evas_Object *ecdb_capacity_add(Evas_Object *parent, const char *name);
|
|
|
|
void ecdb_capacity_float_set(Evas_Object *cap, float val);
|
|
|
|
|
2008-12-18 22:16:55 +00:00
|
|
|
#endif
|