diff options
author | Dave Davenport <qball@gmpclient.org> | 2017-06-02 14:05:19 +0200 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2017-06-02 14:05:19 +0200 |
commit | eec5c6eadcc5de3c5285a5240db6da2e439d287a (patch) | |
tree | 9bb05b3f142d1ec577e62d696523d24f5a50122c /include/theme.h | |
parent | 85b6e32158b17a117033df659e39ecd793553327 (diff) |
Add orientation property.
Diffstat (limited to 'include/theme.h')
-rw-r--r-- | include/theme.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/theme.h b/include/theme.h index bfb628b0..7c8f76a9 100644 --- a/include/theme.h +++ b/include/theme.h @@ -120,6 +120,8 @@ typedef enum P_HIGHLIGHT, /** List */ P_LIST, + /** Orientation */ + P_ORIENTATION, } PropertyType; /** @@ -359,6 +361,16 @@ int rofi_theme_get_boolean ( const widget *widget, const char *property, int * @param property The property to query. * @param def The default value. * + * Obtain the orientation indicated by %property of the widget. + * + * @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 ); +/** + * @param widget The widget to query + * @param property The property to query. + * @param def The default value. + * * Obtain the string of the widget. * * @returns The string value of this property for this widget. |