pango_layout_set_text(compass->layout, htext, -1);
pango_layout_get_pixel_size(compass->layout, &x, &y);
-gtk_paint_flat_box (widget->style,
- widget->window,
- GTK_STATE_NORMAL, GTK_SHADOW_NONE,
- NULL, widget, "trough", 0, 0,
- compass->width, compass->height);
-
gdk_draw_layout(widget->window,
compass->gc_h,
compass->xoffset+size/2-x/2,
yoffset=y0+(gps->height-gps->width)/2;
}
-gtk_paint_flat_box (widget->style,
- widget->window,
- GTK_STATE_NORMAL, GTK_SHADOW_NONE,
- NULL, widget, "trough", 0, 0,
- gps->width, gps->height);
-
/* 90 */
gdk_draw_arc(widget->window,
widget->style->fg_gc[GTK_WIDGET_STATE(widget)],