summaryrefslogtreecommitdiffstats
path: root/include/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'include/widgets')
-rw-r--r--include/widgets/textbox.h22
-rw-r--r--include/widgets/widget-internal.h14
-rw-r--r--include/widgets/widget.h1
3 files changed, 18 insertions, 19 deletions
diff --git a/include/widgets/textbox.h b/include/widgets/textbox.h
index 536bd30e..d81d8806 100644
--- a/include/widgets/textbox.h
+++ b/include/widgets/textbox.h
@@ -40,7 +40,7 @@ typedef struct
int blink;
guint blink_timeout;
//
- const char *theme_name ;
+ const char *theme_name;
} textbox;
/**
@@ -48,16 +48,16 @@ typedef struct
*/
typedef enum
{
- TB_AUTOHEIGHT = 1 << 0,
- TB_AUTOWIDTH = 1 << 1,
- TB_LEFT = 1 << 16,
- TB_RIGHT = 1 << 17,
- TB_CENTER = 1 << 18,
- TB_EDITABLE = 1 << 19,
- TB_MARKUP = 1 << 20,
- TB_WRAP = 1 << 21,
- TB_PASSWORD = 1 << 22,
- TB_INDICATOR = 1 << 23,
+ TB_AUTOHEIGHT = 1 << 0,
+ TB_AUTOWIDTH = 1 << 1,
+ TB_LEFT = 1 << 16,
+ TB_RIGHT = 1 << 17,
+ TB_CENTER = 1 << 18,
+ TB_EDITABLE = 1 << 19,
+ TB_MARKUP = 1 << 20,
+ TB_WRAP = 1 << 21,
+ TB_PASSWORD = 1 << 22,
+ TB_INDICATOR = 1 << 23,
} TextboxFlags;
/**
* Flags indicating current state of the textbox.
diff --git a/include/widgets/widget-internal.h b/include/widgets/widget-internal.h
index e26fb8f2..06a82145 100644
--- a/include/widgets/widget-internal.h
+++ b/include/widgets/widget-internal.h
@@ -57,8 +57,8 @@ struct _widget
void ( *free )( struct _widget *widget );
/** Name of widget (used for theming) */
- char *name;
- const char *state;
+ char *name;
+ const char *state;
};
/**
@@ -68,7 +68,7 @@ struct _widget
* Initializes the widget structure.
*
*/
-void widget_init ( widget *widget , const char *name );
+void widget_init ( widget *widget, const char *name );
/**
* @param widget The widget handle.
@@ -117,17 +117,17 @@ int widget_padding_get_bottom ( const widget *wid );
/**
* @param wid The widget handle.
*
- * Get width of the content of the widget
+ * Get width of the content of the widget
*
- * @returns the widget width, excluding padding.
+ * @returns the widget width, excluding padding.
*/
int widget_padding_get_remaining_width ( const widget *wid );
/**
* @param wid The widget handle.
*
- * Get height of the content of the widget
+ * Get height of the content of the widget
*
- * @returns the widget height, excluding padding.
+ * @returns the widget height, excluding padding.
*/
int widget_padding_get_remaining_height ( const widget *wid );
/**
diff --git a/include/widgets/widget.h b/include/widgets/widget.h
index 9dda0457..89869770 100644
--- a/include/widgets/widget.h
+++ b/include/widgets/widget.h
@@ -174,7 +174,6 @@ void widget_set_clicked_handler ( widget *wid, widget_clicked_cb cb, void *udata
*/
gboolean widget_motion_notify ( widget *wid, xcb_motion_notify_event_t *xme );
-
/**
* @param wid The widget handle
* @param name The name of the widget.