-
宽度= 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
-
msgsend函数的使用例子
msgsend函数的使用例子 -The example for using msgsend function
- 2022-01-26 07:41:54下载
- 积分:1
-
linux系统下控制并口端口的c语言代码,很好用
linux系统下控制并口端口的c语言代码,很好用-linux system to control parallel port c language code, a very good use
- 2022-03-18 16:51:56下载
- 积分:1
-
linux内核的API接口,对于驱动程序开发,是必备的资料,不过是英文资料...
linux内核的API接口,对于驱动程序开发,是必备的资料,不过是英文资料-linux kernel API interface for driver development, is essential information, but information is in English
- 2022-04-17 03:49:01下载
- 积分:1
-
sco unix下c语言开发工具库
sco unix下c语言开发工具库-sco unix development tools under the c language library
- 2022-02-06 15:20:06下载
- 积分:1
-
ubuntu系统上安装和配置proftpd的文件,这个是我安装是写的手册,如有问题请发邮件到zengeronline@126.com...
ubuntu系统上安装和配置proftpd的文件,这个是我安装是写的手册,如有问题请发邮件到zengeronline@126.com-ubuntu system to install and configure proftpd documents, this is what I was writing a manual install, if there are questions please email zengeronline@126.com
- 2022-06-19 01:40:31下载
- 积分:1
-
Linux内核移植到ARM的毕业论文,以前同学的论文,保存了很,给需要的朋友分享。...
Linux内核移植到ARM的毕业论文,以前同学的论文,保存了很,给需要的朋友分享。-Linux kernel ported to ARM s thesis, the thesis before the students, save for a very, to the need to share.
- 2023-04-12 09:45:04下载
- 积分:1
-
java版的lzo算法库,用于实现内存、图像、磁盘文件等数据的压缩,是一种非常快的压缩算法。...
java版的lzo算法库,用于实现内存、图像、磁盘文件等数据的压缩,是一种非常快的压缩算法。-java version of the lzo library of algorithms, used to implement the memory, images, data, such as disk file compression, is a very fast compression algorithm.
- 2022-02-26 00:20:30下载
- 积分:1
-
改进的str_catstr_cmpstr_to_i
本机IP地址和MAC地址
改进的str_catstr_cmpstr_to_i
本机IP地址和MAC地址-Str_catstr_cmpstr_to_i improved local IP address and MAC address
- 2022-03-25 12:19:50下载
- 积分:1
-
周立功
ZLG-GUI源代码完整版12-windows.c-ZLG-GUI source code full version of 12-windows.c
- 2022-03-23 05:16:44下载
- 积分:1