mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Define all colors in one place
The profile colors were defined all over the place, so I put them all in one spot. I'm unsure if this is the best solution to that problem, but I guess it's a step in the right direction. Signed-Off-By: Henrik Brautaset Aronsen <subsurface@henrik.synth.no>
This commit is contained in:
parent
36db51f2e7
commit
fc6fec59ba
3 changed files with 98 additions and 56 deletions
|
@ -778,7 +778,7 @@ static gboolean expose_event(GtkWidget *widget, GdkEventExpose *event, gpointer
|
|||
gc.cr = gdk_cairo_create(widget->window);
|
||||
g_object_set(widget, "has-tooltip", TRUE, NULL);
|
||||
g_signal_connect(widget, "query-tooltip", G_CALLBACK(profile_tooltip), &drawing_area);
|
||||
set_source_rgb(&gc, 0, 0, 0);
|
||||
init_profile_background(&gc);
|
||||
cairo_paint(gc.cr);
|
||||
|
||||
if (dive) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue