-
宽度= gdk_pixbuf_animation_get_width(ANI)
width = gdk_pixbuf_animation_get_width(ani)
height = gdk_pixbuf_animation_get_height(ani)
current_frame_list = gdk_pixbuf_animation_get_frames(ani)
pixmap = gdk_pixmap_new(w->window, width, height, -1)
clean_pixmap = gdk_pixmap_new(w->window, width, height, -1)
if (w->style->bg_pixmap[GTK_STATE_NORMAL]) {
GdkPixmap *bg = w->style->bg_pixmap[GTK_STATE_NORMAL]
GdkGC *gc
GdkGCValues values
values.tile = bg
values.fill = GDK_TILED
gc = gdk_gc_new_with_values(w->window, &values,
GDK_GC_FILL|GDK_GC_TILE)
gdk_gc_set_ts_origin(gc,
(w->allocation.width - width)/2,
(w->allocation.height-height)/2)
gdk_draw_rectangle(clean_pixmap,gc, TRUE,
0, 0, width, height)
gdk_gc_destroy(gc)
} else {
gdk_draw_rectangle(clean_pixmap,
w->style->bg_gc[GTK_STATE_NORMAL],
TRUE, 0, 0, width, height)
}- width = gdk_pixbuf_animation_get_width(ani)
- 2022-05-17 15:10:31下载
- 积分:1
-
code for all source shortest path
code for all source shortest path
- 2022-10-20 13:40:03下载
- 积分:1
-
这是嵌入式中的FPGA的驱动,用在内核驱动,希望有帮助
这是嵌入式中的FPGA的驱动,用在内核驱动,希望有帮助-This is embedded in the FPGA-driven, core drivers in the hope that has helped
- 2022-09-17 12:55:03下载
- 积分:1
-
Ep9315 arm
ep9315 以太网测试程序
Ep9315 arm
ep9315 以太网测试程序 -Ethernet test procedure Ep9315 armep9315
- 2022-03-11 09:36:30下载
- 积分:1
-
一个在LINUX下的实现的AD驱动程序,希望对大家有帮助,从这个程序中能学习到LINUX下驱动的写法...
一个在LINUX下的实现的AD驱动程序,希望对大家有帮助,从这个程序中能学习到LINUX下驱动的写法-Under a LINUX driver for the realization of the AD, in the hope we have help from this program can learn to drive under the wording of LINUX
- 2022-07-17 00:21:15下载
- 积分:1
-
是经典的UNIX的部分源代码,可以给想深入学习程序的人很好的参考。...
是经典的UNIX的部分源代码,可以给想深入学习程序的人很好的参考。-are classic UNIX source code, can give depth to the learning process were good reference.
- 2022-04-07 16:39:36下载
- 积分:1
-
opengl的一些功能函数,相当齐全!对于正在学习QT,opengl三维制作的人来说是很有用的!...
opengl的一些功能函数,相当齐全!对于正在学习QT,opengl三维制作的人来说是很有用的!-opengl some of the performance function, is quite comprehensive! For are learning QT, opengl three-dimensional people who produced it is very useful!
- 2022-07-25 04:52:27下载
- 积分:1
-
将怎么优化程序性能的,讲得比较深入了,适合有一定经验的程序员看...
将怎么优化程序性能的,讲得比较深入了,适合有一定经验的程序员看-How to optimize the performance of, put it more in-depth, and suitable for experienced programmers have a certain look
- 2022-01-28 21:57:55下载
- 积分:1
-
source code of <<linux device driver II>>
LINUX设备驱动程序第二版配套源码 Alessandro rubini&Jonathan corbet著 中国电力出版社 魏永明 骆刚 姜君译 69元-source code of
- 2022-08-03 06:00:39下载
- 积分:1
-
j2se实现聊天室linux平台
gcc1.2.2以上编译
j2se实现聊天室linux平台
gcc1.2.2以上编译-J2SE Chat realize more than gcc1.2.2 compiler linux platform
- 2022-07-23 12:07:22下载
- 积分:1