Lines Matching refs:wh_widget
397 int ww_widget, wh_widget; in gd_update() local
425 wh_widget = gdk_window_get_height(win); in gd_update()
431 if (wh_widget > wh_surface) { in gd_update()
432 wy_offset = (wh_widget - wh_surface) / 2; in gd_update()
905 int ww_widget, wh_widget, ww_surface, wh_surface; in gd_draw_event() local
940 wh_widget = gdk_window_get_height(gtk_widget_get_window(widget)); in gd_draw_event()
942 gd_update_scale(vc, ww_widget, wh_widget, fbw, fbh); in gd_draw_event()
951 if (wh_widget > wh_surface) { in gd_draw_event()
952 wy_offset = (wh_widget - wh_surface) / 2; in gd_draw_event()
955 cairo_rectangle(cr, 0, 0, ww_widget, wh_widget); in gd_draw_event()
983 int ww_widget, wh_widget; in gd_motion_event() local
992 wh_widget = gtk_widget_get_allocated_height(widget); in gd_motion_event()
1004 if (wh_widget > wh_surface) { in gd_motion_event()
1005 wy_offset = (wh_widget - wh_surface) / 2; in gd_motion_event()
1015 trace_gd_motion_event(ww_widget, wh_widget, in gd_motion_event()