Enlightenment CVS committal
Author : dj2
Project : e17
Module : libs/ewl
Dir : e17/libs/ewl/src/lib
Modified Files:
ewl_box.c ewl_cell.h ewl_config.h ewl_entry.c ewl_entry.h
ewl_enums.h ewl_events.h ewl_filelist.c ewl_filelist.h
ewl_filelist_column.c ewl_filelist_column.h
ewl_filelist_icon.c ewl_filelist_list.c ewl_grid.h ewl_image.h
ewl_label.h ewl_model.h ewl_object.h ewl_paned.c
ewl_scrollpane.c ewl_scrollpane.h ewl_text.c ewl_tree.c
ewl_tree2.h ewl_view.h
Log Message:
- ScrollPane -> Scrollpane
- ScrollPane_Flags -> Scrollpane_Flags
- minor formatting
- doxy changes
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_box.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -3 -r1.26 -r1.27
--- ewl_box.c 27 Apr 2006 16:02:55 -0000 1.26
+++ ewl_box.c 11 May 2006 04:01:20 -0000 1.27
@@ -758,7 +758,7 @@
* When a child gets added to the box update it's size.
*/
void
-ewl_box_child_show_cb(Ewl_Container * c, Ewl_Widget * w)
+ewl_box_child_show_cb(Ewl_Container *c, Ewl_Widget *w)
{
int space = 0;
int width, height;
@@ -877,7 +877,7 @@
* @brief The container resize callback used by the box
*/
void
-ewl_box_child_resize_cb(Ewl_Container * c, Ewl_Widget * w __UNUSED__,
+ewl_box_child_resize_cb(Ewl_Container *c, Ewl_Widget *w __UNUSED__,
int size, Ewl_Orientation o)
{
int align_size, fill_size;
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_cell.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- ewl_cell.h 15 Mar 2006 04:03:48 -0000 1.8
+++ ewl_cell.h 11 May 2006 04:01:20 -0000 1.9
@@ -19,6 +19,9 @@
*/
#define EWL_CELL_TYPE "cell"
+/**
+ * The Ewl_Cell widget
+ */
typedef struct Ewl_Cell Ewl_Cell;
/**
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_config.h,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- ewl_config.h 28 Mar 2006 12:29:15 -0000 1.11
+++ ewl_config.h 11 May 2006 04:01:20 -0000 1.12
@@ -7,6 +7,9 @@
* @{
*/
+/**
+ * The Ewl_Config structure
+ */
typedef struct Ewl_Config Ewl_Config;
/**
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_entry.c,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -3 -r1.52 -r1.53
--- ewl_entry.c 18 Apr 2006 23:21:46 -0000 1.52
+++ ewl_entry.c 11 May 2006 04:01:20 -0000 1.53
@@ -471,6 +471,11 @@
DLEAVE_FUNCTION(DLEVEL_STABLE);
}
+/**
+ * @param e: The Ewl_Entry to work with
+ * @return Returns no value
+ * @brief Moves the cursor to the left of it's current position
+ */
void
ewl_entry_cursor_move_left(Ewl_Entry *e)
{
@@ -492,6 +497,11 @@
DLEAVE_FUNCTION(DLEVEL_STABLE);
}
+/**
+ * @param e: The Ewl_Entry to work with
+ * @return Returns no value.
+ * @brief Moves the cursor to the right of its current position
+ */
void
ewl_entry_cursor_move_right(Ewl_Entry *e)
{
@@ -513,6 +523,11 @@
DLEAVE_FUNCTION(DLEVEL_STABLE);
}
+/**
+ * @param e: The Ewl_Entry to work with
+ * @return Returns no value.
+ * @brief Moves the cursor up one line from its current position
+ */
void
ewl_entry_cursor_move_up(Ewl_Entry *e)
{
@@ -529,6 +544,11 @@
DLEAVE_FUNCTION(DLEVEL_STABLE);
}
+/**
+ * @param e: The Ewl_Entry to work with
+ * @return Returns no value.
+ * @brief Moves the cursor down one line from its current position
+ */
void
ewl_entry_cursor_move_down(Ewl_Entry *e)
{
@@ -545,6 +565,11 @@
DLEAVE_FUNCTION(DLEVEL_STABLE);
}
+/**
+ * @param e: The Ewl_Entry to work with
+ * @return Returns no value.
+ * @brief Deletes the character to the left of the cursor
+ */
void
ewl_entry_delete_left(Ewl_Entry *e)
{
@@ -559,6 +584,11 @@
DLEAVE_FUNCTION(DLEVEL_STABLE);
}
+/**
+ * @param e: The Ewl_Entry to work with
+ * @return Returns no value.
+ * @brief Deletes the character to the right of the cursor
+ */
void
ewl_entry_delete_right(Ewl_Entry *e)
{
@@ -618,6 +648,12 @@
/*
* cursor stuff
*/
+
+/**
+ * @param parent: The parent Ewl_Entry widget
+ * @return Returns a new Ewl_Entry_Cursor on success or NULL on failure
+ * @brief Creates and initializes a new Ewl_Entry_Cursor widget
+ */
Ewl_Widget *
ewl_entry_cursor_new(Ewl_Entry *parent)
{
@@ -639,6 +675,12 @@
DRETURN_PTR(w, DLEVEL_STABLE);
}
+/**
+ * @param c: The Ewl_Entry_Cursor to initialize
+ * @param parent: The parent Ewl_Text widget
+ * @return Returns TRUE on success or FALSE on failure
+ * @brief Initializes an Ewl_Entry_Cursor to default values
+ */
int
ewl_entry_cursor_init(Ewl_Entry_Cursor *c, Ewl_Entry *parent)
{
@@ -661,6 +703,12 @@
DRETURN_INT(TRUE, DLEVEL_STABLE);
}
+/**
+ * @param c: The cursor to work with
+ * @param pos: The position to set the cursor too
+ * @return Returns no value.
+ * @brief Set the current cursor position
+ */
void
ewl_entry_cursor_position_set(Ewl_Entry_Cursor *c, unsigned int pos)
{
@@ -673,6 +721,11 @@
DLEAVE_FUNCTION(DLEVEL_STABLE);
}
+/**
+ * @param c: The cursor to get the position from
+ * @return Returns the current position of the cursor
+ * @brief Retrieves the current position of the Ewl_Entry_Cursor
+ */
unsigned int
ewl_entry_cursor_position_get(Ewl_Entry_Cursor *c)
{
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_entry.h,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -3 -r1.20 -r1.21
--- ewl_entry.h 15 Mar 2006 04:03:48 -0000 1.20
+++ ewl_entry.h 11 May 2006 04:01:20 -0000 1.21
@@ -78,9 +78,21 @@
/*
* cursor stuff
*/
+
+/**
+ * @def EWL_ENTRY_CURSOR(cursor)
+ * Typecast a pointer to an Ewl_Entry_Cursor pointer
+ */
#define EWL_ENTRY_CURSOR(cursor) ((Ewl_Entry_Cursor *) cursor)
+/**
+ * The Ewl_Entry_Cursor widget
+ */
typedef struct Ewl_Entry_Cursor Ewl_Entry_Cursor;
+
+/**
+ * Inherit from Ewl_Widget and extend for the Entry cursor
+ */
struct Ewl_Entry_Cursor
{
Ewl_Widget widget; /**< Inherit from Ewl_Widget */
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_enums.h,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -3 -r1.42 -r1.43
--- ewl_enums.h 25 Apr 2006 22:17:23 -0000 1.42
+++ ewl_enums.h 11 May 2006 04:01:20 -0000 1.43
@@ -51,6 +51,9 @@
EWL_CALLBACK_MAX /**< Flag to indicate last value */
};
+/**
+ * The Ewl_Callback_Type
+ */
typedef enum Ewl_Callback_Type Ewl_Callback_Type;
/**
@@ -66,6 +69,9 @@
EWL_CALLBACK_TYPE_DIRECT = 4 /**< Direct call */
};
+/**
+ * The Ewl_Event_Notify type
+ */
typedef enum Ewl_Event_Notify Ewl_Event_Notify;
/**
@@ -79,6 +85,9 @@
EWL_ORIENTATION_VERTICAL /**< Vertical layout */
};
+/**
+ * The Ewl_Orientation type
+ */
typedef enum Ewl_Orientation Ewl_Orientation;
/**
@@ -225,8 +234,15 @@
EWL_POSITION_BOTTOM = 0x8 /**< Bottom position */
};
+/**
+ * The Ewl_Position type
+ */
typedef enum Ewl_Position Ewl_Position;
+/**
+ * @def EWL_POSITION_MASK
+ * The mask for the Ewl_Position bitmap
+ */
#define EWL_POSITION_MASK (0xf)
/**
@@ -241,6 +257,9 @@
EWL_WINDOW_OVERRIDE = 0x10 /**< Window override setting */
};
+/**
+ * The Ewl_Window_Flags type
+ */
typedef enum Ewl_Window_Flags Ewl_Window_Flags;
/**
@@ -253,6 +272,9 @@
EWL_TREE_NODE_EXPANDED = 2, /**< Node is expanded */
};
+/**
+ * The Ewl_Tree_Node_Flags type
+ */
typedef enum Ewl_Tree_Node_Flags Ewl_Tree_Node_Flags;
/**
@@ -263,20 +285,30 @@
EWL_NOTEBOOK_FLAG_TABS_HIDDEN = 0x10 /**< Tabbar is hidden */
};
+/**
+ * The Ewl_Notebook_Flags type
+ */
typedef enum Ewl_Notebook_Flags Ewl_Notebook_Flags;
/**
- * @enum Ewl_ScrollPane_Flags
+ * @enum Ewl_Scrollpane_Flags
*/
-enum Ewl_ScrollPane_Flags
+enum Ewl_Scrollpane_Flags
{
EWL_SCROLLPANE_FLAG_NONE, /**< No flags set */
EWL_SCROLLPANE_FLAG_AUTO_VISIBLE, /**< Hide if possible */
EWL_SCROLLPANE_FLAG_ALWAYS_HIDDEN /**< Always hide */
};
-typedef enum Ewl_ScrollPane_Flags Ewl_ScrollPane_Flags;
+/**
+ * The Ewl_Scrollpane_Flags type
+ */
+typedef enum Ewl_Scrollpane_Flags Ewl_Scrollpane_Flags;
+/**
+ * @enum Ewl_Engine
+ * The possible ewl engine settings
+ */
enum Ewl_Engine
{
EWL_ENGINE_SOFTWARE_X11 = 1, /**< The Software X11 engine */
@@ -284,6 +316,9 @@
EWL_ENGINE_FB = 4, /**< The Framebuffer engine */
};
+/**
+ * The Ewl_Engine type
+ */
typedef enum Ewl_Engine Ewl_Engine;
/**
@@ -311,6 +346,9 @@
EWL_KEY_MODIFIER_WIN = 0x10, /**< Win key */
};
+/**
+ * The Ewl_Key_Modifiers type
+ */
typedef enum Ewl_Key_Modifiers Ewl_Key_Modifiers;
/**
@@ -336,6 +374,10 @@
EWL_STOCK_STOP,
EWL_STOCK_NONE
};
+
+/**
+ * The Ewl_Stock_Type type
+ */
typedef enum Ewl_Stock_Type Ewl_Stock_Type;
/**
@@ -350,6 +392,10 @@
EWL_COLOR_MODE_HSV_SATURATION,
EWL_COLOR_MODE_HSV_VALUE
};
+
+/**
+ * The Ewl_Color_Mode type
+ */
typedef enum Ewl_Color_Mode Ewl_Color_Mode;
/**
@@ -360,8 +406,16 @@
EWL_SPECTRUM_TYPE_SQUARE,
EWL_SPECTRUM_TYPE_VERTICAL
};
+
+/**
+ * The Ewl_Spectrum_Type type
+ */
typedef enum Ewl_Spectrum_Type Ewl_Spectrum_Type;
+/**
+ * @enum Ewl_Text_Style
+ * The possible styles that can be set into ewl_text widgets
+ */
enum Ewl_Text_Style
{
EWL_TEXT_STYLE_NONE = 0x00,
@@ -374,16 +428,32 @@
EWL_TEXT_STYLE_OUTLINE = 0x40,
EWL_TEXT_STYLE_GLOW = 0x80
};
+
+/**
+ * The Ewl_Text_Style type
+ */
typedef enum Ewl_Text_Style Ewl_Text_Style;
+/**
+ * @enum Ewl_Text_Trigger_Type
+ * The types of trigger that can be set
+ */
enum Ewl_Text_Trigger_Type
{
EWL_TEXT_TRIGGER_TYPE_NONE,
EWL_TEXT_TRIGGER_TYPE_SELECTION,
EWL_TEXT_TRIGGER_TYPE_TRIGGER
};
+
+/**
+ * The Ewl_Text_Trigger_Type
+ */
typedef enum Ewl_Text_Trigger_Type Ewl_Text_Trigger_Type;
+/**
+ * @enum Ewl_Attach_Type
+ * The types that can be attached to a widget
+ */
enum Ewl_Attach_Type
{
EWL_ATTACH_TYPE_TOOLTIP,
@@ -392,23 +462,47 @@
EWL_ATTACH_TYPE_MOUSE_CURSOR,
EWL_ATTACH_TYPE_NOTEBOOK_DATA
};
+
+/**
+ * The Ewl_Attach_Type
+ */
typedef enum Ewl_Attach_Type Ewl_Attach_Type;
+/**
+ * @enum Ewl_Attach_Data_Type
+ * The types of data that can be set into a widgets attachment
+ */
enum Ewl_Attach_Data_Type
{
EWL_ATTACH_DATA_TYPE_TEXT,
EWL_ATTACH_DATA_TYPE_WIDGET,
EWL_ATTACH_DATA_TYPE_OTHER
};
+
+/**
+ * The Ewl_Attach_Data_Type
+ */
typedef enum Ewl_Attach_Data_Type Ewl_Attach_Data_Type;
+/**
+ * @enum Ewl_Media_Module_Type
+ * The possible modules to use with ewl_media
+ */
enum Ewl_Media_Module_Type
{
EWL_MEDIA_MODULE_XINE,
EWL_MEDIA_MODULE_GSTREAMER
};
+
+/**
+ * The Ewl_Media_Module_Type
+ */
typedef enum Ewl_Media_Module_Type Ewl_Media_Module_Type;
+/**
+ * @enum Ewl_Tree_Mode
+ * The possible tree mode settings
+ */
enum Ewl_Tree_Mode
{
EWL_TREE_MODE_NONE,
@@ -416,8 +510,15 @@
EWL_TREE_MODE_MULTI
};
+/**
+ * The Ewl_Tree_Mode type
+ */
typedef enum Ewl_Tree_Mode Ewl_Tree_Mode;
+/**
+ * @enum Ewl_Text_Context_Mask
+ * The possible context masks for the ewl_text
+ */
enum Ewl_Text_Context_Mask
{
EWL_TEXT_CONTEXT_MASK_NONE = 0x00,
@@ -435,31 +536,63 @@
EWL_TEXT_CONTEXT_MASK_UNDERLINE_COLOR = 0x800,
EWL_TEXT_CONTEXT_MASK_DOUBLE_UNDERLINE_COLOR = 0x1000
};
+
+/**
+ * The Ewl_Text_Context_Mask type
+ */
typedef enum Ewl_Text_Context_Mask Ewl_Text_Context_Mask;
+/**
+ * @enum Ewl_Icon_Type
+ * The possible icon types
+ */
enum Ewl_Icon_Type
{
EWL_ICON_TYPE_SHORT,
EWL_ICON_TYPE_LONG
};
+
+/**
+ * The Ewl_Icon_Type
+ */
typedef enum Ewl_Icon_Type Ewl_Icon_Type;
+/**
+ * @enum Ewl_Freebox_Layout_Type
+ * The possibly layout settings for the freebox
+ */
enum Ewl_Freebox_Layout_Type
{
EWL_FREEBOX_LAYOUT_MANUAL,
EWL_FREEBOX_LAYOUT_COMPARATOR,
EWL_FREEBOX_LAYOUT_AUTO
};
+
+/**
+ * The Ewl_Freebox_Layout_Type
+ */
typedef enum Ewl_Freebox_Layout_Type Ewl_Freebox_Layout_Type;
+/**
+ * @enum Ewl_Filelist_Event_Type
+ * The possible events that can happen from the filelist
+ */
enum Ewl_Filelist_Event_Type
{
EWL_FILELIST_EVENT_TYPE_DIR_CHANGE,
EWL_FILELIST_EVENT_TYPE_SELECTION_CHANGE,
EWL_FILELIST_EVENT_TYPE_FILE_SELECTED
};
+
+/**
+ * The Ewl_Filelist_Event_Type
+ */
typedef enum Ewl_Filelist_Event_Type Ewl_Filelist_Event_Type;
+/**
+ * @enum Ewl_Mouse_Cursor_Type
+ * The possible mouse cursor settings
+ */
enum Ewl_Mouse_Cursor_Type
{
EWL_MOUSE_CURSOR_X = 0,
@@ -540,6 +673,9 @@
EWL_MOUSE_CURSOR_XTERM = 152
};
+/**
+ * The Ewl_Mouse_Cursor_Type
+ */
typedef enum Ewl_Mouse_Cursor_Type Ewl_Mouse_Cursor_Type;
/**
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_events.h,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -3 -r1.13 -r1.14
--- ewl_events.h 10 Apr 2006 04:43:17 -0000 1.13
+++ ewl_events.h 11 May 2006 04:01:20 -0000 1.14
@@ -182,14 +182,14 @@
struct Ewl_Filepicker_Event
{
- unsigned int response;
+ unsigned int response; /**< The filepicker response */
};
typedef struct Ewl_Filelist_Event Ewl_Filelist_Event;
struct Ewl_Filelist_Event
{
- Ewl_Filelist_Event_Type type;
+ Ewl_Filelist_Event_Type type; /**< The type of event */
};
int ewl_ev_init(void);
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_filelist.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -3 -r1.13 -r1.14
--- ewl_filelist.c 2 May 2006 00:46:29 -0000 1.13
+++ ewl_filelist.c 11 May 2006 04:01:20 -0000 1.14
@@ -228,6 +228,11 @@
DRETURN_PTR((file ? strdup(file) : NULL), DLEVEL_STABLE);
}
+/**
+ * @param st_size: The size to convert
+ * @return Returns a string representation of the given size
+ * @brief Converts the given size into a human readable format
+ */
char *
ewl_filelist_size_get(off_t st_size)
{
@@ -260,6 +265,11 @@
DRETURN_PTR(strdup(size), DLEVEL_STABLE);
}
+/**
+ * @param st_mode: The mode setting to convert
+ * @return Returns the string of the given mode setting
+ * @brief Converts the given mode settings into a human readable string
+ */
char *
ewl_filelist_perms_get(mode_t st_mode)
{
@@ -289,6 +299,11 @@
DRETURN_PTR(perm, DLEVEL_STABLE);
}
+/**
+ * @param st_uid: The userid to lookup
+ * @return Returns the user name for the given user id
+ * @brief Convertes the given user id into the approriate user name
+ */
char *
ewl_filelist_username_get(uid_t st_uid)
{
@@ -306,6 +321,11 @@
DRETURN_PTR(strdup(name), DLEVEL_STABLE);
}
+/**
+ * @param st_gid: The group id to convert
+ * @return Returns the group name for the given id
+ * @brief Converts the given group id into a group name
+ */
char *
ewl_filelist_groupname_get(gid_t st_gid)
{
@@ -323,6 +343,11 @@
DRETURN_PTR(strdup(name), DLEVEL_STABLE);
}
+/**
+ * @param st_modtime: The modification time to convert
+ * @return Returns the string version of the modtime
+ * @brief Converts the given modtime to a human readable string
+ */
char *
ewl_filelist_modtime_get(time_t st_modtime)
{
@@ -337,6 +362,12 @@
DRETURN_PTR(time, DLEVEL_STABLE);
}
+/**
+ * @param fl: The Ewl_Filelist to work with
+ * @param path: The file to get the preview for
+ * @return Returns the preview widget for the given file
+ * @brief Creates and returns a preview widget for the given file
+ */
Ewl_Widget *
ewl_filelist_selected_file_preview_get(Ewl_Filelist *fl, const char *path)
{
@@ -513,7 +544,7 @@
* @brief Sets the value to use for flags on the vertical scrollbar
*/
void
-ewl_filelist_vscroll_flag_set(Ewl_Filelist *fl, Ewl_ScrollPane_Flags v)
+ewl_filelist_vscroll_flag_set(Ewl_Filelist *fl, Ewl_Scrollpane_Flags v)
{
DENTER_FUNCTION(DLEVEL_STABLE);
DCHECK_PARAM_PTR("fl", fl);
@@ -529,7 +560,7 @@
* @return Returns the flags for the vertical scrollbar
* @brief Retrieves the flags for the vertical scrollbar
*/
-Ewl_ScrollPane_Flags
+Ewl_Scrollpane_Flags
ewl_filelist_vscroll_flag_get(Ewl_Filelist *fl)
{
DENTER_FUNCTION(DLEVEL_STABLE);
@@ -547,7 +578,7 @@
* @brief Sets the value to use for flags on the horizontal scrollbar
*/
void
-ewl_filelist_hscroll_flag_set(Ewl_Filelist *fl, Ewl_ScrollPane_Flags h)
+ewl_filelist_hscroll_flag_set(Ewl_Filelist *fl, Ewl_Scrollpane_Flags h)
{
DENTER_FUNCTION(DLEVEL_STABLE);
DCHECK_PARAM_PTR("fl", fl);
@@ -563,7 +594,7 @@
* @return Returns the flags for the horizontal scrollbar
* @brief Retrieves the flags for the horizontal scrollbar
*/
-Ewl_ScrollPane_Flags
+Ewl_Scrollpane_Flags
ewl_filelist_hscroll_flag_get(Ewl_Filelist *fl)
{
DENTER_FUNCTION(DLEVEL_STABLE);
@@ -630,7 +661,10 @@
/**
* @param fl: The filelist to work with
+ * @param dir: The directory to read
+ * @param skip_dot_dot: Should the .. entry be skipped
* @param func: The function to call to actually add the item
+ * @param data: The data to pass to the callback function
* @return Returns no value.
* @brief This will read the directory set in the file list, filter each
* item through the set filter and call @a func if the file is to be
@@ -703,6 +737,7 @@
/**
* @param fl: The filelist to work with
* @param w: The widget that was clicked
+ * @param ev: The Ewl_Event_Mouse_Up structure
* @param select_state: Signal to send to goto select state
* @param unselect_state: Signal to send to goto unselect state
* @return Returns no value.
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_filelist.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- ewl_filelist.h 30 Apr 2006 00:50:35 -0000 1.8
+++ ewl_filelist.h 11 May 2006 04:01:20 -0000 1.9
@@ -46,8 +46,8 @@
} select; /**< Data used in SHIFT select */
struct
- { Ewl_ScrollPane_Flags h; /**< Horizontal scroll flag */
- Ewl_ScrollPane_Flags v; /**< Vertical scroll flag */
+ { Ewl_Scrollpane_Flags h; /**< Horizontal scroll flag */
+ Ewl_Scrollpane_Flags v; /**< Vertical scroll flag */
} scroll_flags; /**< Flags to modify a containing scrollpane */
void (*dir_change)(Ewl_Filelist *fl); /**< Callback to notify of
@@ -112,12 +112,12 @@
const char *signal);
void ewl_filelist_vscroll_flag_set(Ewl_Filelist *fl,
- Ewl_ScrollPane_Flags v);
-Ewl_ScrollPane_Flags ewl_filelist_vscroll_flag_get(Ewl_Filelist *fl);
+ Ewl_Scrollpane_Flags v);
+Ewl_Scrollpane_Flags ewl_filelist_vscroll_flag_get(Ewl_Filelist *fl);
void ewl_filelist_hscroll_flag_set(Ewl_Filelist *fl,
- Ewl_ScrollPane_Flags h);
-Ewl_ScrollPane_Flags ewl_filelist_hscroll_flag_get(Ewl_Filelist *fl);
+ Ewl_Scrollpane_Flags h);
+Ewl_Scrollpane_Flags ewl_filelist_hscroll_flag_get(Ewl_Filelist *fl);
char *ewl_filelist_expand_path(Ewl_Filelist *fl, const char *dir);
void ewl_filelist_directory_read(Ewl_Filelist *fl,
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_filelist_column.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- ewl_filelist_column.c 30 Apr 2006 02:37:21 -0000 1.12
+++ ewl_filelist_column.c 11 May 2006 04:01:20 -0000 1.13
@@ -225,6 +225,7 @@
/**
* @param fl: The filelist to work with
+ * @param file: The file to set selected
* @return Returns no value
* @brief The callback to notify of selected files changing
*/
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_filelist_column.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- ewl_filelist_column.h 30 Apr 2006 02:37:21 -0000 1.3
+++ ewl_filelist_column.h 11 May 2006 04:01:20 -0000 1.4
@@ -14,6 +14,10 @@
*/
#define EWL_FILELIST_COLUMN_TYPE "filelist_column"
+/**
+ * @def EWL_FILELIST_COLUMN(fl)
+ * Typecasts a pointer to an Ewl_Filelist_Column pointer
+ */
#define EWL_FILELIST_COLUMN(fl) ((Ewl_Filelist_Column *)fl)
/**
@@ -21,6 +25,9 @@
*/
typedef struct Ewl_Filelist_Column Ewl_Filelist_Column;
+/**
+ * Inherits from Ewl_Filelist and extends to provide a column view
+ */
struct Ewl_Filelist_Column
{
Ewl_Filelist list; /**< Inherit from filelist */
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_filelist_icon.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- ewl_filelist_icon.c 27 Apr 2006 02:59:43 -0000 1.6
+++ ewl_filelist_icon.c 11 May 2006 04:01:20 -0000 1.7
@@ -113,6 +113,7 @@
/**
* @param fl: The filelist to work with
+ * @param file: The file to set selected
* @return Returns no value
* @brief The callback to notify of selected files changing
*/
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_filelist_list.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- ewl_filelist_list.c 30 Apr 2006 00:58:36 -0000 1.9
+++ ewl_filelist_list.c 11 May 2006 04:01:20 -0000 1.10
@@ -116,6 +116,7 @@
/**
* @param fl: The filelist to work with
+ * @param file: The file to set selected
* @return Returns no value
* @brief Callback when the selected files are changed
*/
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_grid.h,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- ewl_grid.h 15 Mar 2006 04:03:48 -0000 1.12
+++ ewl_grid.h 11 May 2006 04:01:20 -0000 1.13
@@ -19,8 +19,14 @@
*/
#define EWL_GRID_TYPE "grid"
+/**
+ * The Ewl_Grid_Info structure
+ */
typedef struct Ewl_Grid_Info Ewl_Grid_Info;
+/**
+ * Contains information about the Ewl_Grid
+ */
struct Ewl_Grid_Info
{
int override; /**< Override the size of the column */
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_image.h,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -3 -r1.24 -r1.25
--- ewl_image.h 13 Apr 2006 20:37:22 -0000 1.24
+++ ewl_image.h 11 May 2006 04:01:20 -0000 1.25
@@ -19,11 +19,19 @@
*/
#define EWL_IMAGE_TYPE "image"
+/**
+ * @enum Ewl_Image_Type
+ * The type of image
+ */
enum Ewl_Image_Type
{
EWL_IMAGE_TYPE_NORMAL, /**< Standard image type */
EWL_IMAGE_TYPE_EDJE /**< Edje image type */
};
+
+/**
+ * The Ewl_Image_Type
+ */
typedef enum Ewl_Image_Type Ewl_Image_Type;
/**
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_label.h,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- ewl_label.h 15 Mar 2006 04:03:48 -0000 1.11
+++ ewl_label.h 11 May 2006 04:01:20 -0000 1.12
@@ -18,6 +18,9 @@
*/
#define EWL_LABEL_TYPE "label"
+/**
+ * The Ewl_Label widget
+ */
typedef struct Ewl_Label Ewl_Label;
/**
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_model.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- ewl_model.h 20 Apr 2006 13:59:18 -0000 1.9
+++ ewl_model.h 11 May 2006 04:01:20 -0000 1.10
@@ -15,6 +15,10 @@
* Model callback to handle fetching the data at the given row/column
*/
#define EWL_MODEL_DATA_FETCH(f) ((Ewl_Model_Fetch)f)
+
+/**
+ * A typedef to shorten the definition of the model_fetch callbacks.
+ */
typedef void *(*Ewl_Model_Fetch)(void *data, unsigned int row,
unsigned int column);
@@ -24,6 +28,10 @@
* given row/column
*/
#define EWL_MODEL_DATA_SUBFETCH(f) ((Ewl_Model_Subfetch)f)
+
+/**
+ * A typedef to shorten the definition of the model_subfetch callbacks.
+ */
typedef void *(*Ewl_Model_Subfetch)(void *data, unsigned int parent,
unsigned int row, unsigned int column);
@@ -33,6 +41,10 @@
* column
*/
#define EWL_MODEL_DATA_SORT(f) ((Ewl_Model_Sort)f)
+
+/**
+ * A typedef to shorten the definition of the model_sort callbacks.
+ */
typedef void (*Ewl_Model_Sort)(void *data, unsigned int column);
/**
@@ -40,6 +52,10 @@
* Model callback to have the program return the number of rows in its data
*/
#define EWL_MODEL_DATA_COUNT(f) ((Ewl_Model_Count)f)
+
+/**
+ * A typedef to shorten the definition of the model_count callbacks.
+ */
typedef int (*Ewl_Model_Count)(void *data);
/**
@@ -47,6 +63,10 @@
* Typecasts a pointer to an Ewl_Model pointer.
*/
#define EWL_MODEL(model) ((Ewl_Model *)model)
+
+/**
+ * The Ewl_Model structure
+ */
typedef struct Ewl_Model Ewl_Model;
/**
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_object.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- ewl_object.h 19 Mar 2006 06:57:00 -0000 1.9
+++ ewl_object.h 11 May 2006 04:01:20 -0000 1.10
@@ -224,12 +224,39 @@
(ewl_object_flags_get(o, EWL_FLAGS_PROPERTY_MASK) & \
EWL_FLAG_PROPERTY_TOPLEVEL)
+/**
+ * @def ewl_object_state_add(o, state)
+ * @param o: The object to work with
+ * @param state: The state to set into the object
+ * Adds the given state @a state to the object @a o
+ */
#define ewl_object_state_add(o, state) \
ewl_object_flags_add(o, state, EWL_FLAGS_STATE_MASK)
+
+/**
+ * @def ewl_object_state_remove(o, state)
+ * @param o: The object to work with
+ * @param state: The state to remove
+ * Removes the given state from the given @a o object
+ */
#define ewl_object_state_remove(o, state) \
ewl_object_flags_remove(o, state, EWL_FLAGS_STATE_MASK)
+
+/**
+ * @def ewl_object_state_has(o, state)
+ * @param o: The object to check
+ * @param state: The state to check
+ * Checks if the given state @a state is set on the given object @a o
+ */
#define ewl_object_state_has(o, state) \
ewl_object_flags_has(o, state, EWL_FLAGS_STATE_MASK)
+
+/**
+ * @def ewl_object_state_get(o, state)
+ * @param o: The object to work with
+ * @param state: The state to get
+ * Retrives the given state @a state from the object @a o
+ */
#define ewl_object_state_get(o, state) \
ewl_object_flags_get(o, state, EWL_FLAGS_STATE_MASK)
@@ -272,15 +299,49 @@
#define CURRENT_W(o) EWL_OBJECT(o)->current.w
#define CURRENT_H(o) EWL_OBJECT(o)->current.h
+/**
+ * @def PREFERRED_W(o)
+ * Set the preferred width of the widget
+ */
#define PREFERRED_W(o) EWL_OBJECT(o)->preferred.w
+
+/**
+ * @def PREFERRED_H(o)
+ * Set the preferred height of the widget
+ */
#define PREFERRED_H(o) EWL_OBJECT(o)->preferred.h
+/**
+ * @def MAXIMUM_W(o)
+ * Set the maximum width of the widget
+ */
#define MAXIMUM_W(o) EWL_OBJECT(o)->maximum.w
+
+/**
+ * @def MAXIMUM_H(o)
+ * Set the maximum height of the object
+ */
#define MAXIMUM_H(o) EWL_OBJECT(o)->maximum.h
+/**
+ * @def MINIMUM_W(o)
+ * Set the minimum width of the object
+ */
#define MINIMUM_W(o) EWL_OBJECT(o)->minimum.w
+
+/**
+ * @def MINIMUM_H(o)
+ * Set the minimum height of the object
+ */
#define MINIMUM_H(o) EWL_OBJECT(o)->minimum.h
+/**
+ * @def ewl_object_custom_size_set(o, w, h)
+ * @param o: The object to work with
+ * @param w: The width to set
+ * @param h: The height to set
+ * A convenience method to set a custom size onto a widget
+ */
#define ewl_object_custom_size_set(o, w, h) \
{ \
ewl_object_minimum_size_set(o, w, h); \
@@ -288,6 +349,12 @@
ewl_object_fill_policy_set(o, EWL_FLAG_FILL_NONE); \
}
+/**
+ * @def ewl_object_custom_w_set(o, w)
+ * @param o: The object to work with
+ * @param w: The width to set
+ * A convenience method to set a custom width onto a widget
+ */
#define ewl_object_custom_w_set(o, w) \
{ \
ewl_object_maximum_w_set(o, w); \
@@ -296,6 +363,12 @@
~(EWL_FLAG_FILL_HFILL |
EWL_FLAG_FILL_HSHRINK)); \
}
+/**
+ * @def ewl_object_custom_h_set(o, h)
+ * @param o: The object to work with
+ * @param h: The height to set
+ * A convenience method to set a custom height onto a widget
+ */
#define ewl_object_custom_h_set(o, h) \
{ \
ewl_object_maximum_h_set(o, h); \
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_paned.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -3 -r1.28 -r1.29
--- ewl_paned.c 20 Apr 2006 02:58:01 -0000 1.28
+++ ewl_paned.c 11 May 2006 04:01:20 -0000 1.29
@@ -643,6 +643,12 @@
DLEAVE_FUNCTION(DLEVEL_STABLE);
}
+/**
+ * @param g: The grabber to work with
+ * @param placed: The placed value to set
+ * @return Returns no value
+ * @brief Set if the grabber has been placed or not
+ */
void
ewl_paned_grabber_placed_set(Ewl_Paned_Grabber *g, unsigned int placed)
{
@@ -655,6 +661,11 @@
DLEAVE_FUNCTION(DLEVEL_STABLE);
}
+/**
+ * @param g: The grabber to work with
+ * @return Returns if the placed setting of the grabber
+ * @brief Retrieves the placed setting of the grabber
+ */
unsigned int
ewl_paned_grabber_placed_get(Ewl_Paned_Grabber *g)
{
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_scrollpane.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -3 -r1.15 -r1.16
--- ewl_scrollpane.c 27 Apr 2006 05:07:44 -0000 1.15
+++ ewl_scrollpane.c 11 May 2006 04:01:20 -0000 1.16
@@ -10,11 +10,11 @@
Ewl_Widget *
ewl_scrollpane_new(void)
{
- Ewl_ScrollPane *s;
+ Ewl_Scrollpane *s;
DENTER_FUNCTION(DLEVEL_UNSTABLE);
- s = NEW(Ewl_ScrollPane, 1);
+ s = NEW(Ewl_Scrollpane, 1);
if (!s)
DRETURN_PTR(NULL, DLEVEL_UNSTABLE);
@@ -34,7 +34,7 @@
* Sets up default callbacks and field values for the scrollpane @a s.
*/
int
-ewl_scrollpane_init(Ewl_ScrollPane *s)
+ewl_scrollpane_init(Ewl_Scrollpane *s)
{
Ewl_Widget *w;
@@ -132,7 +132,7 @@
* The scrollbar flags for the horizontal scrollbar are set to @a f.
*/
void
-ewl_scrollpane_hscrollbar_flag_set(Ewl_ScrollPane *s, Ewl_ScrollPane_Flags f)
+ewl_scrollpane_hscrollbar_flag_set(Ewl_Scrollpane *s, Ewl_Scrollpane_Flags f)
{
DENTER_FUNCTION(DLEVEL_STABLE);
DCHECK_PARAM_PTR("s", s);
@@ -161,7 +161,7 @@
* The scrollbar flags for the vertical scrollbar are set to @a f.
*/
void
-ewl_scrollpane_vscrollbar_flag_set(Ewl_ScrollPane *s, Ewl_ScrollPane_Flags f)
+ewl_scrollpane_vscrollbar_flag_set(Ewl_Scrollpane *s, Ewl_Scrollpane_Flags f)
{
DENTER_FUNCTION(DLEVEL_STABLE);
DCHECK_PARAM_PTR("s", s);
@@ -186,8 +186,8 @@
* @return Returns the flags of the horizontal scrollbar, 0 on failure.
* @brief Get flags for horizontal scrollbar
*/
-Ewl_ScrollPane_Flags
-ewl_scrollpane_hscrollbar_flag_get(Ewl_ScrollPane *s)
+Ewl_Scrollpane_Flags
+ewl_scrollpane_hscrollbar_flag_get(Ewl_Scrollpane *s)
{
DENTER_FUNCTION(DLEVEL_STABLE);
DCHECK_PARAM_PTR_RET("s", s, 0);
@@ -201,8 +201,8 @@
* @return Returns the flags of the vertical scrollbar on success, 0 on
failure.
* @brief Get flags for vertical scrollbar
*/
-Ewl_ScrollPane_Flags
-ewl_scrollpane_vscrollbar_flag_get(Ewl_ScrollPane *s)
+Ewl_Scrollpane_Flags
+ewl_scrollpane_vscrollbar_flag_get(Ewl_Scrollpane *s)
{
DENTER_FUNCTION(DLEVEL_STABLE);
DCHECK_PARAM_PTR_RET("s", s, 0);
@@ -217,7 +217,7 @@
* @brief Retrieves the value of the horizontal scrollbar in @a s.
*/
double
-ewl_scrollpane_hscrollbar_value_get(Ewl_ScrollPane *s)
+ewl_scrollpane_hscrollbar_value_get(Ewl_Scrollpane *s)
{
DENTER_FUNCTION(DLEVEL_STABLE);
DCHECK_PARAM_PTR_RET("s", s, 0.0);
@@ -233,7 +233,7 @@
* @brief Retrieves the value of the vertical scrollbar in @a s.
*/
double
-ewl_scrollpane_vscrollbar_value_get(Ewl_ScrollPane *s)
+ewl_scrollpane_vscrollbar_value_get(Ewl_Scrollpane *s)
{
DENTER_FUNCTION(DLEVEL_STABLE);
DCHECK_PARAM_PTR_RET("s", s, 0.0);
@@ -250,7 +250,7 @@
* @brief Set the value of the horizontal scrollbar in @a s to @a val
*/
void
-ewl_scrollpane_hscrollbar_value_set(Ewl_ScrollPane *s, double val)
+ewl_scrollpane_hscrollbar_value_set(Ewl_Scrollpane *s, double val)
{
DENTER_FUNCTION(DLEVEL_STABLE);
DCHECK_PARAM_PTR("s", s);
@@ -268,7 +268,7 @@
* @brief Set the value of the vertical scrollbar in @a s to @a val
*/
void
-ewl_scrollpane_vscrollbar_value_set(Ewl_ScrollPane *s, double val)
+ewl_scrollpane_vscrollbar_value_set(Ewl_Scrollpane *s, double val)
{
DENTER_FUNCTION(DLEVEL_STABLE);
DCHECK_PARAM_PTR("s", s);
@@ -286,7 +286,7 @@
* @brief Retrives the value of the stepping of the vertical scrollbar in @a s.
*/
double
-ewl_scrollpane_hscrollbar_step_get(Ewl_ScrollPane *s)
+ewl_scrollpane_hscrollbar_step_get(Ewl_Scrollpane *s)
{
DENTER_FUNCTION(DLEVEL_STABLE);
DCHECK_PARAM_PTR_RET("s", s, 0.0);
@@ -303,7 +303,7 @@
* @brief Retrives the value of the stepping of the vertical scrollbar in @a s.
*/
double
-ewl_scrollpane_vscrollbar_step_get(Ewl_ScrollPane *s)
+ewl_scrollpane_vscrollbar_step_get(Ewl_Scrollpane *s)
{
DENTER_FUNCTION(DLEVEL_STABLE);
DCHECK_PARAM_PTR_RET("s", s, 0.0);
@@ -320,7 +320,7 @@
ewl_scrollpane_configure_cb(Ewl_Widget *w, void *ev_data __UNUSED__,
void *user_data __UNUSED__)
{
- Ewl_ScrollPane *s;
+ Ewl_Scrollpane *s;
int vs_width = 0;
int hs_height = 0;
int b_width, b_height;
@@ -482,7 +482,7 @@
Ewl_Embed *emb;
Ewl_Widget *focus;
Ewl_Widget *bar = NULL;
- Ewl_ScrollPane *s = EWL_SCROLLPANE(w);
+ Ewl_Scrollpane *s = EWL_SCROLLPANE(w);
DENTER_FUNCTION(DLEVEL_STABLE);
DCHECK_PARAM_PTR("w", w);
@@ -588,7 +588,7 @@
ewl_scrollpane_wheel_scroll_cb(Ewl_Widget *cb, void *ev_data,
void *user_data __UNUSED__)
{
- Ewl_ScrollPane *s;
+ Ewl_Scrollpane *s;
Ewl_Event_Mouse_Wheel *ev;
DENTER_FUNCTION(DLEVEL_STABLE);
@@ -610,7 +610,7 @@
ewl_scrollpane_child_resize_cb(Ewl_Container *parent, Ewl_Widget *child)
{
int pw, ph;
- Ewl_ScrollPane *s;
+ Ewl_Scrollpane *s;
DENTER_FUNCTION(DLEVEL_STABLE);
DCHECK_PARAM_PTR("parent", parent);
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_scrollpane.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- ewl_scrollpane.h 8 May 2006 18:31:51 -0000 1.9
+++ ewl_scrollpane.h 11 May 2006 04:01:20 -0000 1.10
@@ -2,7 +2,7 @@
#define EWL_SCROLLPANE_H
/**
- * @addtogroup Ewl_ScrollPane Ewl_ScrollPane: A Scrollable Viewing Area
+ * @addtogroup Ewl_Scrollpane Ewl_Scrollpane: A Scrollable Viewing Area
* Provides a scrollable area for viewing large sets of widgets in a smaller
* viewable region.
*
@@ -23,20 +23,20 @@
/**
* The scrollpane provides a way to pan around large collections of images.
*/
-typedef struct Ewl_ScrollPane Ewl_ScrollPane;
+typedef struct Ewl_Scrollpane Ewl_Scrollpane;
/**
* @def EWL_SCROLLPANE(scrollpane)
- * Typecasts a pointer to an Ewl_ScrollPane pointer.
+ * Typecasts a pointer to an Ewl_Scrollpane pointer.
*/
-#define EWL_SCROLLPANE(scrollpane) ((Ewl_ScrollPane *) scrollpane)
+#define EWL_SCROLLPANE(scrollpane) ((Ewl_Scrollpane *) scrollpane)
/**
* Inherits from Ewl_Container and extends it to enclose a single widget in
* vertical and horizontal scrollbars for panning around displaying different
* regions of the enclosed widget.
*/
-struct Ewl_ScrollPane
+struct Ewl_Scrollpane
{
Ewl_Container container; /**< Inherit from Ewl_Container */
@@ -44,29 +44,29 @@
Ewl_Widget *box; /**< Lays out enclosed widget */
Ewl_Widget *hscrollbar; /**< Horizontal scrollbar */
Ewl_Widget *vscrollbar; /**< Vertical scrollbar */
- Ewl_ScrollPane_Flags hflag; /**< Flags for horizontal scrollbar */
- Ewl_ScrollPane_Flags vflag; /**< Flags for vertical scrollbar */
+ Ewl_Scrollpane_Flags hflag; /**< Flags for horizontal scrollbar */
+ Ewl_Scrollpane_Flags vflag; /**< Flags for vertical scrollbar */
};
Ewl_Widget *ewl_scrollpane_new(void);
-int ewl_scrollpane_init(Ewl_ScrollPane *s);
+int ewl_scrollpane_init(Ewl_Scrollpane *s);
-void ewl_scrollpane_hscrollbar_flag_set(Ewl_ScrollPane *s,
- Ewl_ScrollPane_Flags f);
-void ewl_scrollpane_vscrollbar_flag_set(Ewl_ScrollPane *s,
- Ewl_ScrollPane_Flags f);
+void ewl_scrollpane_hscrollbar_flag_set(Ewl_Scrollpane *s,
+ Ewl_Scrollpane_Flags f);
+void ewl_scrollpane_vscrollbar_flag_set(Ewl_Scrollpane *s,
+ Ewl_Scrollpane_Flags f);
-Ewl_ScrollPane_Flags ewl_scrollpane_hscrollbar_flag_get(Ewl_ScrollPane *s);
-Ewl_ScrollPane_Flags ewl_scrollpane_vscrollbar_flag_get(Ewl_ScrollPane *s);
+Ewl_Scrollpane_Flags ewl_scrollpane_hscrollbar_flag_get(Ewl_Scrollpane *s);
+Ewl_Scrollpane_Flags ewl_scrollpane_vscrollbar_flag_get(Ewl_Scrollpane *s);
-double ewl_scrollpane_hscrollbar_value_get(Ewl_ScrollPane *s);
-double ewl_scrollpane_vscrollbar_value_get(Ewl_ScrollPane *s);
+double ewl_scrollpane_hscrollbar_value_get(Ewl_Scrollpane *s);
+double ewl_scrollpane_vscrollbar_value_get(Ewl_Scrollpane *s);
-void ewl_scrollpane_hscrollbar_value_set(Ewl_ScrollPane *s, double
val);
-void ewl_scrollpane_vscrollbar_value_set(Ewl_ScrollPane *s, double
val);
+void ewl_scrollpane_hscrollbar_value_set(Ewl_Scrollpane *s, double
val);
+void ewl_scrollpane_vscrollbar_value_set(Ewl_Scrollpane *s, double
val);
-double ewl_scrollpane_hscrollbar_step_get(Ewl_ScrollPane *s);
-double ewl_scrollpane_vscrollbar_step_get(Ewl_ScrollPane *s);
+double ewl_scrollpane_hscrollbar_step_get(Ewl_Scrollpane *s);
+double ewl_scrollpane_vscrollbar_step_get(Ewl_Scrollpane *s);
/*
* Internally used callbacks, override at your own risk.
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_text.c,v
retrieving revision 1.97
retrieving revision 1.98
diff -u -3 -r1.97 -r1.98
--- ewl_text.c 20 Apr 2006 04:09:51 -0000 1.97
+++ ewl_text.c 11 May 2006 04:01:20 -0000 1.98
@@ -1006,9 +1006,9 @@
DRETURN_INT(((tx) ? tx->size : 0), DLEVEL_STABLE);
}
-/*
+/**
* @param t: The Ewl_Text to set the colour on
- * @parma r: The red value
+ * @param r: The red value
* @param g: The green value
* @param b: The blue value
* @param a: The alpha value
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_tree.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -3 -r1.34 -r1.35
--- ewl_tree.c 31 Mar 2006 05:25:00 -0000 1.34
+++ ewl_tree.c 11 May 2006 04:01:20 -0000 1.35
@@ -870,6 +870,10 @@
}
/**
+ * @param node: The node to work with
+ * @param expand: The expand setting for the node
+ * @return Returns no value
+ * @brief Sets the expand value into the node
*/
void
ewl_tree_node_expandable_set(Ewl_Tree_Node *node, int expand)
@@ -900,6 +904,9 @@
}
/**
+ * @param node: The node to work with
+ * @return Returns the expand setting of the node
+ * @brief Retrieves the expand setting from the node
*/
int
ewl_tree_node_expandable_get(Ewl_Tree_Node *node)
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_tree2.h,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -3 -r1.23 -r1.24
--- ewl_tree2.h 26 Apr 2006 04:32:03 -0000 1.23
+++ ewl_tree2.h 11 May 2006 04:01:20 -0000 1.24
@@ -102,6 +102,9 @@
*/
#define EWL_TREE2_COLUMN(c) ((Ewl_Tree2_Column *)c)
+/**
+ * The Ewl_Tree2_Column type
+ */
typedef struct Ewl_Tree2_Column Ewl_Tree2_Column;
/**
@@ -119,6 +122,9 @@
*/
#define EWL_TREE2(t) ((Ewl_Tree2 *)t)
+/**
+ * The Ewl_Tree2 widget
+ */
typedef struct Ewl_Tree2 Ewl_Tree2;
/**
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_view.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- ewl_view.h 15 Mar 2006 04:03:48 -0000 1.5
+++ ewl_view.h 11 May 2006 04:01:20 -0000 1.6
@@ -15,6 +15,10 @@
* View callback for the constructor for a data row
*/
#define EWL_VIEW_CONSTRUCTOR(f) ((Ewl_View_Constructor)f)
+
+/**
+ * A typedef to shorten the definition of the view_constructor callbacks.
+ */
typedef Ewl_Widget *(*Ewl_View_Constructor)(void);
/**
@@ -22,6 +26,10 @@
* View callback to set data into a given widget
*/
#define EWL_VIEW_ASSIGN(f) ((Ewl_View_Assign)f)
+
+/**
+ * A typedef to shorten the definition of the view_assign callbacks.
+ */
typedef void (*Ewl_View_Assign)(Ewl_Widget *w, void *data);
/**
@@ -29,6 +37,10 @@
* View callback to get the header for a given column
*/
#define EWL_VIEW_HEADER_GET(f) ((Ewl_View_Header_Fetch)f)
+
+/**
+ * A typedef to shorten the definition of the view_header_fetch callbacks.
+ */
typedef Ewl_Widget *(*Ewl_View_Header_Fetch)(void *data, int column);
/**
@@ -36,6 +48,10 @@
* Typecasts a pointer to an Ewl_View pointer.
*/
#define EWL_VIEW(view) ((Ewl_View *)view)
+
+/**
+ * The Ewl_View type
+ */
typedef struct Ewl_View Ewl_View;
/**
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs