screen = gdk_drawable_get_screen (gpmap); gdk_drawable_get_size (GDK_DRAWABLE(gpmap), &width, &height); depth = gdk_drawable_get_depth (GDK_DRAWABLE(gpmap));if(depth <=24) cmap = gdk_screen_get_rgb_colormap (screen);elsecmap = gdk_screen_get_rgba_colormap (screen); pixbuf = ...
glLoadIdentity();gdk_gl_drawable_gl_end(gldrawable);/* pthread_mutex_unlock (&theRender_mutex);*/gdk_window_invalidate_rect (gtk_widget_get_parent_window (widget), &widget->allocation, TRUE); gdk_window_process_updates (gtk_widget_get_parent_window (widget), TRUE); }returnTRUE; } 开发者...
``` IA__gdk_drawable_get_size: assertion 'GDK_IS_DRAWABLE (drawable)' failed ``` 原因: 输入法冲突 解决办法: apt-get remove fcitx-frontend-gtk2 未解决 原文:
IA__gdk_drawable_get_size: assertion 'GDK_IS_DRAWABLE (drawable)' failed ``` 原因: 输入法冲突 解决办法: apt-get remove fcitx-frontend-gtk2 未解决
在下文中一共展示了gdk_draw_drawable函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。 示例1: gtk_hruler_draw_pos ▲点赞 9▼ staticvoidgtk_hruler_draw_pos(GtkRuler *ruler){ ...
gdk_gl_drawable_gl_end( gldrawable );/*// now invalidate! Rect rect; rect.origin.x = 0;//allocation.x; rect.origin.y = 0;//allocation.y; rect.size.width = allocation.width; rect.size.height = allocation.height; _chisel_native_view_invalidate_rect( (native_handle)widget, rect );*...