]> err.no Git - mapper/commitdiff
Prefer a bit larget sky view. Use a bit darker green and blue.
authorKaj-Michael Lang <milang@tal.org>
Tue, 6 Nov 2007 07:43:10 +0000 (09:43 +0200)
committerKaj-Michael Lang <milang@tal.org>
Tue, 6 Nov 2007 07:43:10 +0000 (09:43 +0200)
src/gtkgps.c

index e4a70579f1fee49a526097cd82a57474a67b66ad..5302227a3cca0e77e4dc6facac74c9647e57b2d4 100644 (file)
@@ -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);