diff options
author | Dave Davenport <qball@gmpclient.org> | 2017-01-08 16:23:17 +0100 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2017-01-08 16:23:17 +0100 |
commit | 8543ac8438c524cc5a743beaaf5459adee445645 (patch) | |
tree | 3d7dcf215b045fee7e73d9593f7f21f16c5c5c0d /include | |
parent | 3944a5bde21f0d87b4e834be01e79a802e3a708e (diff) |
Fix doxygen.
Diffstat (limited to 'include')
-rw-r--r-- | include/theme.h | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/include/theme.h b/include/theme.h index 1964467a..08105654 100644 --- a/include/theme.h +++ b/include/theme.h @@ -5,10 +5,14 @@ #include <widgets/widget.h> #include <settings.h> +/** Style of line */ typedef enum { + /** Solid line */ SOLID, + /** Dashed line */ DASH } LineStyle; + /** * Distance unit type. */ @@ -88,18 +92,33 @@ typedef struct Distance left; } Padding; +/** + * Property structure. + */ typedef struct Property { + /** Name of property */ char *name; + /** Type of property. */ PropertyType type; + /** Value */ union { + /** integer */ int i; + /** Double */ double f; + /** String */ char *s; - int b; + /** boolean */ + gboolean b; + /** Color */ ThemeColor color; + /** Padding */ Padding padding; + /** Reference */ struct { + /** Name */ char *name; + /** Cached looked up ref */ struct Property *ref; } link; } value; |