Enlightenment CVS committal Author : pfritz Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/lib Modified Files: ewl_attach.h ewl_border.h ewl_box.h ewl_button.h ewl_calendar.h ewl_callback.h ewl_cell.h ewl_check.h ewl_checkbutton.h ewl_colordialog.h ewl_combo.h Log Message: formating =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_attach.h,v retrieving revision 1.23 retrieving revision 1.24 diff -u -3 -r1.23 -r1.24 --- ewl_attach.h 7 May 2008 13:38:23 -0000 1.23 +++ ewl_attach.h 17 Jun 2008 22:02:49 -0000 1.24 @@ -133,12 +133,12 @@ #define ewl_attach_widget_association_get(w) \ ewl_attach_get(EWL_WIDGET(w), EWL_ATTACH_TYPE_WIDGET_ASSOCIATION) -void ewl_attach_text_set(Ewl_Widget *w, Ewl_Attach_Type t, const char *data); -void ewl_attach_widget_set(Ewl_Widget *w, Ewl_Attach_Type t, Ewl_Widget *data); -void ewl_attach_other_set(Ewl_Widget *w, Ewl_Attach_Type t, void *data); +void ewl_attach_text_set(Ewl_Widget *w, Ewl_Attach_Type t, const char *data); +void ewl_attach_widget_set(Ewl_Widget *w, Ewl_Attach_Type t, Ewl_Widget *data); +void ewl_attach_other_set(Ewl_Widget *w, Ewl_Attach_Type t, void *data); void *ewl_attach_get(Ewl_Widget *w, Ewl_Attach_Type t); -void ewl_attach_list_del(Ewl_Attach_List *list, Ewl_Attach_Type type); +void ewl_attach_list_del(Ewl_Attach_List *list, Ewl_Attach_Type type); /** * @} =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_border.h,v retrieving revision 1.19 retrieving revision 1.20 diff -u -3 -r1.19 -r1.20 --- ewl_border.h 7 May 2008 13:38:23 -0000 1.19 +++ ewl_border.h 17 Jun 2008 22:02:49 -0000 1.20 @@ -57,18 +57,18 @@ Ewl_Position label_position; /**< Flags for placing the label */ }; -Ewl_Widget *ewl_border_new(void); -int ewl_border_init(Ewl_Border * b); +Ewl_Widget *ewl_border_new(void); +int ewl_border_init(Ewl_Border * b); -void ewl_border_label_set(Ewl_Border *b, const char *t); -const char *ewl_border_label_get(Ewl_Border *b); +void ewl_border_label_set(Ewl_Border *b, const char *t); +const char *ewl_border_label_get(Ewl_Border *b); -void ewl_border_label_position_set(Ewl_Border *b, Ewl_Position pos); -Ewl_Position ewl_border_label_position_get(Ewl_Border *b); +void ewl_border_label_position_set(Ewl_Border *b, Ewl_Position pos); +Ewl_Position ewl_border_label_position_get(Ewl_Border *b); -void ewl_border_label_alignment_set(Ewl_Border *b, +void ewl_border_label_alignment_set(Ewl_Border *b, unsigned int align); -unsigned int ewl_border_label_alignment_get(Ewl_Border *b); +unsigned int ewl_border_label_alignment_get(Ewl_Border *b); /** * @} =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_box.h,v retrieving revision 1.24 retrieving revision 1.25 diff -u -3 -r1.24 -r1.25 --- ewl_box.h 7 May 2008 13:38:23 -0000 1.24 +++ ewl_box.h 17 Jun 2008 22:02:49 -0000 1.25 @@ -54,23 +54,23 @@ */ struct Ewl_Box { - Ewl_Container container; /**< Inherit from Ewl_Container */ + Ewl_Container container; /**< Inherit from Ewl_Container */ - Ewl_Orientation orientation; /**< Indicate the orientation of layout */ - int spacing; /**< Space between each widget in the box */ + Ewl_Orientation orientation;/**< Indicate the orientation of layout */ + int spacing; /**< Space between each widget in the box */ - unsigned int homogeneous; /**< Flag indicating space assignemnt */ + unsigned int homogeneous; /**< Flag indicating space assignemnt */ }; -Ewl_Widget *ewl_box_new(void); -Ewl_Widget *ewl_hbox_new(void); -Ewl_Widget *ewl_vbox_new(void); -int ewl_box_init(Ewl_Box *box); -void ewl_box_orientation_set(Ewl_Box *b, Ewl_Orientation o); +Ewl_Widget *ewl_box_new(void); +Ewl_Widget *ewl_hbox_new(void); +Ewl_Widget *ewl_vbox_new(void); +int ewl_box_init(Ewl_Box *box); +void ewl_box_orientation_set(Ewl_Box *b, Ewl_Orientation o); Ewl_Orientation ewl_box_orientation_get(Ewl_Box *b); -void ewl_box_spacing_set(Ewl_Box *b, int spacing); -void ewl_box_homogeneous_set(Ewl_Box *b, unsigned int h); -unsigned int ewl_box_homogeneous_get(Ewl_Box *b); +void ewl_box_spacing_set(Ewl_Box *b, int spacing); +void ewl_box_homogeneous_set(Ewl_Box *b, unsigned int h); +unsigned int ewl_box_homogeneous_get(Ewl_Box *b); /* * Internally used callbacks, override at your own risk. =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_button.h,v retrieving revision 1.31 retrieving revision 1.32 diff -u -3 -r1.31 -r1.32 --- ewl_button.h 7 May 2008 13:38:23 -0000 1.31 +++ ewl_button.h 17 Jun 2008 22:02:49 -0000 1.32 @@ -61,24 +61,24 @@ Ewl_Widget *image_object; /**< Add an image to the button if needed */ }; -Ewl_Widget *ewl_button_new(void); -int ewl_button_init(Ewl_Button *b); -Ewl_View *ewl_button_view_get(void); +Ewl_Widget *ewl_button_new(void); +int ewl_button_init(Ewl_Button *b); +Ewl_View *ewl_button_view_get(void); -void ewl_button_label_set(Ewl_Button *b, const char *l); -const char *ewl_button_label_get(Ewl_Button *b); +void ewl_button_label_set(Ewl_Button *b, const char *l); +const char *ewl_button_label_get(Ewl_Button *b); -void ewl_button_image_set(Ewl_Button *b, const char *file, const char *key); -const char *ewl_button_image_get(Ewl_Button *b); +void ewl_button_image_set(Ewl_Button *b, const char *file, const char *key); +const char *ewl_button_image_get(Ewl_Button *b); -void ewl_button_image_size_set(Ewl_Button *b, int width, int height); -void ewl_button_image_size_get(Ewl_Button *b, int *width, int *height); +void ewl_button_image_size_set(Ewl_Button *b, int width, int height); +void ewl_button_image_size_get(Ewl_Button *b, int *width, int *height); -unsigned int ewl_button_alignment_get(Ewl_Button *b); -void ewl_button_alignment_set(Ewl_Button *b, unsigned int align); +unsigned int ewl_button_alignment_get(Ewl_Button *b); +void ewl_button_alignment_set(Ewl_Button *b, unsigned int align); -unsigned int ewl_button_fill_policy_get(Ewl_Button *b); -void ewl_button_fill_policy_set(Ewl_Button *b, unsigned int fill); +unsigned int ewl_button_fill_policy_get(Ewl_Button *b); +void ewl_button_fill_policy_set(Ewl_Button *b, unsigned int fill); /* * Internal =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_calendar.h,v retrieving revision 1.20 retrieving revision 1.21 diff -u -3 -r1.20 -r1.21 --- ewl_calendar.h 7 May 2008 13:38:23 -0000 1.20 +++ ewl_calendar.h 17 Jun 2008 22:02:49 -0000 1.21 @@ -51,21 +51,21 @@ */ struct Ewl_Calendar { - Ewl_Box box; /**< Inherit from Ewl_Box */ + Ewl_Box box; /**< Inherit from Ewl_Box */ - int cur_day; /**< The current day selected */ - int cur_month; /**< The current month selected */ - int cur_year; /**< The current year selected */ + int cur_day; /**< The current day selected */ + int cur_month; /**< The current month selected */ + int cur_year; /**< The current year selected */ Ewl_Widget *grid; /**< The layout grid */ - Ewl_Widget *month_label; /**< The month label */ + Ewl_Widget *month_label; /**< The month label */ }; -Ewl_Widget *ewl_calendar_new(void); -int ewl_calendar_init(Ewl_Calendar *calendar); -char *ewl_calendar_ascii_time_get(Ewl_Calendar *cal); -int ewl_calendar_day_get(Ewl_Calendar *c); -int ewl_calendar_month_get(Ewl_Calendar *c); -int ewl_calendar_year_get(Ewl_Calendar *c); +Ewl_Widget *ewl_calendar_new(void); +int ewl_calendar_init(Ewl_Calendar *calendar); +char *ewl_calendar_ascii_time_get(Ewl_Calendar *cal); +int ewl_calendar_day_get(Ewl_Calendar *c); +int ewl_calendar_month_get(Ewl_Calendar *c); +int ewl_calendar_year_get(Ewl_Calendar *c); /** * @} =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_callback.h,v retrieving revision 1.20 retrieving revision 1.21 diff -u -3 -r1.20 -r1.21 --- ewl_callback.h 7 May 2008 13:38:23 -0000 1.20 +++ ewl_callback.h 17 Jun 2008 22:02:49 -0000 1.21 @@ -37,10 +37,10 @@ */ struct Ewl_Callback { - Ewl_Callback_Function func; /**< Function executed */ + Ewl_Callback_Function func; /**< Function executed */ void *user_data; /**< user specified data to pass to func */ - int references; /**< Reference counting */ - int id; /**< id number of this callback */ + int references; /**< Reference counting */ + int id; /**< id number of this callback */ }; @@ -60,8 +60,8 @@ */ struct Ewl_Callback_Custom { - Ewl_Callback cb; /**< Inherit from Ewl_Callback */ - unsigned int event_id; /**< Add an event id */ + Ewl_Callback cb; /**< Inherit from Ewl_Callback */ + unsigned int event_id; /**< Add an event id */ }; /** @@ -143,34 +143,34 @@ #define EWL_CALLBACK_SET_NODIRECT(w, t) \ w->callbacks[EWL_CALLBACK_INDEX(t)].mask &= ~EWL_CALLBACK_TYPE_DIRECT -int ewl_callbacks_init(void); -void ewl_callbacks_shutdown(void); -unsigned int ewl_callback_type_add(void); +int ewl_callbacks_init(void); +void ewl_callbacks_shutdown(void); +unsigned int ewl_callback_type_add(void); -int ewl_callback_append(Ewl_Widget * widget, unsigned int type, +int ewl_callback_append(Ewl_Widget * widget, unsigned int type, Ewl_Callback_Function func, void *user_data); -int ewl_callback_prepend(Ewl_Widget * widget, +int ewl_callback_prepend(Ewl_Widget * widget, unsigned int type, Ewl_Callback_Function func, void *user_data); -int ewl_callback_insert_after(Ewl_Widget * w, unsigned int t, - Ewl_Callback_Function f, - void *user_data, - Ewl_Callback_Function after, - void *after_data); -void ewl_callback_clear(Ewl_Widget * widget); -void ewl_callback_call(Ewl_Widget * widget, unsigned int type); -void ewl_callback_call_with_event_data(Ewl_Widget * widget, - unsigned int type, - void *event_data); -void ewl_callback_del_type(Ewl_Widget * w, unsigned int t); -void ewl_callback_del_cb_id(Ewl_Widget * w, unsigned int t, - int cb_id); -void ewl_callback_del(Ewl_Widget * w, unsigned int t, - Ewl_Callback_Function f); -void ewl_callback_del_with_data(Ewl_Widget * w, unsigned int t, - Ewl_Callback_Function f, void *data); +int ewl_callback_insert_after(Ewl_Widget * w, unsigned int t, + Ewl_Callback_Function f, + void *user_data, + Ewl_Callback_Function after, + void *after_data); +void ewl_callback_clear(Ewl_Widget * widget); +void ewl_callback_call(Ewl_Widget * widget, unsigned int type); +void ewl_callback_call_with_event_data(Ewl_Widget * widget, + unsigned int type, + void *event_data); +void ewl_callback_del_type(Ewl_Widget * w, unsigned int t); +void ewl_callback_del_cb_id(Ewl_Widget * w, unsigned int t, + int cb_id); +void ewl_callback_del(Ewl_Widget * w, unsigned int t, + Ewl_Callback_Function f); +void ewl_callback_del_with_data(Ewl_Widget * w, unsigned int t, + Ewl_Callback_Function f, void *data); /** * @} =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_cell.h,v retrieving revision 1.18 retrieving revision 1.19 diff -u -3 -r1.18 -r1.19 --- ewl_cell.h 7 May 2008 13:38:23 -0000 1.18 +++ ewl_cell.h 17 Jun 2008 22:02:49 -0000 1.19 @@ -50,10 +50,10 @@ Ewl_Container container; /**< Inherit from Ewl_Container */ }; -Ewl_Widget *ewl_cell_new(void); -int ewl_cell_init(Ewl_Cell *cell); -void ewl_cell_state_change_cb_add(Ewl_Cell *cell); -void ewl_cell_state_change_cb_del(Ewl_Cell *cell); +Ewl_Widget *ewl_cell_new(void); +int ewl_cell_init(Ewl_Cell *cell); +void ewl_cell_state_change_cb_add(Ewl_Cell *cell); +void ewl_cell_state_change_cb_del(Ewl_Cell *cell); /* * Internally used callbacks, override at your own risk. =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_check.h,v retrieving revision 1.20 retrieving revision 1.21 diff -u -3 -r1.20 -r1.21 --- ewl_check.h 7 May 2008 13:38:23 -0000 1.20 +++ ewl_check.h 17 Jun 2008 22:02:49 -0000 1.21 @@ -52,11 +52,11 @@ int checked; /**< Indicates if this is checked */ }; -Ewl_Widget *ewl_check_new(void); -int ewl_check_init(Ewl_Check *c); +Ewl_Widget *ewl_check_new(void); +int ewl_check_init(Ewl_Check *c); -int ewl_check_is_checked(Ewl_Check *c); -void ewl_check_checked_set(Ewl_Check *c, int checked); +int ewl_check_is_checked(Ewl_Check *c); +void ewl_check_checked_set(Ewl_Check *c, int checked); /* * Internally used callbacks. =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_checkbutton.h,v retrieving revision 1.23 retrieving revision 1.24 diff -u -3 -r1.23 -r1.24 --- ewl_checkbutton.h 7 May 2008 13:38:23 -0000 1.23 +++ ewl_checkbutton.h 17 Jun 2008 22:02:49 -0000 1.24 @@ -52,20 +52,20 @@ */ struct Ewl_Checkbutton { - Ewl_Button button; /**< Inherit the basic button properties */ - Ewl_Position label_position; /**< Order of label and check */ - Ewl_Widget *check; /**< Check widget represented */ + Ewl_Button button; /**< Inherit the basic button properties */ + Ewl_Position label_position; /**< Order of label and check */ + Ewl_Widget *check; /**< Check widget represented */ }; -Ewl_Widget *ewl_checkbutton_new(void); -int ewl_checkbutton_init(Ewl_Checkbutton *cb); +Ewl_Widget *ewl_checkbutton_new(void); +int ewl_checkbutton_init(Ewl_Checkbutton *cb); -void ewl_checkbutton_checked_set(Ewl_Checkbutton *cb, int checked); -int ewl_checkbutton_is_checked(Ewl_Checkbutton *cb); +void ewl_checkbutton_checked_set(Ewl_Checkbutton *cb, int checked); +int ewl_checkbutton_is_checked(Ewl_Checkbutton *cb); -void ewl_checkbutton_label_position_set(Ewl_Checkbutton *cb, +void ewl_checkbutton_label_position_set(Ewl_Checkbutton *cb, Ewl_Position p); -Ewl_View *ewl_checkbutton_view_get(void); +Ewl_View *ewl_checkbutton_view_get(void); /* * Internally used callbacks, override at your own risk =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_colordialog.h,v retrieving revision 1.24 retrieving revision 1.25 diff -u -3 -r1.24 -r1.25 --- ewl_colordialog.h 7 May 2008 13:38:23 -0000 1.24 +++ ewl_colordialog.h 17 Jun 2008 22:02:49 -0000 1.25 @@ -43,33 +43,44 @@ */ struct Ewl_Colordialog { - Ewl_Dialog dialog; /**< Inherits from Ewl_Dialog */ - Ewl_Widget *picker; /**< Store the color picker widget */ + Ewl_Dialog dialog; /**< Inherits from Ewl_Dialog */ + Ewl_Widget *picker; /**< Store the color picker widget */ }; -Ewl_Widget *ewl_colordialog_new(void); -int ewl_colordialog_init(Ewl_Colordialog *cd); +Ewl_Widget *ewl_colordialog_new(void); +int ewl_colordialog_init(Ewl_Colordialog *cd); -void ewl_colordialog_has_alpha_set(Ewl_Colordialog *cp, unsigned int alpha); -unsigned int ewl_colordialog_has_alpha_get(Ewl_Colordialog *cp); - -void ewl_colordialog_alpha_set(Ewl_Colordialog *cp, unsigned int alpha); -unsigned int ewl_colordialog_alpha_get(Ewl_Colordialog *cp); - -void ewl_colordialog_current_rgb_set(Ewl_Colordialog *cp, unsigned int r, - unsigned int g, unsigned int b); -void ewl_colordialog_current_rgb_get(Ewl_Colordialog *cp, unsigned int *r, - unsigned int *g, unsigned int *b); - -void ewl_colordialog_previous_rgba_set(Ewl_Colordialog *cp, unsigned int r, - unsigned int g, unsigned int b, - unsigned int a); -void ewl_colordialog_previous_rgba_get(Ewl_Colordialog *cp, unsigned int *r, - unsigned int *g, unsigned int *b, - unsigned int *a); - -void ewl_colordialog_color_mode_set(Ewl_Colordialog *cp, Ewl_Color_Mode type); -Ewl_Color_Mode ewl_colordialog_color_mode_get(Ewl_Colordialog *cp); +void ewl_colordialog_has_alpha_set(Ewl_Colordialog *cp, + unsigned int alpha); +unsigned int ewl_colordialog_has_alpha_get(Ewl_Colordialog *cp); + +void ewl_colordialog_alpha_set(Ewl_Colordialog *cp, + unsigned int alpha); +unsigned int ewl_colordialog_alpha_get(Ewl_Colordialog *cp); + +void ewl_colordialog_current_rgb_set(Ewl_Colordialog *cp, + unsigned int r, + unsigned int g, + unsigned int b); +void ewl_colordialog_current_rgb_get(Ewl_Colordialog *cp, + unsigned int *r, + unsigned int *g, + unsigned int *b); + +void ewl_colordialog_previous_rgba_set(Ewl_Colordialog *cp, + unsigned int r, + unsigned int g, + unsigned int b, + unsigned int a); +void ewl_colordialog_previous_rgba_get(Ewl_Colordialog *cp, + unsigned int *r, + unsigned int *g, + unsigned int *b, + unsigned int *a); + +void ewl_colordialog_color_mode_set(Ewl_Colordialog *cp, + Ewl_Color_Mode type); +Ewl_Color_Mode ewl_colordialog_color_mode_get(Ewl_Colordialog *cp); /* * Internally used callbacks, override at your own risk =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_combo.h,v retrieving revision 1.33 retrieving revision 1.34 diff -u -3 -r1.33 -r1.34 --- ewl_combo.h 7 May 2008 13:38:23 -0000 1.33 +++ ewl_combo.h 17 Jun 2008 22:02:49 -0000 1.34 @@ -52,26 +52,26 @@ */ struct Ewl_Combo { - Ewl_MVC mvc; /**< Inherit from Ewl_MVC */ + Ewl_MVC mvc; /**< Inherit from Ewl_MVC */ - Ewl_Widget *popup; /**< Use a popup to display with. */ - Ewl_Widget *button; /**< expand/contract button */ - Ewl_Widget *header; /**< The combo header widget */ - unsigned char editable:1; /**< Is the combo editable */ - unsigned char scrollable:1; /**< Is the combo scrollable */ + Ewl_Widget *popup; /**< Use a popup to display with. */ + Ewl_Widget *button; /**< expand/contract button */ + Ewl_Widget *header; /**< The combo header widget */ + unsigned char editable:1; /**< Is the combo editable */ + unsigned char scrollable:1; /**< Is the combo scrollable */ }; -Ewl_Widget *ewl_combo_new(void); -int ewl_combo_init(Ewl_Combo *combo); +Ewl_Widget *ewl_combo_new(void); +int ewl_combo_init(Ewl_Combo *combo); -void ewl_combo_editable_set(Ewl_Combo *combo, +void ewl_combo_editable_set(Ewl_Combo *combo, unsigned int editable); -unsigned int ewl_combo_editable_get(Ewl_Combo *combo); -void ewl_combo_scrollable_set(Ewl_Combo *combo, +unsigned int ewl_combo_editable_get(Ewl_Combo *combo); +void ewl_combo_scrollable_set(Ewl_Combo *combo, unsigned int scrollable); -unsigned int ewl_combo_scrollable_get(Ewl_Combo *combo); +unsigned int ewl_combo_scrollable_get(Ewl_Combo *combo); -void ewl_combo_popup_container_set(Ewl_Combo *combo, +void ewl_combo_popup_container_set(Ewl_Combo *combo, Ewl_Container *c); @@ -113,25 +113,25 @@ */ struct Ewl_Combo_Cell { - Ewl_Cell cell; /**< Inherit from the cell */ + Ewl_Cell cell; /**< Inherit from the cell */ Ewl_Combo *combo; /**< The parent combo */ - const Ewl_Model *model; /**< The model that was used to build the + const Ewl_Model *model; /**< The model that was used to build the content of the cell */ - void *mvc_data; /**< The mvc data that was used to build the + void *mvc_data; /**< The mvc data that was used to build the content of the cell */ }; -Ewl_Widget *ewl_combo_cell_new(void); -int ewl_combo_cell_init(Ewl_Combo_Cell *c); -void ewl_combo_cell_combo_set(Ewl_Combo_Cell *c, Ewl_Combo *combo); +Ewl_Widget *ewl_combo_cell_new(void); +int ewl_combo_cell_init(Ewl_Combo_Cell *c); +void ewl_combo_cell_combo_set(Ewl_Combo_Cell *c, Ewl_Combo *combo); Ewl_Combo *ewl_combo_cell_combo_get(Ewl_Combo_Cell *c); -void ewl_combo_cell_model_set(Ewl_Combo_Cell *c, +void ewl_combo_cell_model_set(Ewl_Combo_Cell *c, const Ewl_Model *model); -const Ewl_Model *ewl_combo_cell_model_get(Ewl_Combo_Cell *c); +const Ewl_Model *ewl_combo_cell_model_get(Ewl_Combo_Cell *c); -void ewl_combo_cell_data_set(Ewl_Combo_Cell *c, void *mvc_data); -void *ewl_combo_cell_data_get(Ewl_Combo_Cell *c); +void ewl_combo_cell_data_set(Ewl_Combo_Cell *c, void *mvc_data); +void *ewl_combo_cell_data_get(Ewl_Combo_Cell *c); /** * @} ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs