Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/lib


Modified Files:
        ewl_button.c ewl_button.h ewl_checkbutton.c ewl_enums.h 
        ewl_filedialog.c ewl_icon.c ewl_iconbox.c ewl_iconbox.h 
        ewl_image.h ewl_misc.c ewl_text.h 


Log Message:
- doxygen, formatting
- remove some non-existant functions
- rename a couple functions to have the _cb idnetifier 

===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_button.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -3 -r1.32 -r1.33
--- ewl_button.c        15 Mar 2006 04:03:48 -0000      1.32
+++ ewl_button.c        13 Apr 2006 20:37:22 -0000      1.33
@@ -378,10 +378,9 @@
 }
 
 /**
- * @param b: The button to set the content fill policy
- * @param align: The new fill policy for button contents
- * @return Returns no value.
- * @brief Set the fill policy of the contents of the button.
+ * @param b: The button to get the content fill policy from
+ * @return Returns the current fill policy set on the button
+ * @brief Retrieves the curernt file policy set on the button
  */
 unsigned int
 ewl_button_fill_policy_get(Ewl_Button *b)
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_button.h,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -3 -r1.18 -r1.19
--- ewl_button.h        15 Mar 2006 04:03:48 -0000      1.18
+++ ewl_button.h        13 Apr 2006 20:37:22 -0000      1.19
@@ -56,8 +56,6 @@
 
 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_scale_set(Ewl_Button *b, double width, 
double height);
-void             ewl_button_image_scale_get(Ewl_Button *b, double *width, 
double *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);
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_checkbutton.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- ewl_checkbutton.c   17 Feb 2006 06:43:33 -0000      1.10
+++ ewl_checkbutton.c   13 Apr 2006 20:37:22 -0000      1.11
@@ -76,7 +76,8 @@
  * @return Returns no value.
  * @brief Update the checked state of the check button.
  */
-void ewl_checkbutton_checked_set(Ewl_Checkbutton *cb, int c)
+void
+ewl_checkbutton_checked_set(Ewl_Checkbutton *cb, int c)
 {
        DENTER_FUNCTION(DLEVEL_STABLE);
        DCHECK_PARAM_PTR("cb", cb);
@@ -88,9 +89,12 @@
 }
 
 /**
+ * @param cb: The checkbutton to work with
+ * @return Returns TRUE if the checkbutton is set, FALSE otherwise
  * @brief Retrieve the checked state of a check button.
  */
-int ewl_checkbutton_is_checked(Ewl_Checkbutton *cb)
+int
+ewl_checkbutton_is_checked(Ewl_Checkbutton *cb)
 {
        DENTER_FUNCTION(DLEVEL_STABLE);
        DCHECK_PARAM_PTR_RET("cb", cb, FALSE);
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_enums.h,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -3 -r1.40 -r1.41
--- ewl_enums.h 10 Apr 2006 04:43:17 -0000      1.40
+++ ewl_enums.h 13 Apr 2006 20:37:22 -0000      1.41
@@ -43,10 +43,10 @@
        EWL_CALLBACK_WIDGET_ENABLE, /**< Widget has been re-enabled */
        EWL_CALLBACK_WIDGET_DISABLE, /**< Widget no longer takes input */
 
-       EWL_CALLBACK_DND_POSITION, /** A DND position event **/
-       EWL_CALLBACK_DND_ENTER, /** On enter of a widget **/
-       EWL_CALLBACK_DND_LEAVE, /** On exit of a widget **/
-       EWL_CALLBACK_DND_DROP, /** Drop event **/
+       EWL_CALLBACK_DND_POSITION, /**< A DND position event **/
+       EWL_CALLBACK_DND_ENTER, /**< On enter of a widget **/
+       EWL_CALLBACK_DND_LEAVE, /**< On exit of a widget **/
+       EWL_CALLBACK_DND_DROP, /**< Drop event **/
        
        EWL_CALLBACK_MAX /**< Flag to indicate last value */
 };
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_filedialog.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -3 -r1.21 -r1.22
--- ewl_filedialog.c    13 Apr 2006 17:54:07 -0000      1.21
+++ ewl_filedialog.c    13 Apr 2006 20:37:22 -0000      1.22
@@ -304,7 +304,7 @@
 }
 
 /**
- * @param: The filedialog to work with
+ * @param fd: The filedialog to work with
  * @return Returns the current show favorites setting for the dialog
  * @brief Get the current show favorites setting for the filedialog
  */
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_icon.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- ewl_icon.c  12 Apr 2006 06:22:25 -0000      1.8
+++ ewl_icon.c  13 Apr 2006 20:37:22 -0000      1.9
@@ -108,7 +108,7 @@
  * @param file: The file with the image
  * @param key: The key inside the file if applicable
  * @return Retruns no value
- * @param set the image to use in the icon
+ * @brief set the image to use in the icon
  */
 void
 ewl_icon_image_set(Ewl_Icon *icon, const char *file, const char *key)
@@ -310,7 +310,7 @@
  * @return Returns no value
  * @brief Set the extended data into the icon
  *
- * @Note The widget passed in here becomes internal to the icon, you should
+ * @note The widget passed in here becomes internal to the icon, you should
  * not delete it after this. You can pack widgets as needed but the icon
  * will handle the show/hide of the widget after this
  */
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_iconbox.c,v
retrieving revision 1.112
retrieving revision 1.113
diff -u -3 -r1.112 -r1.113
--- ewl_iconbox.c       2 Apr 2006 01:45:45 -0000       1.112
+++ ewl_iconbox.c       13 Apr 2006 20:37:22 -0000      1.113
@@ -399,7 +399,7 @@
        /** Internal Callbacks */
        ewl_callback_append(ib->ewl_iconbox_pane_inner, 
EWL_CALLBACK_MOUSE_MOVE, ewl_iconbox_mouse_move_cb, ib);
        ewl_callback_append(ib->ewl_iconbox_pane_inner, 
EWL_CALLBACK_MOUSE_DOWN, ewl_iconbox_pane_mouse_down_cb, ib);
-       ewl_callback_append(ib->ewl_iconbox_pane_inner, EWL_CALLBACK_MOUSE_UP, 
ewl_iconbox_mouse_up, ib);
+       ewl_callback_append(ib->ewl_iconbox_pane_inner, EWL_CALLBACK_MOUSE_UP, 
ewl_iconbox_mouse_up_cb, ib);
        ewl_callback_append(ib->ewl_iconbox_pane_inner, 
EWL_CALLBACK_DND_POSITION, ewl_iconbox_dnd_position_cb, ib);
        ewl_callback_append(ib->ewl_iconbox_pane_inner, EWL_CALLBACK_DND_DROP, 
ewl_iconbox_dnd_drop_cb, ib);
        ewl_container_callback_notify(EWL_CONTAINER(ib), EWL_CALLBACK_KEY_DOWN);
@@ -1019,9 +1019,9 @@
 
        /* Add the callbacks for mouse */
        ewl_callback_prepend(EWL_ICONBOX_ICON(ib)->image, 
EWL_CALLBACK_MOUSE_DOWN,
-                                               ewl_iconbox_icon_mouse_down, 
ib);
+                                               ewl_iconbox_icon_mouse_down_cb, 
ib);
        ewl_callback_prepend(EWL_ICONBOX_ICON(ib)->image, 
EWL_CALLBACK_MOUSE_UP, 
-                                               ewl_iconbox_icon_mouse_up, ib);
+                                               ewl_iconbox_icon_mouse_up_cb, 
ib);
        
        /* Add a callback to the border box label, for editing purposes... */
        ewl_callback_prepend(EWL_ICONBOX_ICON(ib)->w_label, 
EWL_CALLBACK_MOUSE_DOWN, 
@@ -1394,7 +1394,7 @@
 }
 
 void
-ewl_iconbox_icon_mouse_down(Ewl_Widget *w __UNUSED__, void *ev_data, void 
*user_data)
+ewl_iconbox_icon_mouse_down_cb(Ewl_Widget *w __UNUSED__, void *ev_data, void 
*user_data)
 {
        int ibx, iby, px, py, sx, sy;
        Ewl_Iconbox_Icon *ib;
@@ -1444,7 +1444,7 @@
 }
 
 void
-ewl_iconbox_icon_mouse_up(Ewl_Widget *w __UNUSED__, void *ev_data , void 
*user_data)
+ewl_iconbox_icon_mouse_up_cb(Ewl_Widget *w __UNUSED__, void *ev_data , void 
*user_data)
 {
        Ewl_Event_Mouse_Down *ev;
        Ewl_Iconbox_Icon *ib;
@@ -1472,7 +1472,7 @@
 }
 
 void
-ewl_iconbox_mouse_up(Ewl_Widget *w __UNUSED__, void *ev_data, void *user_data)
+ewl_iconbox_mouse_up_cb(Ewl_Widget *w __UNUSED__, void *ev_data, void 
*user_data)
 {
        Ewl_Event_Mouse_Up *ev;
        Ewl_Iconbox *ib;
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_iconbox.h,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -3 -r1.33 -r1.34
--- ewl_iconbox.h       15 Mar 2006 04:03:48 -0000      1.33
+++ ewl_iconbox.h       13 Apr 2006 20:37:22 -0000      1.34
@@ -159,14 +159,14 @@
 void ewl_iconbox_expansion_cb(Ewl_Widget *w, void *ev_data, void *user_data);
 void ewl_iconbox_mouse_move_cb(Ewl_Widget *w, void *ev_data, void *user_data);
 void ewl_iconbox_pane_mouse_down_cb(Ewl_Widget *w, void *ev_data, void 
*user_data);
-void ewl_iconbox_mouse_up(Ewl_Widget *w, void *ev_data, void *user_data);
+void ewl_iconbox_mouse_up_cb(Ewl_Widget *w, void *ev_data, void *user_data);
 void ewl_iconbox_configure_cb(Ewl_Widget *w, void *ev_data, void *user_data);
-void ewl_iconbox_icon_mouse_up(Ewl_Widget *w, void *ev_data, void *user_data);
+void ewl_iconbox_icon_mouse_up_cb(Ewl_Widget *w, void *ev_data, void 
*user_data);
 void ewl_iconbox_destroy_cb(Ewl_Widget *w, void *ev_data, void *user_data);
-void ewl_iconbox_icon_mouse_down(Ewl_Widget *w, void *ev_data, void 
*user_data);
+void ewl_iconbox_icon_mouse_down_cb(Ewl_Widget *w, void *ev_data, void 
*user_data);
 void ewl_iconbox_icon_label_mouse_down_cb(Ewl_Widget *w, void *ev_data, void 
*user_data);
 void ewl_iconbox_icon_destroy_cb(Ewl_Widget *w, void *ev_data ,void *user_data 
);
-void ewl_iconbox_key_press_cb (Ewl_Widget *w, void *ev_data, void *user_data);
+void ewl_iconbox_key_press_cb(Ewl_Widget *w, void *ev_data, void *user_data);
 
 /**
  * @}
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_image.h,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -3 -r1.23 -r1.24
--- ewl_image.h 12 Apr 2006 06:29:31 -0000      1.23
+++ ewl_image.h 13 Apr 2006 20:37:22 -0000      1.24
@@ -87,7 +87,7 @@
 typedef struct Ewl_Image_Thumbnail Ewl_Image_Thumbnail;
 
 /**
- * @def EWL_IMAGE_Thumbnail(image)
+ * @def EWL_IMAGE_THUMBNAIL(image)
  * Typecase a pointer to an Ewl_Image_Thumbnail widget
  */
 #define EWL_IMAGE_THUMBNAIL(image) ((Ewl_Image_Thumbnail *) image)
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_misc.c,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -3 -r1.49 -r1.50
--- ewl_misc.c  28 Mar 2006 12:29:15 -0000      1.49
+++ ewl_misc.c  13 Apr 2006 20:37:23 -0000      1.50
@@ -1035,6 +1035,7 @@
 #define EWL_GC_LIMIT 300 
 
 /**
+ * @param data: Unused.
  * @return Returns TRUE if objects remain to be freed, otherwise false.
  * @brief Free's all widgets that have been marked for destruction.
  */
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_text.h,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -3 -r1.34 -r1.35
--- ewl_text.h  12 Apr 2006 06:15:31 -0000      1.34
+++ ewl_text.h  13 Apr 2006 20:37:23 -0000      1.35
@@ -91,7 +91,7 @@
        {
                int              x;               /**< X offset for layout */
                int              y;               /**< Y offset for layout */
-       } offset;
+       } offset;                                 /**< Layout offset values */
 
        unsigned char            delete_count;    /**< Number of deletes */
        unsigned char            in_select;       /**< Are we in select mode? */




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to