Enlightenment CVS committal Author : dj2 Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/lib Modified Files: ewl_border.h ewl_box.h ewl_button_stock.h ewl_cell.h ewl_check.h ewl_checkbutton.h ewl_colorpicker.h ewl_combo.c ewl_combo.h ewl_config.c ewl_container.h ewl_dialog.h ewl_entry.h ewl_enums.h ewl_events.h ewl_fileselector.c ewl_fileselector.h ewl_grid.h ewl_menu.c ewl_menubar.h ewl_misc.h ewl_notebook.h ewl_paned.h ewl_progressbar.h ewl_row.h ewl_seeker.h ewl_selectionbar.h ewl_selectionbook.c ewl_selectionbook.h ewl_separator.h ewl_spectrum.c ewl_spectrum.h ewl_statusbar.h ewl_table.h ewl_theme.c ewl_theme.h ewl_tooltip.h ewl_tree.h Log Message: - formatting/documentation fixes - cleanup a couple of warnings - move an enum to ewl_enums.h =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_border.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- ewl_border.h 9 Feb 2005 20:44:12 -0000 1.2 +++ ewl_border.h 17 Feb 2005 19:14:54 -0000 1.3 @@ -3,9 +3,12 @@ /** * @file ewl_border.h + * * @defgroup Ewl_Border Border: A container with a border and label - * Defines the Ewl_Border class used for adding a border decoration around a - * group of widgets. + * @brief Defines the Ewl_Border class used for adding a border decoration + * around a group of widgets. + * + * @{ */ /** @@ -51,6 +54,9 @@ unsigned int align); unsigned int ewl_border_label_alignment_get(Ewl_Border *b); +/** + * @} + */ #endif /* __EWL_BORDER_H__ */ =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_box.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- ewl_box.h 9 Feb 2005 20:44:12 -0000 1.2 +++ ewl_box.h 17 Feb 2005 19:14:54 -0000 1.3 @@ -39,7 +39,7 @@ Ewl_Container container; /**< Inherit from Ewl_Container */ Ewl_Orientation orientation; /**< Indicate the orientation of layout */ - int spacing; /**< Space between each widget in the box */ + int spacing; /**< Space between each widget in the box */ unsigned int homogeneous; /**< Flag indicating space assignemnt */ }; @@ -77,7 +77,7 @@ Ewl_Widget * w); void ewl_box_configure_cb(Ewl_Widget * w, void *ev_data, - void *user_data); + void *user_data); void ewl_box_configure_homogeneous_cb(Ewl_Widget *w, void *ev_data, void *user_data); =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_button_stock.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- ewl_button_stock.h 9 Feb 2005 20:44:12 -0000 1.2 +++ ewl_button_stock.h 17 Feb 2005 19:14:54 -0000 1.3 @@ -31,8 +31,8 @@ struct Ewl_Stock_Item { - char *stock_id; - char *label; + char *stock_id; + char *label; }; @@ -64,12 +64,10 @@ int response_id; /* the response Id */ }; -Ewl_Widget *ewl_button_stock_new (char *stock_id); -Ewl_Widget *ewl_button_stock_with_id_new (char *stock_id, - int response_id); +Ewl_Widget *ewl_button_stock_new(char *stock_id); +Ewl_Widget *ewl_button_stock_with_id_new(char *stock_id, int response_id); -int ewl_button_stock_init (Ewl_Button_Stock *b, - char *stock_id); +int ewl_button_stock_init(Ewl_Button_Stock *b, char *stock_id); /* * Internally used callbacks, override at your own risk. =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_cell.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- ewl_cell.h 9 Feb 2005 20:44:12 -0000 1.2 +++ ewl_cell.h 17 Feb 2005 19:14:54 -0000 1.3 @@ -33,8 +33,8 @@ Ewl_Container container; /**< Inherit from the Ewl_Container */ }; -Ewl_Widget *ewl_cell_new(void); -int ewl_cell_init(Ewl_Cell *cell); +Ewl_Widget *ewl_cell_new(void); +int ewl_cell_init(Ewl_Cell *cell); /* * Internally used callbacks, override at your own risk. @@ -42,7 +42,7 @@ void ewl_cell_configure_cb(Ewl_Widget * w, void *ev_data, void *user_data); void ewl_cell_child_show_cb(Ewl_Container *c, Ewl_Widget *w); void ewl_cell_child_resize_cb(Ewl_Container *c, Ewl_Widget *w, int size, - Ewl_Orientation o); + Ewl_Orientation o); /** * @} =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_check.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- ewl_check.h 9 Feb 2005 20:44:12 -0000 1.2 +++ ewl_check.h 17 Feb 2005 19:14:54 -0000 1.3 @@ -3,9 +3,12 @@ /** * @file ewl_check.h + * * @defgroup Ewl_Check Check: The Simple Check for a Checkbutton * Defines a widget with single purpose of providing a button with a checked * state, without any extra decorating. + * + * @{ */ /** @@ -49,4 +52,8 @@ void ewl_check_update_check_cb(Ewl_Widget * w, void *ev_data, void *user_data); +/** + * @} + */ + #endif =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_checkbutton.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- ewl_checkbutton.h 9 Feb 2005 20:44:12 -0000 1.2 +++ ewl_checkbutton.h 17 Feb 2005 19:14:54 -0000 1.3 @@ -64,6 +64,9 @@ void ewl_checkbutton_label_position_set(Ewl_CheckButton * cb, Ewl_Position p); +/* + * Internally used callbacks, override at your own risk + */ void ewl_checkbutton_clicked_cb(Ewl_Widget * w, void *ev_data, void *user_data); =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_colorpicker.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -3 -r1.3 -r1.4 --- ewl_colorpicker.h 16 Feb 2005 04:27:28 -0000 1.3 +++ ewl_colorpicker.h 17 Feb 2005 19:14:54 -0000 1.4 @@ -18,8 +18,8 @@ int drag; }; -Ewl_Widget *ewl_colorpicker_new(); -int ewl_colorpicker_init(Ewl_ColorPicker *cp); +Ewl_Widget *ewl_colorpicker_new(); +int ewl_colorpicker_init(Ewl_ColorPicker *cp); /* * Internal callbacks, override at your own risk. =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_combo.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- ewl_combo.c 9 Feb 2005 04:31:54 -0000 1.1 +++ ewl_combo.c 17 Feb 2005 19:14:54 -0000 1.2 @@ -168,11 +168,11 @@ ewl_widget_appearance_set(combo->button, "button_decrement"); ewl_callback_del(EWL_MENU_BASE(combo)->popbox, EWL_CALLBACK_FOCUS_OUT, - ewl_combo_collapse_cb); + ewl_combo_collapse_cb); ewl_callback_del(combo->button, EWL_CALLBACK_MOUSE_DOWN, - ewl_combo_collapse_cb); + ewl_combo_collapse_cb); ewl_callback_append(combo->button, EWL_CALLBACK_MOUSE_DOWN, - ewl_combo_expand_cb, combo); + ewl_combo_expand_cb, combo); DLEAVE_FUNCTION(DLEVEL_STABLE); } @@ -239,21 +239,21 @@ pb = EWL_CONTAINER(EWL_MENU_BASE(combo)->popbox); ewl_callback_append(EWL_WIDGET(pb), EWL_CALLBACK_FOCUS_OUT, - ewl_combo_collapse_cb, combo); + ewl_combo_collapse_cb, combo); ewl_callback_del(combo->button, EWL_CALLBACK_MOUSE_DOWN, ewl_combo_expand_cb); ewl_callback_append(combo->button, EWL_CALLBACK_MOUSE_DOWN, - ewl_combo_collapse_cb, combo); + ewl_combo_collapse_cb, combo); ecore_list_goto_first(pb->children); - /** + /* * Set all of the items in this menu a callback to set the currently selected * widget */ while ((child = ecore_list_next(pb->children))) { ewl_callback_del(child, EWL_CALLBACK_SELECT, ewl_combo_item_select_cb); ewl_callback_append(child, EWL_CALLBACK_SELECT, - ewl_combo_item_select_cb, combo); + ewl_combo_item_select_cb, combo); } ewl_widget_show(combo->base.popup); @@ -275,11 +275,11 @@ ewl_widget_appearance_set(combo->button, "button_decrement"); ewl_callback_del(EWL_MENU_BASE(combo)->popbox, EWL_CALLBACK_FOCUS_OUT, - ewl_combo_collapse_cb); + ewl_combo_collapse_cb); ewl_callback_del(combo->button, EWL_CALLBACK_MOUSE_DOWN, - ewl_combo_collapse_cb); + ewl_combo_collapse_cb); ewl_callback_append(combo->button, EWL_CALLBACK_MOUSE_DOWN, - ewl_combo_expand_cb, combo); + ewl_combo_expand_cb, combo); DLEAVE_FUNCTION(DLEVEL_STABLE); } =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_combo.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- ewl_combo.h 9 Feb 2005 20:44:12 -0000 1.2 +++ ewl_combo.h 17 Feb 2005 19:14:54 -0000 1.3 @@ -47,16 +47,11 @@ /* * Internally used callbacks, override at your own risk. */ -void ewl_combo_item_select_cb(Ewl_Widget *w, void *ev_data, - void *user_data); -void ewl_combo_configure_cb(Ewl_Widget *w, void *ev_data, - void *user_data); -void ewl_combo_value_changed_cb(Ewl_Widget *w, void *ev_data, - void *user_data); -void ewl_combo_expand_cb(Ewl_Widget * w, void *ev_data, - void *user_data); -void ewl_combo_collapse_cb(Ewl_Widget * w, void *ev_data, - void *user_data); +void ewl_combo_item_select_cb(Ewl_Widget *w, void *ev_data, void *user_data); +void ewl_combo_configure_cb(Ewl_Widget *w, void *ev_data, void *user_data); +void ewl_combo_value_changed_cb(Ewl_Widget *w, void *ev_data, void *user_data); +void ewl_combo_expand_cb(Ewl_Widget * w, void *ev_data, void *user_data); +void ewl_combo_collapse_cb(Ewl_Widget * w, void *ev_data, void *user_data); /** * @} =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_config.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- ewl_config.c 9 Feb 2005 04:31:54 -0000 1.1 +++ ewl_config.c 17 Feb 2005 19:14:54 -0000 1.2 @@ -44,6 +44,10 @@ DRETURN_INT(TRUE, DLEVEL_STABLE); } +/** + * @return Returns no value + * @brief Shutdown the configuration system. + */ void ewl_config_shutdown(void) { IF_FREE(ewl_config.evas.render_method); =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_container.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- ewl_container.h 9 Feb 2005 20:44:12 -0000 1.2 +++ ewl_container.h 17 Feb 2005 19:14:54 -0000 1.3 @@ -75,7 +75,7 @@ { Ewl_Widget widget; /**< Inherit the basics of the widget. */ - Ecore_List *children; /**< List of children that are contained. */ + Ecore_List *children; /**< List of children that are contained. */ Evas_Object *clip_box; /**< Clip box to bound widgets inside. */ =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_dialog.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- ewl_dialog.h 9 Feb 2005 20:44:12 -0000 1.2 +++ ewl_dialog.h 17 Feb 2005 19:14:54 -0000 1.3 @@ -38,14 +38,12 @@ */ struct _Ewl_Dialog { - /* public */ - Ewl_Window window; /* Inherit from a window */ + Ewl_Window window; /* Inherit from a window */ - Ewl_Widget *vbox; /* the box where messages are displayed */ - Ewl_Widget *action_area; /* The box where the buttons are added */ + Ewl_Widget *vbox; /* the box where messages are displayed */ + Ewl_Widget *action_area; /* The box where the buttons are added */ - /* private */ - Ewl_Widget *separator; /* The separator between vbox and action_area */ + Ewl_Widget *separator; /* The separator between vbox and action_area */ Ewl_Position position; /* position of the action_area */ }; @@ -54,11 +52,10 @@ int ewl_dialog_init (Ewl_Dialog *dialog, Ewl_Position pos); void ewl_dialog_widget_add(Ewl_Dialog *dialog, Ewl_Widget *w); -Ewl_Widget *ewl_dialog_button_add(Ewl_Dialog *dialog, - char *button_text, - int response_id); +Ewl_Widget *ewl_dialog_button_add(Ewl_Dialog *dialog, char *button_text, + int response_id); Ewl_Widget *ewl_dialog_button_left_add(Ewl_Dialog *dialog, char *button_text, - int response_id); + int response_id); unsigned int ewl_dialog_has_separator_get (Ewl_Dialog *dialog); void ewl_dialog_has_separator_set (Ewl_Dialog *dialog, =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_entry.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- ewl_entry.h 9 Feb 2005 20:44:12 -0000 1.2 +++ ewl_entry.h 17 Feb 2005 19:14:54 -0000 1.3 @@ -96,6 +96,9 @@ int *xx, int *yy, int *ww, int *hh); +/* + * Internal stuff, use at your own risk + */ void ewl_entry_cursor_left_move(Ewl_Entry * e); void ewl_entry_cursor_right_move(Ewl_Entry * e); void ewl_entry_cursor_down_move(Ewl_Entry * e); @@ -197,10 +200,10 @@ int position; }; -Ewl_Widget *ewl_entry_cursor_new(void); -void ewl_entry_cursor_init(Ewl_Entry_Cursor *c); -void ewl_entry_cursor_position_set(Ewl_Entry_Cursor *c, int pos); -int ewl_entry_cursor_position_get(Ewl_Entry_Cursor *c); +Ewl_Widget *ewl_entry_cursor_new(void); +void ewl_entry_cursor_init(Ewl_Entry_Cursor *c); +void ewl_entry_cursor_position_set(Ewl_Entry_Cursor *c, int pos); +int ewl_entry_cursor_position_get(Ewl_Entry_Cursor *c); /* * the selection stuff @@ -217,15 +220,15 @@ unsigned int end; }; -Ewl_Widget *ewl_entry_selection_new(void); -void ewl_entry_selection_init(Ewl_Entry_Selection *s); -void ewl_entry_selection_start_position_set(Ewl_Entry_Selection *s, - unsigned int start); -int ewl_entry_selection_start_position_get(Ewl_Entry_Selection *s); -void ewl_entry_selection_end_position_set(Ewl_Entry_Selection *s, - unsigned int end); -int ewl_entry_selection_end_position_get(Ewl_Entry_Selection *s); -void ewl_entry_selection_select_to(Ewl_Entry_Selection *s, unsigned int pos); +Ewl_Widget *ewl_entry_selection_new(void); +void ewl_entry_selection_init(Ewl_Entry_Selection *s); +void ewl_entry_selection_start_position_set(Ewl_Entry_Selection *s, + unsigned int start); +int ewl_entry_selection_start_position_get(Ewl_Entry_Selection *s); +void ewl_entry_selection_end_position_set(Ewl_Entry_Selection *s, + unsigned int end); +int ewl_entry_selection_end_position_get(Ewl_Entry_Selection *s); +void ewl_entry_selection_select_to(Ewl_Entry_Selection *s, unsigned int pos); /* * Internally used callbacks, override at your own risk. =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_enums.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -3 -r1.3 -r1.4 --- ewl_enums.h 16 Feb 2005 04:07:57 -0000 1.3 +++ ewl_enums.h 17 Feb 2005 19:14:55 -0000 1.4 @@ -288,6 +288,17 @@ typedef enum _Ewl_Response_Type Ewl_Response_Type; /** + * @enum Ewl_Pick_Mode + */ +enum Ewl_Pick_Mode { + EWL_PICK_MODE_RGB, + EWL_PICK_MODE_HSV_HUE, + EWL_PICK_MODE_HSV_SATURATION, + EWL_PICK_MODE_HSV_VALUE +}; +typedef enum Ewl_Pick_Mode Ewl_Pick_Mode; + +/** * @} */ =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_events.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- ewl_events.h 9 Feb 2005 20:44:12 -0000 1.2 +++ ewl_events.h 17 Feb 2005 19:14:55 -0000 1.3 @@ -154,9 +154,9 @@ int dir; /**< Direction mouse wheel scrolled */ }; -int ewl_ev_init(void); -unsigned int ewl_ev_get_modifiers(); -void ewl_ev_set_modifiers(unsigned int modifiers); +int ewl_ev_init(void); +unsigned int ewl_ev_get_modifiers(); +void ewl_ev_set_modifiers(unsigned int modifiers); /** * @} =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_fileselector.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -3 -r1.5 -r1.6 --- ewl_fileselector.c 11 Feb 2005 18:59:37 -0000 1.5 +++ ewl_fileselector.c 17 Feb 2005 19:14:55 -0000 1.6 @@ -10,14 +10,20 @@ /* * Internally used functions */ -static void ewl_fileselector_tooltip_add(Ewl_Widget * w, Ewl_Fileselector_Data * d); +static void ewl_fileselector_tooltip_add(Ewl_Widget * w, + Ewl_Fileselector_Data * d); static char *ewl_fileselector_str_append(char *s1, char *s2); static char *ewl_fileselector_path_up_get(char *path); static char *ewl_fileselector_path_home_get(void); static char *ewl_fileselector_size_string_get(off_t st_size); static char *ewl_fileselector_perm_string_get(mode_t st_mode); -static void ewl_fileselector_file_list_get(char *path, char *filter, Ecore_List *flist, Ecore_List *dlist); -static void ewl_fileselector_path_setup(Ewl_Fileselector *fs, char *path); +static void ewl_fileselector_file_list_get(char *path, char *filter, + Ecore_List *flist, Ecore_List *dlist); +static void ewl_fileselector_path_setup(Ewl_Fileselector *fs, char *path); +static void ewl_fileselector_dir_data_cleanup_cb(Ewl_Widget *entry, + void *ev_data, void *user_data); +static void ewl_fileselector_file_data_cleanup_cb(Ewl_Widget *entry, + void *ev_data, void *user_data); /** * @return Returns NULL on failure, or the new fileselector on success. =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_fileselector.h,v retrieving revision 1.4 retrieving revision 1.5 diff -u -3 -r1.4 -r1.5 --- ewl_fileselector.h 11 Feb 2005 18:59:50 -0000 1.4 +++ ewl_fileselector.h 17 Feb 2005 19:14:55 -0000 1.5 @@ -50,13 +50,13 @@ }; -Ewl_Widget *ewl_fileselector_new(); -void ewl_fileselector_init(Ewl_Fileselector *fs); +Ewl_Widget *ewl_fileselector_new(); +void ewl_fileselector_init(Ewl_Fileselector *fs); -char *ewl_fileselector_path_get(Ewl_Fileselector *fs); -char *ewl_fileselector_file_get(Ewl_Fileselector *fs); +char *ewl_fileselector_path_get(Ewl_Fileselector *fs); +char *ewl_fileselector_file_get(Ewl_Fileselector *fs); -void ewl_fileselector_path_set(Ewl_Fileselector *fs, char *path); +void ewl_fileselector_path_set(Ewl_Fileselector *fs, char *path); /* * Internally used callbacks, override at your own risk. @@ -67,8 +67,6 @@ void ewl_fileselector_go_up_cb(Ewl_Widget *w, void *ev_data, void *data); void ewl_fileselector_go_home_cb(Ewl_Widget *w, void *ev_data, void *data); void ewl_fileselector_filter_cb(Ewl_Widget *entry, void *ev_data, void *user_data); -void ewl_fileselector_dir_data_cleanup_cb(Ewl_Widget *entry, void *ev_data, void *user_data); -void ewl_fileselector_file_data_cleanup_cb(Ewl_Widget *entry, void *ev_data, void *user_data); /* Private: data for a file */ =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_grid.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- ewl_grid.h 9 Feb 2005 20:44:12 -0000 1.2 +++ ewl_grid.h 17 Feb 2005 19:14:55 -0000 1.3 @@ -1,8 +1,15 @@ #ifndef __EWL_GRID_H__ #define __EWL_GRID_H__ -/* +/** * @file ewl_grid.h + * + * @defgroup Ewl_Grid Grid The ewl grid widget + * @brief The Ewl Grid widget + * @{ + */ + +/** * @themekey /grid/file * @themekey /grid/group */ @@ -81,4 +88,8 @@ void ewl_grid_child_resize_cb(Ewl_Container * p, Ewl_Widget * child, int size, Ewl_Orientation o); +/** + * @} + */ + #endif /* __EWL_GRID_H__ */ =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_menu.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- ewl_menu.c 9 Feb 2005 04:31:55 -0000 1.1 +++ ewl_menu.c 17 Feb 2005 19:14:55 -0000 1.2 @@ -92,7 +92,6 @@ void ewl_menu_expand_cb(Ewl_Widget * w, void *ev_data, void *user_data) { Ewl_Menu *menu; - Ewl_Embed *emb; DENTER_FUNCTION(DLEVEL_STABLE); =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_menubar.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- ewl_menubar.h 9 Feb 2005 20:44:12 -0000 1.2 +++ ewl_menubar.h 17 Feb 2005 19:14:55 -0000 1.3 @@ -26,8 +26,8 @@ */ struct Ewl_Menubar { - Ewl_Box outer_box; /**< Inherit from Ewl_Box */ - Ewl_Box *inner_box; /**< The box to pack the widgets into */ + Ewl_Box outer_box; /**< Inherit from Ewl_Box */ + Ewl_Box *inner_box; /**< The box to pack the widgets into */ }; /** @@ -42,12 +42,16 @@ */ #define ewl_vmenubar_new() ewl_menubar_new(EWL_ORIENTATION_VERTICAL) -Ewl_Widget *ewl_menubar_new(Ewl_Orientation orientation); -int ewl_menubar_init(Ewl_Menubar *mb, Ewl_Orientation orientation); +Ewl_Widget *ewl_menubar_new(Ewl_Orientation orientation); +int ewl_menubar_init(Ewl_Menubar *mb, Ewl_Orientation orientation); Ewl_Widget *ewl_menubar_menu_add(Ewl_Menubar *mb, char *img, char *title); Ewl_Widget *ewl_menubar_seperator_add(Ewl_Menubar *mb); +/** + * @} + */ + #endif =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_misc.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- ewl_misc.h 9 Feb 2005 20:44:12 -0000 1.2 +++ ewl_misc.h 17 Feb 2005 19:14:55 -0000 1.3 @@ -3,9 +3,12 @@ /** * @file ewl_misc.h + * * @defgroup Ewl_Misc Misc: Miscellaneous Utility Functions * Provides important miscellaneous functionality such as manipulation of the * main loop. + * + * @{ */ typedef struct Ewl_Options Ewl_Options; @@ -40,4 +43,8 @@ char *strdup(const char *str); #endif +/** + * @} + */ + #endif /* __EWL_MISC_H__ */ =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_notebook.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- ewl_notebook.h 9 Feb 2005 20:44:12 -0000 1.2 +++ ewl_notebook.h 17 Feb 2005 19:14:55 -0000 1.3 @@ -1,8 +1,14 @@ #ifndef __EWL_NOTEBOOK_H__ #define __EWL_NOTEBOOK_H__ -/* +/** * @file ewl_notebook.h + * + * @defgroup Ewl_Notebook Notebook The notebook widget + * @{ + */ + +/** * @themekey /notebook/file * @themekey /notebook/group */ =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_paned.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- ewl_paned.h 9 Feb 2005 20:44:12 -0000 1.2 +++ ewl_paned.h 17 Feb 2005 19:14:55 -0000 1.3 @@ -57,6 +57,10 @@ void ewl_paned_second_pane_append(Ewl_Paned *p, Ewl_Widget *w); void ewl_paned_second_pane_prepend(Ewl_Paned *p, Ewl_Widget *w); +/** + * @} + */ + #endif =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_progressbar.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- ewl_progressbar.h 9 Feb 2005 20:44:12 -0000 1.2 +++ ewl_progressbar.h 17 Feb 2005 19:14:55 -0000 1.3 @@ -43,20 +43,21 @@ }; -Ewl_Widget *ewl_progressbar_new(void); -void ewl_progressbar_init (Ewl_Progressbar * p); +Ewl_Widget *ewl_progressbar_new(void); +void ewl_progressbar_init (Ewl_Progressbar * p); -void ewl_progressbar_value_set (Ewl_Progressbar * p, double v); -double ewl_progressbar_value_get (Ewl_Progressbar * p); +void ewl_progressbar_value_set (Ewl_Progressbar * p, double v); +double ewl_progressbar_value_get (Ewl_Progressbar * p); -void ewl_progressbar_range_set (Ewl_Progressbar * p, double r); -double ewl_progressbar_range_get (Ewl_Progressbar * p); +void ewl_progressbar_range_set (Ewl_Progressbar * p, double r); +double ewl_progressbar_range_get (Ewl_Progressbar * p); -void ewl_progressbar_label_set (Ewl_Progressbar * p, char *label); -void ewl_progressbar_custom_label_set (Ewl_Progressbar * p, char *format_string); +void ewl_progressbar_label_set (Ewl_Progressbar * p, char *label); +void ewl_progressbar_custom_label_set (Ewl_Progressbar * p, + char *format_string); -void ewl_progressbar_label_show (Ewl_Progressbar * p); -void ewl_progressbar_label_hide (Ewl_Progressbar * p); +void ewl_progressbar_label_show (Ewl_Progressbar * p); +void ewl_progressbar_label_hide (Ewl_Progressbar * p); /* * Internally used callbacks, override at your own risk. =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_row.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- ewl_row.h 9 Feb 2005 20:44:12 -0000 1.2 +++ ewl_row.h 17 Feb 2005 19:14:55 -0000 1.3 @@ -1,8 +1,14 @@ #ifndef _EWL_ROW_H #define _EWL_ROW_H -/* +/** * @file ewl_row.h + * + * @defgroup Ewl_Row Row The Row widget + * @{ + */ + +/** * @themekey /row/file * @themekey /row/group */ @@ -19,11 +25,11 @@ Ewl_Row *header; }; -Ewl_Widget *ewl_row_new(void); -int ewl_row_init(Ewl_Row *row); +Ewl_Widget *ewl_row_new(void); +int ewl_row_init(Ewl_Row *row); -void ewl_row_header_set(Ewl_Row *row, Ewl_Row *header); -Ewl_Widget *ewl_row_column_get(Ewl_Row *row, short n); +void ewl_row_header_set(Ewl_Row *row, Ewl_Row *header); +Ewl_Widget *ewl_row_column_get(Ewl_Row *row, short n); /* * Internally used callbacks, override at your own risk. @@ -39,4 +45,8 @@ void ewl_row_resize_cb(Ewl_Container *c, Ewl_Widget *w, int size, Ewl_Orientation o); +/** + * @} + */ + #endif =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_seeker.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- ewl_seeker.h 9 Feb 2005 20:44:12 -0000 1.2 +++ ewl_seeker.h 17 Feb 2005 19:14:55 -0000 1.3 @@ -8,6 +8,7 @@ * Defines an Ewl_Widget with a draggable button enclosed, used to select a * value from a range. * + * @{ * @todo Add value labels and hash marks. */ @@ -96,4 +97,8 @@ void *user_data); void ewl_seeker_child_show_cb(Ewl_Container *p, Ewl_Widget * w); +/** + * @} + */ + #endif /* __EWL_SEEKER_H__ */ =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_selectionbar.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- ewl_selectionbar.h 9 Feb 2005 20:44:12 -0000 1.2 +++ ewl_selectionbar.h 17 Feb 2005 19:14:56 -0000 1.3 @@ -2,8 +2,13 @@ #ifndef __EWL_SELECTIONBAR_H__ #define __EWL_SELECTIONBAR_H__ -/* +/** * @file ewl_selectionbar.h + * @defgroup Ewl_Selectionbar The selectionbar widget + * @{ + */ + +/** * @themekey /selectionbar/file * @themekey /selectionbar/group */ @@ -30,8 +35,8 @@ }; Ewl_Widget *ewl_selectionbar_new(Ewl_Widget * parent); -int ewl_selectionbar_init(Ewl_Selectionbar * s, Ewl_Widget * parent); -void ewl_selectionbar_size_set(Ewl_Selectionbar * s, int w, int h1, +int ewl_selectionbar_init(Ewl_Selectionbar * s, Ewl_Widget * parent); +void ewl_selectionbar_size_set(Ewl_Selectionbar * s, int w, int h1, int h2); /* @@ -56,5 +61,8 @@ void ewl_selectionbar_child_add_cb(Ewl_Container * parent, Ewl_Widget * child); +/** + * @} + */ #endif /* __EWL_SELECTIONBAR_H__ */ =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_selectionbook.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- ewl_selectionbook.c 16 Feb 2005 04:23:41 -0000 1.2 +++ ewl_selectionbook.c 17 Feb 2005 19:14:56 -0000 1.3 @@ -67,7 +67,12 @@ } - +/** + * @param s: The selection book to add the page too + * @param tab: the tab name to give the page + * @param page: The page to add + * @return Returns no value. + */ void ewl_selectionbook_page_add(Ewl_Selectionbook * s, Ewl_Widget * tab, Ewl_Widget * page) @@ -112,7 +117,12 @@ } - +/** + * @param s: The selection book to remove the page from + * @param num: The page number to remove + * @param destroy: Should the page be destroyed + * @return Returns no value + */ void ewl_selectionbook_page_rem(Ewl_Selectionbook * s, int num, int destroy) { DENTER_FUNCTION(DLEVEL_STABLE); @@ -163,7 +173,13 @@ DLEAVE_FUNCTION(DLEVEL_STABLE); } - +/** + * @param s: The selection book to remove the page from + * @param destroy: Destroy the page after removal + * @return Returns no value. + * @brief Removes the current page from the selection book, destroying it if + * desired + */ void ewl_selectionbook_current_page_rem(Ewl_Selectionbook * s, int destroy) { DENTER_FUNCTION(DLEVEL_STABLE); =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_selectionbook.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- ewl_selectionbook.h 9 Feb 2005 20:44:12 -0000 1.2 +++ ewl_selectionbook.h 17 Feb 2005 19:14:56 -0000 1.3 @@ -2,8 +2,13 @@ #ifndef __EWL_SELECTIONBOOK_H__ #define __EWL_SELECTIONBOOK_H__ -/* +/** * @file ewl_selectionbook.h + * @defgroup Ewl_Selectionbook The selection book group + * @{ + */ + +/** * @themekey /selectionbook/file * @themekey /selectionbook/group */ @@ -27,7 +32,7 @@ Ewl_Widget *tab_bar; /* selectionbar */ Ewl_Widget *panel; /* vbox */ - Ecore_List *pages; + Ecore_List *pages; Ewl_SbookPage *current_page; int num_pages; /* number of pages */ @@ -55,5 +60,8 @@ void ewl_selectionbook_page_switch_cb(Ewl_Widget * w, void *ev_data, void *user_data); +/** + * @} + */ #endif /* EWL_SELECTIONBOOK_H__ */ =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_separator.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- ewl_separator.h 9 Feb 2005 20:44:12 -0000 1.2 +++ ewl_separator.h 17 Feb 2005 19:14:56 -0000 1.3 @@ -7,6 +7,7 @@ * @defgroup Ewl_Separator Separator: A Visual Separator Between Widgets * Defines the Ewl_Separator class used for drawing lines between widgets when * visual separation is needed. + * @{ */ /** @@ -54,5 +55,7 @@ Ewl_Widget *ewl_separator_new(Ewl_Orientation o); void ewl_separator_init(Ewl_Separator * s, Ewl_Orientation o); - +/** + * @} + */ #endif /* __EWL_SEPARATOR_H__ */ =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_spectrum.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- ewl_spectrum.c 9 Feb 2005 04:31:55 -0000 1.1 +++ ewl_spectrum.c 17 Feb 2005 19:14:56 -0000 1.2 @@ -8,7 +8,6 @@ int *r, int *g, int *b, int *a); /** - * * ewl_spectrum_new - create a new color picker widget * * Returns a newly allocated color picker widget on success, NULL on failure. @@ -27,7 +26,11 @@ DRETURN_PTR(EWL_WIDGET(sp), DLEVEL_STABLE); } - +/** + * @param sp: The spectrum to init + * @return Returns no value. + * @brief Initializes the given spectrum widget + */ void ewl_spectrum_init(Ewl_Spectrum * sp) { Ewl_Widget *w; @@ -58,6 +61,13 @@ DRETURN(DLEVEL_STABLE); } +/** + * @param sp: The spectrum to set the orientation on + * @param o: The orientation to set + * @return Returns no value. + * @brief Sets the orientation on the spectrum to the given value either + * EWL_ORIENTATION_HORIZONTAL or EWL_ORIENTATION_VERTICAL. + */ void ewl_spectrum_orientation_set(Ewl_Spectrum *sp, int o) { DENTER_FUNCTION(DLEVEL_STABLE); @@ -74,7 +84,13 @@ DLEAVE_FUNCTION(DLEVEL_STABLE); } -void ewl_spectrum_mode_set(Ewl_Spectrum * sp, int mode) +/** + * @param sp: The spectrum to set the mode on + * @param mode: The mode to set + * @return Returns no value. + * @brief Sets to the mode of the spectrum to the given value. + */ +void ewl_spectrum_mode_set(Ewl_Spectrum * sp, Ewl_Pick_Mode mode) { DENTER_FUNCTION(DLEVEL_STABLE); DCHECK_PARAM_PTR("sp", sp); @@ -88,6 +104,12 @@ DRETURN(DLEVEL_STABLE); } +/** + * @param sp: The spectrum to set the dimension on + * @param dimensions: The number of dimensions, 1 or 2 + * @return Returns no value. + * @brief Sets the number of dimensions the spectrum has. + */ void ewl_spectrum_dimensions_set(Ewl_Spectrum * sp, int dimensions) @@ -104,6 +126,13 @@ DRETURN(DLEVEL_STABLE); } +/** + * @param sp: The spectrum to set the r, g, b values of + * @param r: The red value to set + * @param g: The green value to set + * @param b: The blue value to set + * @return Returns no value. + */ void ewl_spectrum_rgb_set(Ewl_Spectrum * sp, int r, int g, int b) @@ -124,6 +153,13 @@ DRETURN(DLEVEL_STABLE); } +/** + * @param sp: The spectrum to work on + * @param h: The hue value to set + * @param s: The saturation value to set + * @param v: The ??? value to set + * @return Returns no value + */ void ewl_spectrum_hsv_set(Ewl_Spectrum * sp, float h, float s, float v) @@ -145,6 +181,17 @@ DRETURN(DLEVEL_STABLE); } +/** + * @param sp: The spectrum to get the colour from + * @param x: The x coord to get the color from + * @param y: The y coord to get the color from + * @param r: Where to store the red value + * @param g: Where to store the green value + * @param b: Where to store the blue value + * @param a: Where to store the alpha value + * @return The returned parametesr are done through the r, g, b, a + * parameters + */ void ewl_spectrum_color_coord_map(Ewl_Spectrum *sp, int x, int y, int *r, int *g, int *b, int *a) { =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_spectrum.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- ewl_spectrum.h 9 Feb 2005 20:44:12 -0000 1.2 +++ ewl_spectrum.h 17 Feb 2005 19:14:56 -0000 1.3 @@ -1,19 +1,18 @@ #ifndef _EWL_SPECTRUM_H #define _EWL_SPECTRUM_H -/* +/** * @file ewl_spectrum.h + * @defgroup Ewl_Spectrum Spectrum The spectrum widget + * + * @{ + */ + +/** * @themekey /spectrum/file * @themekey /spectrum/group */ -enum { - EWL_PICK_MODE_RGB, - EWL_PICK_MODE_HSV_HUE, - EWL_PICK_MODE_HSV_SATURATION, - EWL_PICK_MODE_HSV_VALUE -}; - typedef struct _ewl_spectrum Ewl_Spectrum; #define EWL_SPECTRUM(cp) ((Ewl_Spectrum *)cp) @@ -34,14 +33,10 @@ Ewl_Widget *ewl_spectrum_new(void); void ewl_spectrum_init(Ewl_Spectrum * cp); -void ewl_spectrum_mode_set(Ewl_Spectrum * sp, - int mode); - /* 1 or 2 */ -void ewl_spectrum_dimensions_set(Ewl_Spectrum * sp, - int dimensions); +void ewl_spectrum_mode_set(Ewl_Spectrum * sp, Ewl_Pick_Mode mode); +void ewl_spectrum_dimensions_set(Ewl_Spectrum * sp, int dimensions); -void ewl_spectrum_rgb_set(Ewl_Spectrum * sp, - int r, int g, int b); +void ewl_spectrum_rgb_set(Ewl_Spectrum * sp, int r, int g, int b); void ewl_spectrum_hsv_set(Ewl_Spectrum * sp, float h, float s, float v); void ewl_spectrum_color_coord_map(Ewl_Spectrum *sp, int x, int y, @@ -53,4 +48,7 @@ void ewl_spectrum_configure_cb(Ewl_Widget * w, void *ev_data, void *user_data); +/** + * @} + */ #endif =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_statusbar.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- ewl_statusbar.h 9 Feb 2005 20:44:12 -0000 1.2 +++ ewl_statusbar.h 17 Feb 2005 19:14:56 -0000 1.3 @@ -35,7 +35,7 @@ }; Ewl_Widget *ewl_statusbar_new(void); -int ewl_statusbar_init(Ewl_Statusbar *sb); +int ewl_statusbar_init(Ewl_Statusbar *sb); void ewl_statusbar_left_hide(Ewl_Statusbar *sb); void ewl_statsbar_left_show(Ewl_Statusbar *sb); @@ -51,5 +51,9 @@ void ewl_statusbar_push(Ewl_Statusbar *sb, char *txt); void ewl_statusbar_pop(Ewl_Statusbar *sb); +/** + * @} + */ + #endif =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_table.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- ewl_table.h 9 Feb 2005 20:44:12 -0000 1.2 +++ ewl_table.h 17 Feb 2005 19:14:56 -0000 1.3 @@ -88,4 +88,8 @@ void ewl_table_child_select_cb(Ewl_Widget * w, void *ev_data, void *user_data); +/** + * @} + */ + #endif /* __EWL_TABLE_H__ */ =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_theme.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- ewl_theme.c 9 Feb 2005 04:31:55 -0000 1.1 +++ ewl_theme.c 17 Feb 2005 19:14:56 -0000 1.2 @@ -120,6 +120,10 @@ DRETURN_INT(TRUE, DLEVEL_STABLE); } +/** + * @return Returns no value. + * @brief Shutdown the EWL themeing subsystem + */ void ewl_theme_shutdown() { char *data; =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_theme.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -3 -r1.3 -r1.4 --- ewl_theme.h 9 Feb 2005 22:15:09 -0000 1.3 +++ ewl_theme.h 17 Feb 2005 19:14:56 -0000 1.4 @@ -35,7 +35,7 @@ void ewl_theme_name_set(char *name); char *ewl_theme_name_get(void); char *ewl_theme_path_get(void); -Ecore_List *ewl_theme_font_path_get(void); +Ecore_List *ewl_theme_font_path_get(void); void ewl_theme_font_path_add(char *path); char *ewl_theme_image_get(Ewl_Widget * w, char *k); char *ewl_theme_data_str_get(Ewl_Widget * w, char *k); =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_tooltip.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- ewl_tooltip.h 9 Feb 2005 20:44:12 -0000 1.2 +++ ewl_tooltip.h 17 Feb 2005 19:14:56 -0000 1.3 @@ -1,8 +1,13 @@ #ifndef __EWL_TOOLTIP_H__ #define __EWL_TOOLTIP_H__ -/* +/** * @file ewl_tooltip.h + * @defgroup Ewl_Tooltip Tooltip Add a tooltip to a widget + * @{ + */ + +/** * @themekey /tooltip/file * @themekey /tooltip/group */ @@ -26,10 +31,10 @@ Ecore_Timer *timer; /**< pointer to the focus timer */ }; -Ewl_Widget *ewl_tooltip_new (Ewl_Widget *parent); -int ewl_tooltip_init (Ewl_Tooltip *t, Ewl_Widget *parent); -void ewl_tooltip_text_set (Ewl_Tooltip *t, char *text); -void ewl_tooltip_delay_set (Ewl_Tooltip *t, double delay); +Ewl_Widget *ewl_tooltip_new (Ewl_Widget *parent); +int ewl_tooltip_init (Ewl_Tooltip *t, Ewl_Widget *parent); +void ewl_tooltip_text_set (Ewl_Tooltip *t, char *text); +void ewl_tooltip_delay_set (Ewl_Tooltip *t, double delay); /* * Internally used callbacks, override at your own risk. @@ -43,4 +48,8 @@ void *user_data); void ewl_tooltip_destroy_cb(Ewl_Widget * w, void *ev_data, void *user_data); +/** + * @} + */ + #endif /* __EWL_TOOLTIP_H__ */ =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_tree.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- ewl_tree.h 9 Feb 2005 20:44:12 -0000 1.2 +++ ewl_tree.h 17 Feb 2005 19:14:56 -0000 1.3 @@ -72,52 +72,49 @@ /* * Node creation/initialization functions. */ -Ewl_Widget *ewl_tree_node_new(void); -int ewl_tree_node_init(Ewl_Tree_Node *tree_node); +Ewl_Widget *ewl_tree_node_new(void); +int ewl_tree_node_init(Ewl_Tree_Node *tree_node); /* * Node state modifying functions */ -void ewl_tree_node_collapse(Ewl_Tree_Node *tree); -void ewl_tree_node_expand(Ewl_Tree_Node *tree); +void ewl_tree_node_collapse(Ewl_Tree_Node *tree); +void ewl_tree_node_expand(Ewl_Tree_Node *tree); /* * Tree creation/initialization functions. */ -Ewl_Widget *ewl_tree_new(unsigned short columns); -int ewl_tree_init(Ewl_Tree *tree, unsigned short columns); +Ewl_Widget *ewl_tree_new(unsigned short columns); +int ewl_tree_init(Ewl_Tree *tree, unsigned short columns); -void ewl_tree_headers_set(Ewl_Tree *tree, char **headers); -void ewl_tree_columns_set(Ewl_Tree *tree, unsigned short columns); +void ewl_tree_headers_set(Ewl_Tree *tree, char **headers); +void ewl_tree_columns_set(Ewl_Tree *tree, unsigned short columns); -Ecore_List *ewl_tree_selected_get(Ewl_Tree *tree); -void ewl_tree_selected_clear(Ewl_Tree *tree); +Ecore_List *ewl_tree_selected_get(Ewl_Tree *tree); +void ewl_tree_selected_clear(Ewl_Tree *tree); -Ewl_Tree_Mode ewl_tree_mode_get(Ewl_Tree *tree); -void ewl_tree_mode_set(Ewl_Tree *tree, Ewl_Tree_Mode mode); - -Ewl_Widget *ewl_tree_row_add(Ewl_Tree *tree, Ewl_Row *prow, - Ewl_Widget **children); -Ewl_Widget *ewl_tree_text_row_add(Ewl_Tree *tree, Ewl_Row *prow, char **text); -Ewl_Widget *ewl_tree_entry_row_add(Ewl_Tree *tree, Ewl_Row *prow, char **text); - -void ewl_tree_row_destroy(Ewl_Tree *tree, Ewl_Row *row); -void ewl_tree_row_expand_set(Ewl_Row *row, Ewl_Tree_Node_Flags expanded); -Ewl_Row *ewl_tree_row_find(Ewl_Tree *tree, int row); +Ewl_Tree_Mode ewl_tree_mode_get(Ewl_Tree *tree); +void ewl_tree_mode_set(Ewl_Tree *tree, Ewl_Tree_Mode mode); + +Ewl_Widget *ewl_tree_row_add(Ewl_Tree *tree, Ewl_Row *prow, + Ewl_Widget **children); +Ewl_Widget *ewl_tree_text_row_add(Ewl_Tree *tree, Ewl_Row *prow, char **text); +Ewl_Widget *ewl_tree_entry_row_add(Ewl_Tree *tree, Ewl_Row *prow, char **text); + +void ewl_tree_row_destroy(Ewl_Tree *tree, Ewl_Row *row); +void ewl_tree_row_expand_set(Ewl_Row *row, Ewl_Tree_Node_Flags expanded); +Ewl_Row *ewl_tree_row_find(Ewl_Tree *tree, int row); /* * Internally used callbacks, override at your own risk. */ -void ewl_tree_node_configure_cb(Ewl_Widget * w, void *ev_data, - void *user_data); -void ewl_tree_node_toggle_cb(Ewl_Widget * w, void *ev_data, - void *user_data); +void ewl_tree_node_configure_cb(Ewl_Widget *w, void *ev_data, void *user_data); +void ewl_tree_node_toggle_cb(Ewl_Widget *w, void *ev_data, void *user_data); void ewl_tree_node_child_show_cb(Ewl_Container *c, Ewl_Widget *w); void ewl_tree_node_child_hide_cb(Ewl_Container *c, Ewl_Widget *w); void ewl_tree_node_resize_cb(Ewl_Container *c, Ewl_Widget *w, int size, - Ewl_Orientation o); - + Ewl_Orientation o); void ewl_tree_row_select_cb(Ewl_Widget *w, void *ev_data, void *user_data); void ewl_tree_row_hide_cb(Ewl_Widget *w, void *ev_data, void *user_data); ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs