mirror of
https://github.com/swaywm/sway.git
synced 2025-11-08 13:29:50 -05:00
implement solid color rendering for swaybg
This commit is contained in:
parent
2e4ece65da
commit
98aa59fdda
10 changed files with 197 additions and 157 deletions
|
|
@ -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.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue