1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-11-29 14:01:52 +02:00

eeshow/gui/glabel.c (add_dest_header): don't change bg color for label name

It simply didn't look right.
This commit is contained in:
Werner Almesberger 2016-08-18 18:17:44 -03:00
parent b224ba4288
commit aced11f9f2

View File

@ -80,10 +80,10 @@ static void add_dest_header(struct gui_ctx *ctx, const char *label)
.wmin = GLABEL_W, .wmin = GLABEL_W,
.wmax = GLABEL_W, .wmax = GLABEL_W,
.radius = 0, .radius = 0,
.pad = 2, .pad = 0,
.skip = 2, .skip = 6,
.fg = { 0.0, 0.0, 0.0, 1.0 }, .fg = { 0.5, 0.0, 0.0, 1.0 },
.bg = { 0.8, 0.8, 1.0, 0.6 }, .bg = { 0.0, 0.0, 0.0, 0.0 },
.frame = { 1.0, 1.0, 1.0, 1.0 }, /* debugging */ .frame = { 1.0, 1.0, 1.0, 1.0 }, /* debugging */
.width = 0, .width = 0,
}; };
@ -103,8 +103,8 @@ static void add_dest_overlay(struct gui_ctx *ctx, const char *label,
.wmin = GLABEL_W, .wmin = GLABEL_W,
.wmax = GLABEL_W, .wmax = GLABEL_W,
.radius = 0, .radius = 0,
.pad = 2, .pad = 0,
.skip = 0, .skip = 4,
.fg = { 0.0, 0.0, 0.0, 1.0 }, .fg = { 0.0, 0.0, 0.0, 1.0 },
.bg = { 0.0, 0.0, 0.0, 0.0 }, .bg = { 0.0, 0.0, 0.0, 0.0 },
.frame = { 1.0, 1.0, 1.0, 1.0 }, /* debugging */ .frame = { 1.0, 1.0, 1.0, 1.0 }, /* debugging */