From: Kaj-Michael Lang Date: Tue, 6 Nov 2007 07:43:10 +0000 (+0200) Subject: Prefer a bit larget sky view. Use a bit darker green and blue. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=055bb0d7cee5b2bf9a6b620b9dabdfb1c107b247;p=mapper Prefer a bit larget sky view. Use a bit darker green and blue. --- diff --git a/src/gtkgps.c b/src/gtkgps.c index e4a7057..5302227 100644 --- a/src/gtkgps.c +++ b/src/gtkgps.c @@ -189,8 +189,8 @@ requisition->width=300; gps->width=300; if (gps->display_mode==GTK_GPS_MODE_SKY) { - requisition->height=300; - gps->height=300; + requisition->height=400; + gps->height=400; } else { requisition->height=200; gps->height=200; @@ -257,17 +257,19 @@ widget->style=gtk_style_attach(widget->style, widget->window); gdk_window_set_user_data(widget->window, widget); gtk_style_set_background(widget->style, widget->window, GTK_STATE_ACTIVE); +/* No fix */ if (!gps->gc_s) { color.red=0; color.green=0; - color.blue=0; + color.blue=0x1000; gps->gc_s=gdk_gc_new(widget->window); gdk_gc_set_rgb_fg_color(gps->gc_s, &color); } +/* Fix color */ if (!gps->gc_sf) { color.red=0; - color.green=0xffff; + color.green=0xdfff; color.blue=0; gps->gc_sf=gdk_gc_new(widget->window); gdk_gc_set_rgb_fg_color(gps->gc_sf, &color);