diff options
author | Thomas White <taw@bitwiz.me.uk> | 2018-10-27 23:06:05 +0200 |
---|---|---|
committer | Thomas White <taw@bitwiz.me.uk> | 2018-10-27 23:06:05 +0200 |
commit | 7d585a94af8d021c6d0df0cfd0fe25b6aab367ae (patch) | |
tree | d0d1b16873918d0509b9aa990314d2dbd3d9ef7e /src/stylesheet.h | |
parent | 662ea0cffbda947f363f9f734309066cd93e917f (diff) |
Update values from stylesheet editor
Diffstat (limited to 'src/stylesheet.h')
-rw-r--r-- | src/stylesheet.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/stylesheet.h b/src/stylesheet.h index 15584b1..c24c62c 100644 --- a/src/stylesheet.h +++ b/src/stylesheet.h @@ -28,13 +28,21 @@ #endif #include <gio/gio.h> +#include <gdk/gdk.h> typedef struct _stylesheet Stylesheet; extern Stylesheet *stylesheet_load(GFile *file); +extern int parse_colour_duo(const char *a, GdkRGBA *col1, GdkRGBA *col2); + extern char *stylesheet_lookup(Stylesheet *ss, const char *path, const char *key); +extern int stylesheet_set(Stylesheet *ss, const char *path, const char *key, + const char *new_val); + +extern int stylesheet_delete(Stylesheet *ss, const char *path, const char *key); + extern void stylesheet_free(Stylesheet *ss); #endif /* STYLESHEET_H */ |