aboutsummaryrefslogtreecommitdiff
path: root/src/comet.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/comet.c')
-rw-r--r--src/comet.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/comet.c b/src/comet.c
index 53f4eff..36d517a 100644
--- a/src/comet.c
+++ b/src/comet.c
@@ -63,12 +63,13 @@ int main(int argc, char **argv)
log_debug("Calculated dimensions [height=%d, x_pad=%d, y_pad=%d]", height, x_padding, y_padding);
- Drawable *draw = draw_create("Hack 13 Bold", height, x_padding, x_padding, y_padding, 1, 0);
+ Color background_all = { 0.3, 0.3, 0.3, 1 };
+ Drawable *draw = draw_create("Hack 13 Bold", height, x_padding, x_padding, y_padding, 0);
+ draw_set_background(draw, background_all);
State *state = state_create(win, draw);
- // purple
- Color background = { 0.502, 0.168, 0.886, 1 };
+ Color background = { 0.4, 0.4, 0.4, 1 };
Color foreground = { 0.8, 0.8, 0.8, 1 };
Color stroke = { 0.8, 0.8, 0.8, 1 };
@@ -90,8 +91,10 @@ int main(int argc, char **argv)
button_set_action(date_btn, action);
state_add_button(state, date_btn);
+ // purple
+ Color background2 = { 0.502, 0.168, 0.886, 1 };
Button *u_btn = button_create("U", PANGO_ALIGN_RIGHT);
- button_set_colors(u_btn, background, foreground, stroke);
+ button_set_colors(u_btn, background2, foreground, stroke);
button_set_action(u_btn, action);
state_add_button(state, u_btn);