summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2017-01-08 16:23:17 +0100
committerDave Davenport <qball@gmpclient.org>2017-01-08 16:23:17 +0100
commit8543ac8438c524cc5a743beaaf5459adee445645 (patch)
tree3d7dcf215b045fee7e73d9593f7f21f16c5c5c0d /include
parent3944a5bde21f0d87b4e834be01e79a802e3a708e (diff)
Fix doxygen.
Diffstat (limited to 'include')
-rw-r--r--include/theme.h21
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;