158 |
gdk_draw_pixbuf(context->gotoc.compass_pixmap, |
gdk_draw_pixbuf(context->gotoc.compass_pixmap, |
159 |
widget->style->fg_gc[GTK_STATE_NORMAL], |
widget->style->fg_gc[GTK_STATE_NORMAL], |
160 |
icon_get(ICON_MISC, context->appdata->compass_locked?0:1), |
icon_get(ICON_MISC, context->appdata->compass_locked?0:1), |
161 |
0, 0, (width-diameter)/2 + diameter/32, |
0, 0, (width-diameter)/2 + diameter/64, |
162 |
(height+diameter)/2 - 16 - diameter/32 , 16, 16, |
(height+diameter)/2 - 32 - diameter/64 , 32, 32, |
163 |
GDK_RGB_DITHER_NONE,0,0); |
GDK_RGB_DITHER_NONE,0,0); |
164 |
|
|
165 |
/* don't update heading if the compass is locked */ |
/* don't update heading if the compass is locked */ |