-
宽度= 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
-
vk32xx串口驱动参考代码 用于linux嵌入式系统
vk32xx串口驱动参考代码 用于linux嵌入式系统-vk32xx serial port driver reference code for embedded linux system
- 2023-02-03 23:35:04下载
- 积分:1
-
flv to avi divx command in ubuntu 9.10
flv to avi divx command in ubuntu 9.10
- 2022-01-24 09:54:35下载
- 积分:1
-
Nxdoom真的满好用的
Nxdoom真的满好用的-Nxdoom really full of handy.
- 2022-03-23 01:17:38下载
- 积分:1
-
linux下的xml库,本人已经编译过,没有问题,请各位支持一下。...
linux下的xml库,本人已经编译过,没有问题,请各位支持一下。-xml library under linux, I have compiled, no problem, please support you.
- 2022-01-25 14:37:24下载
- 积分:1
-
Linux设备驱动程序第三版2.6.chm,最新的开发嵌入式参看手册
Linux设备驱动程序第三版2.6.chm,最新的开发嵌入式参看手册-Linux device drivers third edition 2.6.chm, see the latest Embedded Development Manual
- 2023-06-10 18:10:03下载
- 积分:1
-
picocom Linux的串口调试工具,如小型计算机。由自己对…
picocom 是一款linux下的串口调试工具,很想minicom,比minicom精巧的多,编译好后,
我输入 picocom -b 115200 /dev/ttyS0 就可以调试我的arm板了-picocom A linux is the serial debugging tools, like minicom. minicom sophisticated than many good compiler, I enter picocom- 115200 b/dev/ttyS0 I can debug the arm of the plate
- 2022-05-23 08:53:40下载
- 积分:1
-
linux系统,Qt,编写的地图义程序,运行过的
linux系统,Qt,编写的地图义程序,运行过的-linux systems, Qt, to prepare a map of justice programs, run-off
- 2022-09-29 02:15:03下载
- 积分:1
-
qte 2.3.7 下开发的虚拟表盘控件,可单独运行
qte 2.3.7 下开发的虚拟表盘控件,可单独运行-qte 2.3.7 下 ???的虚拟 ?砼????????傻 ??涝诵
- 2022-05-30 08:55:10下载
- 积分:1
-
linux下基于txx9的驱动,有利于基础此开发上层应用程序
linux下基于txx9的驱动,有利于基础此开发上层应用程序-Based on txx9 drive linux is conducive to the development of upper-based applications
- 2022-02-20 02:37:41下载
- 积分:1