Enlightenment CVS committal Author : codewarrior Project : e17 Module : libs/etk
Dir : e17/libs/etk/src/lib Modified Files: etk_box.h etk_button.h etk_colorpicker.h etk_combobox.h etk_combobox_entry.h etk_dialog.h etk_dnd.h etk_drag.h etk_entry.h etk_event.h etk_filechooser_widget.h etk_image.h etk_mdi_area.h etk_mdi_window.h etk_message_dialog.h etk_popup_window.h etk_progress_bar.h etk_property.h etk_scrolled_view.h etk_selection.h etk_shadow.h etk_slider.h etk_stock.h etk_string.h etk_table.h etk_textblock.h etk_theme.h etk_tool_button.h etk_toolbar.h etk_toplevel.h etk_tree.h etk_type.h etk_types.h etk_viewport.h etk_widget.h etk_window.h Log Message: Cleanups. =================================================================== RCS file: /cvs/e/e17/libs/etk/src/lib/etk_box.h,v retrieving revision 1.12 retrieving revision 1.13 diff -u -3 -r1.12 -r1.13 --- etk_box.h 2 Apr 2007 09:48:29 -0000 1.12 +++ etk_box.h 27 Jul 2007 16:24:13 -0000 1.13 @@ -36,7 +36,7 @@ /** @brief The two groups where the children can be packed: the start-group and the end-group */ -typedef enum Etk_Box_Group +typedef enum { ETK_BOX_START, /**< The start-group of children: the children in this group are displayed * at the start (left or top) of the box */ @@ -45,7 +45,7 @@ } Etk_Box_Group; /** @brief Describes how a child of the box expands and fills the space */ -typedef enum Etk_Box_Fill_Policy +typedef enum { ETK_BOX_NONE = 0, /**< The child does not fill or expand */ ETK_BOX_EXPAND = 1 << 0, /**< The cell containing the child will expand to take all the available space */ =================================================================== RCS file: /cvs/e/e17/libs/etk/src/lib/etk_button.h,v retrieving revision 1.17 retrieving revision 1.18 diff -u -3 -r1.17 -r1.18 --- etk_button.h 1 Apr 2007 19:09:31 -0000 1.17 +++ etk_button.h 27 Jul 2007 16:24:13 -0000 1.18 @@ -21,7 +21,7 @@ /** @brief The button's style (icon, text, both vertically, both horizontally) */ -typedef enum Etk_Button_Style +typedef enum { ETK_BUTTON_ICON, /**< Only the icon is visible */ ETK_BUTTON_TEXT, /**< Only the label is visible */ =================================================================== RCS file: /cvs/e/e17/libs/etk/src/lib/etk_colorpicker.h,v retrieving revision 1.16 retrieving revision 1.17 diff -u -3 -r1.16 -r1.17 --- etk_colorpicker.h 2 Apr 2007 09:48:29 -0000 1.16 +++ etk_colorpicker.h 27 Jul 2007 16:24:13 -0000 1.17 @@ -28,7 +28,7 @@ /** @brief The different color modes that can be used by the colorpicker */ -typedef enum Etk_Colorpicker_Mode +typedef enum { ETK_COLORPICKER_H, /**< The "Hue" mode */ ETK_COLORPICKER_S, /**< The "Saturation" mode */ =================================================================== RCS file: /cvs/e/e17/libs/etk/src/lib/etk_combobox.h,v retrieving revision 1.20 retrieving revision 1.21 diff -u -3 -r1.20 -r1.21 --- etk_combobox.h 2 Apr 2007 09:48:29 -0000 1.20 +++ etk_combobox.h 27 Jul 2007 16:24:13 -0000 1.21 @@ -37,7 +37,7 @@ /** @brief The different types of widgets that can be contained by a combobox's column */ -typedef enum Etk_Combobox_Column_Type +typedef enum { ETK_COMBOBOX_LABEL, /**< The column's widget is a label */ ETK_COMBOBOX_IMAGE, /**< The column's widget is an image */ @@ -45,7 +45,7 @@ } Etk_Combobox_Column_Type; /** @brief Indicates how a widget of a combobox-column should fill and expand */ -typedef enum Etk_Combobox_Fill_Policy +typedef enum { ETK_COMBOBOX_NONE = 0, /* TODOC */ ETK_COMBOBOX_EXPAND = 1 << 0, =================================================================== RCS file: /cvs/e/e17/libs/etk/src/lib/etk_combobox_entry.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- etk_combobox_entry.h 28 Jun 2007 11:05:44 -0000 1.1 +++ etk_combobox_entry.h 27 Jul 2007 16:24:13 -0000 1.2 @@ -37,7 +37,7 @@ /** @brief The different types of widgets that can be contained by a combobox_entry's column */ -typedef enum Etk_Combobox_Entry_Column_Type +typedef enum { ETK_COMBOBOX_ENTRY_LABEL, /**< The column's widget is a label */ ETK_COMBOBOX_ENTRY_IMAGE, /**< The column's widget is an image */ @@ -45,7 +45,7 @@ } Etk_Combobox_Entry_Column_Type; /** @brief Indicates how a widget of a combobox_entry-column should fill and expand */ -typedef enum Etk_Combobox_Entry_Fill_Policy +typedef enum { ETK_COMBOBOX_ENTRY_NONE = 0, /* TODOC */ ETK_COMBOBOX_ENTRY_EXPAND = 1 << 0, =================================================================== RCS file: /cvs/e/e17/libs/etk/src/lib/etk_dialog.h,v retrieving revision 1.12 retrieving revision 1.13 diff -u -3 -r1.12 -r1.13 --- etk_dialog.h 2 Apr 2007 09:48:29 -0000 1.12 +++ etk_dialog.h 27 Jul 2007 16:24:13 -0000 1.13 @@ -26,7 +26,7 @@ /** @brief Some common response IDs to use with an Etk_Dialog */ -typedef enum Etk_Dialog_Response_ID +typedef enum { ETK_RESPONSE_NONE = -1, /**< Response: None */ ETK_RESPONSE_REJECT = -2, /**< Response: Reject */ =================================================================== RCS file: /cvs/e/e17/libs/etk/src/lib/etk_dnd.h,v retrieving revision 1.10 retrieving revision 1.11 diff -u -3 -r1.10 -r1.11 --- etk_dnd.h 6 Oct 2006 17:04:14 -0000 1.10 +++ etk_dnd.h 27 Jul 2007 16:24:13 -0000 1.11 @@ -21,13 +21,13 @@ ETK_SELECTION_CONTENT_CUSTOM } Etk_Selection_Content; -struct _Etk_Event_Selection_Request +struct Etk_Event_Selection_Request { void *data; Etk_Selection_Content content; }; -struct _Etk_Selection_Data +struct Etk_Selection_Data { unsigned char *data; int length; @@ -35,21 +35,21 @@ int (*free)(void *data); }; -struct _Etk_Selection_Data_Files +struct Etk_Selection_Data_Files { Etk_Selection_Data data; char **files; int num_files; }; -struct _Etk_Selection_Data_Text +struct Etk_Selection_Data_Text { Etk_Selection_Data data; char *text; }; -struct _Etk_Selection_Data_Targets +struct Etk_Selection_Data_Targets { Etk_Selection_Data data; char **targets; =================================================================== RCS file: /cvs/e/e17/libs/etk/src/lib/etk_drag.h,v retrieving revision 1.4 retrieving revision 1.5 diff -u -3 -r1.4 -r1.5 --- etk_drag.h 2 Apr 2007 09:48:29 -0000 1.4 +++ etk_drag.h 27 Jul 2007 16:24:14 -0000 1.5 @@ -9,7 +9,7 @@ #define ETK_DRAG(obj) (ETK_OBJECT_CAST((obj), ETK_DRAG_TYPE, Etk_Drag)) #define ETK_IS_DRAG(obj) (ETK_OBJECT_CHECK_TYPE((obj), ETK_DRAG_TYPE)) -struct _Etk_Drag +struct Etk_Drag { /* private: */ /* Inherit from Etk_Window */ =================================================================== RCS file: /cvs/e/e17/libs/etk/src/lib/etk_entry.h,v retrieving revision 1.13 retrieving revision 1.14 diff -u -3 -r1.13 -r1.14 --- etk_entry.h 12 Mar 2007 01:46:13 -0000 1.13 +++ etk_entry.h 27 Jul 2007 16:24:14 -0000 1.14 @@ -21,7 +21,7 @@ /** @brief The position of the image in the entry */ -typedef enum Etk_Entry_Image_Position +typedef enum { ETK_ENTRY_IMAGE_PRIMARY, /**< The image is primary, to the left of the editable object */ ETK_ENTRY_IMAGE_SECONDARY /**< The image is secondary, to the right of the editable object */ =================================================================== RCS file: /cvs/e/e17/libs/etk/src/lib/etk_event.h,v retrieving revision 1.6 retrieving revision 1.7 diff -u -3 -r1.6 -r1.7 --- etk_event.h 2 Apr 2007 09:48:29 -0000 1.6 +++ etk_event.h 27 Jul 2007 16:24:14 -0000 1.7 @@ -13,7 +13,7 @@ /** @brief The different types of input events */ -typedef enum Etk_Event_Type +typedef enum { ETK_EVENT_MOUSE_MOVE, /**< Emitted when the mouse is moved */ ETK_EVENT_MOUSE_DOWN, /**< Emitted when a mouse button is pressed */ @@ -25,7 +25,7 @@ } Etk_Event_Type; /** @brief The keyboard modifiers active when the event has been emitted */ -typedef enum Etk_Modifiers +typedef enum { ETK_MODIFIER_NONE = 0, /**< No active modifiers */ ETK_MODIFIER_CTRL = 1 << 0, /**< "Control" is pressed */ @@ -35,7 +35,7 @@ } Etk_Modifiers; /** @brief The keyboard locks active when the event has been emitted */ -typedef enum Etk_Locks +typedef enum { ETK_LOCK_NONE = 0, /**< No locks are active */ ETK_LOCK_NUM = 1 << 0, /**< "Num" lock is active */ @@ -44,7 +44,7 @@ } Etk_Locks; /** @brief A flag describing whether the click was a single, double or triple click */ -typedef enum Etk_Mouse_Flags +typedef enum { ETK_MOUSE_NONE = 0, /**< A single click */ ETK_MOUSE_DOUBLE_CLICK = 1 << 0, /**< A double click */ @@ -52,7 +52,7 @@ } Etk_Mouse_Flags; /** @brief The scroll direction corresponding to the wheel event */ -typedef enum Etk_Wheel_Direction +typedef enum { ETK_WHEEL_VERTICAL, /**< Vertical scrolling */ ETK_WHEEL_HORIZONTAL /**< Horizontal scrolling */ =================================================================== RCS file: /cvs/e/e17/libs/etk/src/lib/etk_filechooser_widget.h,v retrieving revision 1.5 retrieving revision 1.6 diff -u -3 -r1.5 -r1.6 --- etk_filechooser_widget.h 2 Apr 2007 09:48:29 -0000 1.5 +++ etk_filechooser_widget.h 27 Jul 2007 16:24:14 -0000 1.6 @@ -22,7 +22,7 @@ * @struct Etk_Filechooser_Widget * @brief An Etk_Filechooser_Widget is a widget used to select several files */ -struct _Etk_Filechooser_Widget +struct Etk_Filechooser_Widget { /* private: */ /* Inherit from Etk_Widget */ =================================================================== RCS file: /cvs/e/e17/libs/etk/src/lib/etk_image.h,v retrieving revision 1.14 retrieving revision 1.15 diff -u -3 -r1.14 -r1.15 --- etk_image.h 2 Apr 2007 09:48:29 -0000 1.14 +++ etk_image.h 27 Jul 2007 16:24:14 -0000 1.15 @@ -21,7 +21,7 @@ /** @brief The different sources that an Etk_Image can use */ -typedef enum Etk_Image_Source +typedef enum { ETK_IMAGE_FILE, /**< The image is loaded from an image file */ ETK_IMAGE_EDJE, /**< The image is loaded from an Edje file */ =================================================================== RCS file: /cvs/e/e17/libs/etk/src/lib/etk_mdi_area.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- etk_mdi_area.h 20 Jul 2007 22:45:27 -0000 1.1 +++ etk_mdi_area.h 27 Jul 2007 16:24:14 -0000 1.2 @@ -22,7 +22,7 @@ * @brief A container widget for Etk_Mdi_Window * @structinfo */ -struct _Etk_Mdi_Area +struct Etk_Mdi_Area { /* private: */ /* Inherit from Etk_Container */ =================================================================== RCS file: /cvs/e/e17/libs/etk/src/lib/etk_mdi_window.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- etk_mdi_window.h 20 Jul 2007 22:45:27 -0000 1.2 +++ etk_mdi_window.h 27 Jul 2007 16:24:14 -0000 1.3 @@ -18,13 +18,13 @@ /** Check if the object is an Etk_Mdi_Window */ #define ETK_IS_MDI_WINDOW(obj) (ETK_OBJECT_CHECK_TYPE((obj), ETK_MDI_WINDOW_TYPE)) -typedef struct _Etk_Mdi_Window_Data Etk_Mdi_Window_Data; +typedef struct Etk_Mdi_Window_Data Etk_Mdi_Window_Data; /** * @brief @widget A widget in a mdi area * @structinfo */ -struct _Etk_Mdi_Window +struct Etk_Mdi_Window { /* private: */ /* Inherit from Etk_Bin */ =================================================================== RCS file: /cvs/e/e17/libs/etk/src/lib/etk_message_dialog.h,v retrieving revision 1.4 retrieving revision 1.5 diff -u -3 -r1.4 -r1.5 --- etk_message_dialog.h 2 Apr 2007 09:48:29 -0000 1.4 +++ etk_message_dialog.h 27 Jul 2007 16:24:14 -0000 1.5 @@ -27,7 +27,7 @@ /** @brief The type of the message of the dialog */ -typedef enum Etk_Message_Dialog_Type +typedef enum { ETK_MESSAGE_DIALOG_INFO, /**< Informational message*/ ETK_MESSAGE_DIALOG_WARNING, /**< Warning message */ @@ -37,7 +37,7 @@ /** @brief Some common sets of buttons for the message dialog. To use your own buttons, you can use * ETK_MESSAGE_DIALOG_NONE and add your buttons with etk_dialog_button_add() */ -typedef enum Etk_Message_Dialog_Buttons +typedef enum { ETK_MESSAGE_DIALOG_NONE, ETK_MESSAGE_DIALOG_OK, =================================================================== RCS file: /cvs/e/e17/libs/etk/src/lib/etk_popup_window.h,v retrieving revision 1.8 retrieving revision 1.9 diff -u -3 -r1.8 -r1.9 --- etk_popup_window.h 2 Apr 2007 09:48:29 -0000 1.8 +++ etk_popup_window.h 27 Jul 2007 16:24:14 -0000 1.9 @@ -21,7 +21,7 @@ /** @brief The directions to which the popup window is popped up */ -typedef enum Etk_Popup_Direction +typedef enum { ETK_POPUP_BELOW_RIGHT, /**< The window is popped up on the right, below the given position (default) */ ETK_POPUP_BELOW_LEFT, /**< The window is popped up on the left, below the given position */ =================================================================== RCS file: /cvs/e/e17/libs/etk/src/lib/etk_progress_bar.h,v retrieving revision 1.10 retrieving revision 1.11 diff -u -3 -r1.10 -r1.11 --- etk_progress_bar.h 2 Apr 2007 09:48:29 -0000 1.10 +++ etk_progress_bar.h 27 Jul 2007 16:24:14 -0000 1.11 @@ -25,7 +25,7 @@ /** @brief Possible growth directions for the progress bar (left to right by default) */ -typedef enum Etk_Progress_Bar_Direction +typedef enum { ETK_PROGRESS_BAR_LEFT_TO_RIGHT, /**< The progress bar grows from left to right */ ETK_PROGRESS_BAR_RIGHT_TO_LEFT /**< The progress bar grows from right to left */ =================================================================== RCS file: /cvs/e/e17/libs/etk/src/lib/etk_property.h,v retrieving revision 1.10 retrieving revision 1.11 diff -u -3 -r1.10 -r1.11 --- etk_property.h 18 Jun 2007 22:24:13 -0000 1.10 +++ etk_property.h 27 Jul 2007 16:24:14 -0000 1.11 @@ -13,7 +13,7 @@ */ /** @brief The type of a property */ -typedef enum Etk_Property_Type +typedef enum { ETK_PROPERTY_NONE, /**< Used when the property is uninitialized */ ETK_PROPERTY_INT, /**< The value of the property is an integer */ @@ -36,7 +36,7 @@ * You can also specify if the property needs to be initialized to its default value * at the constuction of a new object with ETK_PROPERTY_CONSTRUCT. */ -typedef enum Etk_Property_Flags +typedef enum { ETK_PROPERTY_NO_ACCESS = 1 << 0, /**< Used when the property type is ETK_PROPERTY_OTHER */ ETK_PROPERTY_READABLE = 1 << 1, /**< The value of the property is readable */ @@ -68,8 +68,8 @@ * @structinfo */ -typedef struct _Etk_Property_Value_Value Etk_Property_Value_Value; -struct _Etk_Property_Value_Value +typedef struct Etk_Property_Value_Value Etk_Property_Value_Value; +struct Etk_Property_Value_Value { int int_value; Etk_Bool bool_value; =================================================================== RCS file: /cvs/e/e17/libs/etk/src/lib/etk_scrolled_view.h,v retrieving revision 1.9 retrieving revision 1.10 diff -u -3 -r1.9 -r1.10 --- etk_scrolled_view.h 2 Apr 2007 09:48:29 -0000 1.9 +++ etk_scrolled_view.h 27 Jul 2007 16:24:14 -0000 1.10 @@ -24,7 +24,7 @@ * @brief Etk_Scrolled_View_Policy describes whether the scrollbar should be always visible, always hidden, * or whether it should be shown/hidden automatically */ -typedef enum Etk_Scrolled_View_Policy +typedef enum { ETK_POLICY_AUTO, /**< The scrollbar is shown and hidden automatically whether or not the child can fit * entirely in the scrolled view */ =================================================================== RCS file: /cvs/e/e17/libs/etk/src/lib/etk_selection.h,v retrieving revision 1.4 retrieving revision 1.5 diff -u -3 -r1.4 -r1.5 --- etk_selection.h 2 Apr 2007 09:48:29 -0000 1.4 +++ etk_selection.h 27 Jul 2007 16:24:14 -0000 1.5 @@ -16,7 +16,7 @@ */ /** @brief The different types of selection */ -typedef enum Etk_Selection_Type +typedef enum { ETK_SELECTION_PRIMARY, /**< The primary selection: used when a text is selected. * Its content is traditionally pasted when the middle button of the mouse is pressed */ @@ -25,7 +25,7 @@ } Etk_Selection_Type; /** @brief The different types of content of a selection */ -typedef enum Etk_Selection_Content_Type +typedef enum { ETK_SELECTION_TEXT /**< The content of the selection is a text */ } Etk_Selection_Content_Type; =================================================================== RCS file: /cvs/e/e17/libs/etk/src/lib/etk_shadow.h,v retrieving revision 1.5 retrieving revision 1.6 diff -u -3 -r1.5 -r1.6 --- etk_shadow.h 2 Apr 2007 09:48:29 -0000 1.5 +++ etk_shadow.h 27 Jul 2007 16:24:14 -0000 1.6 @@ -21,7 +21,7 @@ /** @brief The different types of shadows */ -typedef enum Etk_Shadow_Type +typedef enum { ETK_SHADOW_NONE, /* TODOC */ ETK_SHADOW_INSIDE, /* TODOC */ @@ -29,7 +29,7 @@ } Etk_Shadow_Type; /** @brief The different edges where a shadow can be */ -typedef enum Etk_Shadow_Edges +typedef enum { ETK_SHADOW_NO_EDGE = 0, /* TODOC */ ETK_SHADOW_LEFT = 1 << 0, /* TODOC */ =================================================================== RCS file: /cvs/e/e17/libs/etk/src/lib/etk_slider.h,v retrieving revision 1.7 retrieving revision 1.8 diff -u -3 -r1.7 -r1.8 --- etk_slider.h 2 Apr 2007 09:48:29 -0000 1.7 +++ etk_slider.h 27 Jul 2007 16:24:14 -0000 1.8 @@ -35,7 +35,7 @@ /** @brief The different kinds of update policy for a slider */ -typedef enum Etk_Slider_Update_Policy +typedef enum { ETK_SLIDER_CONTINUOUS, /**< The slider will be updated as soon as its button is dragged */ ETK_SLIDER_DISCONTINUOUS, /**< The slider will be updated as soon as its button gets released */ =================================================================== RCS file: /cvs/e/e17/libs/etk/src/lib/etk_stock.h,v retrieving revision 1.15 retrieving revision 1.16 diff -u -3 -r1.15 -r1.16 --- etk_stock.h 27 Jan 2007 05:14:32 -0000 1.15 +++ etk_stock.h 27 Jul 2007 16:24:14 -0000 1.16 @@ -13,7 +13,7 @@ * @enum Etk_Stock_Size * @brief The size of a stock icon */ -typedef enum _Etk_Stock_Size +typedef enum { ETK_STOCK_SMALL, /* 16x16 */ ETK_STOCK_MEDIUM, /* 22x22 */ @@ -24,7 +24,7 @@ * @enum Etk_Stock_Id * @brief The Id of a stock icon */ -typedef enum _Etk_Stock_Id +typedef enum { ETK_STOCK_NO_STOCK, ETK_STOCK_ADDRESS_BOOK_NEW, =================================================================== RCS file: /cvs/e/e17/libs/etk/src/lib/etk_string.h,v retrieving revision 1.6 retrieving revision 1.7 diff -u -3 -r1.6 -r1.7 --- etk_string.h 2 Apr 2007 09:48:29 -0000 1.6 +++ etk_string.h 27 Jul 2007 16:24:14 -0000 1.7 @@ -22,7 +22,7 @@ * @struct Etk_String * @brief An Etk_String is an easy way to manipulate a string */ -struct _Etk_String +struct Etk_String { /* private: */ /* Inherit from Etk_Object */ =================================================================== RCS file: /cvs/e/e17/libs/etk/src/lib/etk_table.h,v retrieving revision 1.13 retrieving revision 1.14 diff -u -3 -r1.13 -r1.14 --- etk_table.h 29 Jun 2007 09:14:01 -0000 1.13 +++ etk_table.h 27 Jul 2007 16:24:14 -0000 1.14 @@ -22,7 +22,7 @@ /** @brief Describes whether the table should be homogenous horizontally, vertically, * in both directions or not at all */ -typedef enum Etk_Table_Homogeneous +typedef enum { ETK_TABLE_NOT_HOMOGENEOUS = 0, /**< The table is not homogeneous: its cells could have different size */ ETK_TABLE_HHOMOGENEOUS = 1 << 0, /**< The table is homogeneous horizontally. all its cells have the same width */ @@ -31,7 +31,7 @@ } Etk_Table_Homogeneous; /** @brief Describes how a child of the table should fill and expand the space allocated for it */ -typedef enum Etk_Table_Fill_Policy +typedef enum { ETK_TABLE_NONE = 0, /**< The child doesn't fill or expand */ ETK_TABLE_HFILL = 1 << 0, /**< The child fills all the horizontal space allocated to it */ =================================================================== RCS file: /cvs/e/e17/libs/etk/src/lib/etk_textblock.h,v retrieving revision 1.18 retrieving revision 1.19 diff -u -3 -r1.18 -r1.19 --- etk_textblock.h 19 Feb 2007 20:54:55 -0000 1.18 +++ etk_textblock.h 27 Jul 2007 16:24:14 -0000 1.19 @@ -20,7 +20,7 @@ #define ETK_IS_TEXTBLOCK(obj) (ETK_OBJECT_CHECK_TYPE((obj), ETK_TEXTBLOCK_TYPE)) /** @brief The different types of wrapping to apply on a textblock object */ -typedef enum Etk_Textblock_Wrap +typedef enum { ETK_TEXTBLOCK_WRAP_NONE, /**< The text is not wrapped */ ETK_TEXTBLOCK_WRAP_DEFAULT, /**< TODOC */ @@ -29,7 +29,7 @@ } Etk_Textblock_Wrap; /** @brief The different types of node */ -typedef enum Etk_Textblock_Node_Type +typedef enum { ETK_TEXTBLOCK_NODE_ROOT, /**< The node is the root node */ ETK_TEXTBLOCK_NODE_PARAGRAPH, /**< The node is a paragraph node */ @@ -38,7 +38,7 @@ } Etk_Textblock_Node_Type; /** @brief The different types of tag for a node */ -typedef enum Etk_Textblock_Tag_Type +typedef enum { ETK_TEXTBLOCK_TAG_DEFAULT, /**< The default tag: no formatting */ ETK_TEXTBLOCK_TAG_BOLD, /**< The text is bold */ @@ -51,7 +51,7 @@ } Etk_Textblock_Tag_Type; /** @brief The different types of style that can be applied on a text */ -typedef enum Etk_Textblock_Style_Type +typedef enum { ETK_TEXTBLOCK_STYLE_NONE, /**< No style is applied */ ETK_TEXTBLOCK_STYLE_OUTLINE, /**< The text is outlined */ @@ -66,7 +66,7 @@ } Etk_Textblock_Style_Type; /** @brief The different type of underlining for a text */ -typedef enum Etk_Textblock_Underline_Type +typedef enum { ETK_TEXTBLOCK_UNDERLINE_NONE, /**< The text is not underlined */ ETK_TEXTBLOCK_UNDERLINE_SINGLE, /**< The text is underlined by a single line */ @@ -74,7 +74,7 @@ } Etk_Textblock_Underline_Type; /** TODOC */ -typedef enum Etk_Textblock_Gravity +typedef enum { ETK_TEXTBLOCK_GRAVITY_LEFT, ETK_TEXTBLOCK_GRAVITY_RIGHT =================================================================== RCS file: /cvs/e/e17/libs/etk/src/lib/etk_theme.h,v retrieving revision 1.9 retrieving revision 1.10 diff -u -3 -r1.9 -r1.10 --- etk_theme.h 2 Apr 2007 09:48:29 -0000 1.9 +++ etk_theme.h 27 Jul 2007 16:24:14 -0000 1.10 @@ -18,7 +18,7 @@ */ /** @brief The different types of colors */ -typedef enum Etk_Color_Type +typedef enum { ETK_COLOR_FOREGROUND, /**< The default foreground color */ ETK_COLOR_BACKGROUND, /**< The default background color */ =================================================================== RCS file: /cvs/e/e17/libs/etk/src/lib/etk_tool_button.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- etk_tool_button.h 17 Aug 2006 15:44:07 -0000 1.2 +++ etk_tool_button.h 27 Jul 2007 16:24:14 -0000 1.3 @@ -24,7 +24,7 @@ * @brief @widget The structure of a tool button * @structinfo */ -struct _Etk_Tool_Button +struct Etk_Tool_Button { /* private: */ /* Inherit from Etk_Button */ @@ -55,7 +55,7 @@ * @brief @widget The structure of a tool toggle button * @structinfo */ -struct _Etk_Tool_Toggle_Button +struct Etk_Tool_Toggle_Button { /* private: */ /* Inherit from Etk_Toggle_Button */ =================================================================== RCS file: /cvs/e/e17/libs/etk/src/lib/etk_toolbar.h,v retrieving revision 1.9 retrieving revision 1.10 diff -u -3 -r1.9 -r1.10 --- etk_toolbar.h 13 Jul 2007 23:57:29 -0000 1.9 +++ etk_toolbar.h 27 Jul 2007 16:24:14 -0000 1.10 @@ -27,14 +27,14 @@ #define ETK_IS_TOOLBAR(obj) (ETK_OBJECT_CHECK_TYPE((obj), ETK_TOOLBAR_TYPE)) /** @brief The orientation of a toolbar */ -typedef enum Etk_Toolbar_Orientation +typedef enum { ETK_TOOLBAR_HORIZ, /**< The toolbar is horizontal */ ETK_TOOLBAR_VERT /**< The toolbar is vertical */ } Etk_Toolbar_Orientation; /** @brief The style of the toolbar's buttons (icon, text, both vertically, both horizontally) */ -typedef enum Etk_Toolbar_Style +typedef enum { ETK_TOOLBAR_DEFAULT, /**< Use Etk's default policy */ ETK_TOOLBAR_ICON, /**< Only the icon is visible */ =================================================================== RCS file: /cvs/e/e17/libs/etk/src/lib/etk_toplevel.h,v retrieving revision 1.4 retrieving revision 1.5 diff -u -3 -r1.4 -r1.5 --- etk_toplevel.h 2 Apr 2007 09:48:29 -0000 1.4 +++ etk_toplevel.h 27 Jul 2007 16:24:14 -0000 1.5 @@ -21,7 +21,7 @@ /** @brief The different types of mouse pointer */ -typedef enum Etk_Pointer_Type +typedef enum { ETK_POINTER_NONE, ETK_POINTER_DEFAULT, =================================================================== RCS file: /cvs/e/e17/libs/etk/src/lib/etk_tree.h,v retrieving revision 1.36 retrieving revision 1.37 diff -u -3 -r1.36 -r1.37 --- etk_tree.h 10 Jul 2007 02:30:51 -0000 1.36 +++ etk_tree.h 27 Jul 2007 16:24:14 -0000 1.37 @@ -35,7 +35,7 @@ /** @brief The different modes of the tree: List (rows can not have children) or tree (rows can have children) */ -typedef enum Etk_Tree_Mode +typedef enum { ETK_TREE_MODE_LIST, /**< The rows of a list can not have children (the rows can not be folded/unfolded) */ ETK_TREE_MODE_TREE /**< The rows of a tree can have children */ =================================================================== RCS file: /cvs/e/e17/libs/etk/src/lib/etk_type.h,v retrieving revision 1.6 retrieving revision 1.7 diff -u -3 -r1.6 -r1.7 --- etk_type.h 29 Jun 2007 09:14:01 -0000 1.6 +++ etk_type.h 27 Jul 2007 16:24:14 -0000 1.7 @@ -22,7 +22,7 @@ * @brief The type of an Etk_Object: it can have a constructor and a destructor and can inherit from another Etk_Type @n * It also has a list of properties that will describe the state of the instanciated object */ -struct _Etk_Type +struct Etk_Type { /* private: */ char *name; =================================================================== RCS file: /cvs/e/e17/libs/etk/src/lib/etk_types.h,v retrieving revision 1.68 retrieving revision 1.69 diff -u -3 -r1.68 -r1.69 --- etk_types.h 20 Jul 2007 22:45:27 -0000 1.68 +++ etk_types.h 27 Jul 2007 16:24:14 -0000 1.69 @@ -19,8 +19,8 @@ typedef struct Etk_Property_Value Etk_Property_Value; typedef struct Etk_Signal Etk_Signal; typedef struct Etk_Signal_Callback Etk_Signal_Callback; -typedef struct _Etk_String Etk_String; -typedef struct _Etk_Type Etk_Type; +typedef struct Etk_String Etk_String; +typedef struct Etk_Type Etk_Type; typedef void (*Etk_Accumulator)(void *return_value, const void *value_to_accum, void *data); typedef void (*Etk_Constructor)(Etk_Object *object); @@ -48,7 +48,7 @@ typedef struct Etk_Combobox_Entry_Item Etk_Combobox_Entry_Item; typedef struct Etk_Container Etk_Container; typedef struct Etk_Dialog Etk_Dialog; -typedef struct _Etk_Drag Etk_Drag; +typedef struct Etk_Drag Etk_Drag; typedef struct Etk_Embed Etk_Embed; typedef struct Etk_Engine Etk_Engine; typedef struct Etk_Entry Etk_Entry; @@ -61,8 +61,8 @@ typedef struct Etk_Event_Mouse_Down Etk_Event_Mouse_Down; typedef struct Etk_Event_Mouse_Up Etk_Event_Mouse_Up; typedef struct Etk_Event_Mouse_Wheel Etk_Event_Mouse_Wheel; -typedef struct _Etk_Event_Selection_Request Etk_Event_Selection_Request; -typedef struct _Etk_Filechooser_Widget Etk_Filechooser_Widget; +typedef struct Etk_Event_Selection_Request Etk_Event_Selection_Request; +typedef struct Etk_Filechooser_Widget Etk_Filechooser_Widget; typedef struct Etk_Fixed Etk_Fixed; typedef struct Etk_Frame Etk_Frame; typedef struct Etk_Iconbox Etk_Iconbox; @@ -70,8 +70,8 @@ typedef struct Etk_Iconbox_Model Etk_Iconbox_Model; typedef struct Etk_Image Etk_Image; typedef struct Etk_Label Etk_Label; -typedef struct _Etk_Mdi_Area Etk_Mdi_Area; -typedef struct _Etk_Mdi_Window Etk_Mdi_Window; +typedef struct Etk_Mdi_Area Etk_Mdi_Area; +typedef struct Etk_Mdi_Window Etk_Mdi_Window; typedef struct Etk_Menu Etk_Menu; typedef struct Etk_Menu_Bar Etk_Menu_Bar; typedef struct Etk_Menu_Item Etk_Menu_Item; @@ -93,10 +93,10 @@ typedef struct Etk_HScrollbar Etk_HScrollbar; typedef struct Etk_VScrollbar Etk_VScrollbar; typedef struct Etk_Scrolled_View Etk_Scrolled_View; -typedef struct _Etk_Selection_Data Etk_Selection_Data; -typedef struct _Etk_Selection_Data_Files Etk_Selection_Data_Files; -typedef struct _Etk_Selection_Data_Targets Etk_Selection_Data_Targets; -typedef struct _Etk_Selection_Data_Text Etk_Selection_Data_Text; +typedef struct Etk_Selection_Data Etk_Selection_Data; +typedef struct Etk_Selection_Data_Files Etk_Selection_Data_Files; +typedef struct Etk_Selection_Data_Targets Etk_Selection_Data_Targets; +typedef struct Etk_Selection_Data_Text Etk_Selection_Data_Text; typedef struct Etk_Selection_Event Etk_Selection_Event; typedef struct Etk_Separator Etk_Separator; typedef struct Etk_HSeparator Etk_HSeparator; @@ -116,15 +116,15 @@ typedef struct Etk_Toggle_Button Etk_Toggle_Button; typedef struct Etk_Toplevel Etk_Toplevel; typedef struct Etk_Toolbar Etk_Toolbar; -typedef struct _Etk_Tool_Button Etk_Tool_Button; -typedef struct _Etk_Tool_Toggle_Button Etk_Tool_Toggle_Button; +typedef struct Etk_Tool_Button Etk_Tool_Button; +typedef struct Etk_Tool_Toggle_Button Etk_Tool_Toggle_Button; typedef struct Etk_Tree Etk_Tree; typedef struct Etk_Tree_Col Etk_Tree_Col; typedef struct Etk_Tree_Model Etk_Tree_Model; typedef struct Etk_Tree_Row Etk_Tree_Row; -typedef struct _Etk_Viewport Etk_Viewport; +typedef struct Etk_Viewport Etk_Viewport; typedef struct Etk_Widget Etk_Widget; -typedef struct _Etk_Window Etk_Window; +typedef struct Etk_Window Etk_Window; /** * @struct Etk_Position =================================================================== RCS file: /cvs/e/e17/libs/etk/src/lib/etk_viewport.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -3 -r1.3 -r1.4 --- etk_viewport.h 2 Apr 2007 09:48:29 -0000 1.3 +++ etk_viewport.h 27 Jul 2007 16:24:14 -0000 1.4 @@ -22,7 +22,7 @@ * @brief A viewport is a bin container which has the ability to scroll. Thus, all the widgets that @n * have no scrolling ability have to be placed in a viewport, in order to be scrollable in an Etk_Scrolled_View */ -struct _Etk_Viewport +struct Etk_Viewport { /* private: */ /* Inherit from Etk_Bin */ =================================================================== RCS file: /cvs/e/e17/libs/etk/src/lib/etk_widget.h,v retrieving revision 1.55 retrieving revision 1.56 diff -u -3 -r1.55 -r1.56 --- etk_widget.h 4 Jul 2007 11:25:39 -0000 1.55 +++ etk_widget.h 27 Jul 2007 16:24:14 -0000 1.56 @@ -24,7 +24,7 @@ * @brief The code corresponding to the error that occured during the last call of * etk_widget_swallow_widget() or etk_widget_swallow_object() */ -typedef enum Etk_Widget_Swallow_Error +typedef enum { ETK_SWALLOW_ERROR_NONE, /**< The object has been succesfully swallowed */ ETK_SWALLOW_ERROR_INCOMPATIBLE_PARENT, /**< The parent of the widget to swallow was not the swallower-widget */ =================================================================== RCS file: /cvs/e/e17/libs/etk/src/lib/etk_window.h,v retrieving revision 1.24 retrieving revision 1.25 diff -u -3 -r1.24 -r1.25 --- etk_window.h 2 Apr 2007 09:48:29 -0000 1.24 +++ etk_window.h 27 Jul 2007 16:24:14 -0000 1.25 @@ -21,7 +21,7 @@ /** @brief Describes how the window is stacked */ -typedef enum Etk_Window_Stacking +typedef enum { ETK_WINDOW_NORMAL, /**< The window is stacked in the default layer */ ETK_WINDOW_ABOVE, /**< The window is stacked above all the other windows */ @@ -33,7 +33,7 @@ * @brief @widget The most common toplevel-widget * @structinfo */ -struct _Etk_Window +struct Etk_Window { /* private: */ /* Inherit from Etk_Toplevel */ ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs