-
宽度= 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
-
linux 应用程序automake 使用详细范例
linux 应用程序automake 使用详细范例-the use of detailed examples of linux application automake
- 2022-12-30 14:15:08下载
- 积分:1
-
fstat函数的系统调用,头文件,返回说明,文件和目录
fstat函数的系统调用,头文件,返回说明,文件和目录-fstat system call functions, header files, returns, documents and directories
- 2022-03-12 06:28:40下载
- 积分:1
-
一个简单的视频播放器,Qt4
简单的视频播放器 ,qt4平台开发, 在linux系统下运行-A simple video player, qt4-platform development, in the running linux system
- 2022-06-20 17:48:59下载
- 积分:1
-
It is a app.tar!
LINUX下的图形界面的一个应用程序!介绍如何登陆到数据库等内容!很帮哦!-It is a app.tar!
- 2022-08-22 20:27:42下载
- 积分:1
-
apache模组的源代码
apache模组的源代码-apache module source code
- 2022-01-26 05:31:40下载
- 积分:1
-
这是一本专门介绍Linux 设备驱动方面的书籍.
这是一本专门介绍Linux 设备驱动方面的书籍.-This is devoted to a Linux device driver books.
- 2022-01-25 14:06:18下载
- 积分:1
-
linux picture displayed a variety of formats, including bmp, jpg, png, etc. form...
linux下显示各种格式图片,包括bmp,jpg,png,等等的格式。-linux picture displayed a variety of formats, including bmp, jpg, png, etc. format.
- 2023-02-08 03:35:04下载
- 积分:1
-
ARM S3C2410的4X4键盘中断驱动程序(包括驱动, Makefile, 测试源码), 在Linux 2.6.8.1环境下测试过....
ARM S3C2410的4X4键盘中断驱动程序(包括驱动, Makefile, 测试源码), 在Linux 2.6.8.1环境下测试过.-ARM S3C2410 4x4 keyboard interrupt-driven (including driving, Makefile, testing OSS), the Linux 2.6.8.1 environment tested.
- 2022-10-12 22:50:02下载
- 积分:1
-
对单个文件流进行操作,主要包括分割文件名
判断文件是否打开,判断文件的总大小,当前文件位置,当前行的长度,是否有下一行,读一行文件信息等等....
对单个文件流进行操作,主要包括分割文件名
判断文件是否打开,判断文件的总大小,当前文件位置,当前行的长度,是否有下一行,读一行文件信息等等.-Of a single file stream operation, including division of the file name to determine whether or not to open files to determine the total file size, the current file position, the current line length, whether it has the next line, reading his paper and so on.
- 2022-05-20 02:38:17下载
- 积分:1