1
0
mirror of https://codeberg.org/vyivel/dulcepan/ synced 2025-12-23 02:06:48 +02:00

config: store colors as float arrays

This commit is contained in:
Kirill Primak
2024-06-23 20:59:39 +03:00
parent a2d13cbdf8
commit a7ea928b1c
3 changed files with 35 additions and 27 deletions

View File

@@ -123,9 +123,9 @@ enum dp_file_format {
};
struct dp_config {
pixman_color_t unselected_color;
pixman_color_t selected_color;
pixman_color_t border_color;
float unselected_color[4];
float selected_color[4];
float border_color[4];
xkb_keysym_t quit_key;
xkb_keysym_t save_key;
int border_size; // 0 if disabled