summaryrefslogtreecommitdiffstats
path: root/include/theme.h
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2017-06-03 20:35:50 +0200
committerDave Davenport <qball@gmpclient.org>2017-06-03 20:35:50 +0200
commit9a62bfd17284a424cafd4ce649076127eafc2f5d (patch)
treeb2c89cc4ba6917388aafd2f050f9ec55f723f4db /include/theme.h
parent684211aba4353a15436533d5782dc02e00c3f72e (diff)
Run indenter.
Diffstat (limited to 'include/theme.h')
-rw-r--r--include/theme.h33
1 files changed, 17 insertions, 16 deletions
diff --git a/include/theme.h b/include/theme.h
index 5afa982d..eae2e7e1 100644
--- a/include/theme.h
+++ b/include/theme.h
@@ -80,11 +80,11 @@ typedef enum
typedef struct
{
/** Distance */
- double distance;
+ double distance;
/** Unit type of the distance */
- RofiPixelUnit type;
+ RofiPixelUnit type;
/** Style of the line (optional)*/
- RofiLineStyle style;
+ RofiLineStyle style;
} RofiDistance;
/**
@@ -158,22 +158,23 @@ typedef struct
/** style to display */
RofiHighlightStyle style;
/** Color */
- ThemeColor color;
+ ThemeColor color;
} RofiHighlightColorStyle;
-typedef union {
+typedef union
+{
/** integer */
- int i;
+ int i;
/** Double */
- double f;
+ double f;
/** String */
- char *s;
+ char *s;
/** boolean */
- gboolean b;
+ gboolean b;
/** Color */
- ThemeColor color;
+ ThemeColor color;
/** RofiPadding */
- RofiPadding padding;
+ RofiPadding padding;
/** Reference */
struct
{
@@ -181,11 +182,11 @@ typedef union {
char *name;
/** Cached looked up ref */
struct Property *ref;
- } link;
+ } link;
/** Highlight Style */
RofiHighlightColorStyle highlight;
/** List */
- GList *list;
+ GList *list;
} PropertyValue;
/**
@@ -194,9 +195,9 @@ typedef union {
typedef struct Property
{
/** Name of property */
- char *name;
+ char *name;
/** Type of property. */
- PropertyType type;
+ PropertyType type;
/** Value */
PropertyValue value;
} Property;
@@ -463,7 +464,7 @@ ThemeWidget *rofi_theme_find_widget ( const char *name, const char *state, gbool
*/
Property *rofi_theme_find_property ( ThemeWidget *widget, PropertyType type, const char *property, gboolean exact );
-GList *rofi_theme_get_list ( const widget *widget, const char * property, const char *defaults);
+GList *rofi_theme_get_list ( const widget *widget, const char * property, const char *defaults );
/**
* Checks if a theme is set, or is empty.
* @returns TRUE when empty.