Commit df97643c authored by Dorota Czaplejewicz's avatar Dorota Czaplejewicz

style: Change coloring

parent 49b04fb6
Pipeline #4151 passed with stage
in 1 minute
......@@ -447,19 +447,21 @@ draw_key(struct keyboard *keyboard, const struct key *key, cairo_t *cr,
key->width * key_width, key_height);
cairo_fill(cr);
cairo_set_source_rgb(cr, 1, 1, 1);
} else {
/* Paint frame */
cairo_rectangle(cr,
col * key_width, row * key_height,
key->width * key_width, key_height);
cairo_set_line_width(cr, 3);
cairo_stroke(cr);
}
/* Paint frame */
cairo_rectangle(cr,
col * key_width, row * key_height,
key->width * key_width, key_height);
cairo_set_line_width(cr, 3);
cairo_stroke(cr);
/* Paint text */
label = label_from_key(keyboard, key);
cairo_text_extents(cr, label, &extents);
cairo_set_source_rgb(cr, 1, 1, 1);
cairo_translate(cr,
col * key_width,
row * key_height);
......@@ -528,7 +530,7 @@ redraw_handler(struct widget *widget, void *data)
cairo_set_font_size(cr, 16);
cairo_set_operator(cr, CAIRO_OPERATOR_SOURCE);
cairo_set_source_rgba(cr, 1, 1, 1, 0.75);
cairo_set_source_rgb(cr, 0.27450980392156865, 0.26666666666666666, 0.2823529411764706);
cairo_rectangle(cr, 0, 0, layout->columns * key_width, layout->rows * key_height);
cairo_paint(cr);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment