implement solid color rendering for swaybg

This commit is contained in:
Zandr Martin 2016-07-30 18:50:13 -05:00
parent 2e4ece65da
commit 98aa59fdda
No known key found for this signature in database
GPG key ID: AA2BB8EF77F7BBDC
10 changed files with 197 additions and 157 deletions

View file

@ -5,6 +5,7 @@
#include <stdbool.h>
#include "list.h"
#include "util.h"
/**
* Colors for a box with background, border and text colors.
@ -47,11 +48,6 @@ struct config {
} colors;
};
/**
* Parse colors defined as hex string to uint32_t.
*/
uint32_t parse_color(const char *color);
/**
* Parse position top|bottom|left|right.
*/