summaryrefslogtreecommitdiffstats
path: root/include/theme.h
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2017-06-02 16:34:52 +0200
committerDave Davenport <qball@gmpclient.org>2017-06-02 16:34:52 +0200
commitea7d20d1503836eba0c16f8a1960b8f462911f0f (patch)
treecf6dd94d66466930f71d32b2e64a759c8fed5238 /include/theme.h
parent9915857a2ec4d13d83a963252264394fb7ce3f28 (diff)
Change Orientation enum to RofiOrientation.
Diffstat (limited to 'include/theme.h')
-rw-r--r--include/theme.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/theme.h b/include/theme.h
index 6fafce73..d51043ce 100644
--- a/include/theme.h
+++ b/include/theme.h
@@ -83,7 +83,7 @@ typedef struct
double distance;
/** Unit type of the distance */
RofiPixelUnit type;
- /** Style of the line */
+ /** Style of the line (optional)*/
RofiLineStyle style;
} RofiDistance;
@@ -92,9 +92,9 @@ typedef struct
*/
typedef enum
{
- ORIENTATION_VERTICAL,
- ORIENTATION_HORIZONTAL
-} Orientation;
+ ROFI_ORIENTATION_VERTICAL,
+ ROFI_ORIENTATION_HORIZONTAL
+} RofiOrientation;
/**
* Type of property
*/
@@ -365,7 +365,7 @@ int rofi_theme_get_boolean ( const widget *widget, const char *property, int
*
* @returns The orientation of this property for this widget or %def not found.
*/
-Orientation rofi_theme_get_orientation ( const widget *widget, const char *property, Orientation def );
+RofiOrientation rofi_theme_get_orientation ( const widget *widget, const char *property, RofiOrientation def );
/**
* @param widget The widget to query
* @param property The property to query.
@@ -427,7 +427,7 @@ ThemeHighlight rofi_theme_get_highlight ( widget *widget, const char *property,
* Convert RofiDistance into pixels.
* @returns the number of pixels this distance represents.
*/
-int distance_get_pixel ( RofiDistance d, Orientation ori );
+int distance_get_pixel ( RofiDistance d, RofiOrientation ori );
/**
* @param d The distance handle.
* @param draw The cairo drawable.