diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2016-07-30 18:50:13 -0500 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2016-07-30 18:50:13 -0500 |
| commit | 1e695a84e9e8c424c308867931fcdb9b40ba382d (patch) | |
| tree | a7acb9aab8520040d49be04184d70984a66b95e7 /include/util.h | |
| parent | 015e3b4149d55b1cb6c171730fbeef8d05f391a7 (diff) | |
implement solid color rendering for swaybg
Diffstat (limited to 'include/util.h')
| -rw-r--r-- | include/util.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/util.h b/include/util.h index 6f21bff0..e33a08f7 100644 --- a/include/util.h +++ b/include/util.h @@ -44,4 +44,10 @@ int get_modifier_names(const char **names, uint32_t modifier_masks); */ pid_t get_parent_pid(pid_t pid); +/** + * Given a string that represents an RGB(A) color, return a uint32_t + * version of the color. + */ +uint32_t parse_color(const char *color); + #endif |
