-
宽度= 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
-
the Linux environment, the C language and signal mechanism to achieve the volume...
在Linux环境下,用C语言和信号量机制实现了五个哲学家进餐的互斥关系-the Linux environment, the C language and signal mechanism to achieve the volume of five philosophers dining mutex relations
- 2022-06-27 15:32:43下载
- 积分:1
-
AT&T汇编语言的I386依赖特征的特别说明,LINUX开发的必备资料
AT&T汇编语言的I386依赖特征的特别说明,LINUX开发的必备资料-ATT assembler language of I386 on the special features of note, LINUX development of the requisite information
- 2022-01-26 02:31:54下载
- 积分:1
-
学习命令。chm。包含了所有常用的命令。作为…
Linux命令学习.chm.包含了所有常用的linux命令说明。以及例子-Linux commands to learn. Chm. Contains all the commonly used linux commands. As well as the examples
- 2022-02-15 11:17:03下载
- 积分:1
-
嵌入式系统基本驱动,对硬件寄存器进行初始化还有给设备分配I/O,申请DMA通道等...
嵌入式系统基本驱动,对硬件寄存器进行初始化还有给设备分配I/O,申请DMA通道等-Embedded systems the basic drive, to initialize the hardware registers are allocated to the device I/O, applications such as DMA channels
- 2022-02-09 22:26:33下载
- 积分:1
-
c primer plus 第五版的书上源码
c primer plus 第五版的书上源码-c primer plus the fifth edition of the book source code
- 2022-05-13 02:02:16下载
- 积分:1
-
LFS中文文档6.4最新版,内附编译所需的软件包下载列表
LFS中文文档6.4最新版,内附编译所需的软件包下载列表-6.4 the latest version of LFS Chinese documents, enclosing the required packages to compile a list to download
- 2022-03-17 19:42:55下载
- 积分:1
-
锁屏软件 需要输入密码 密码见源代码内
锁屏软件 需要输入密码 密码见源代码内 -Lock screen software requires a password in your password, see the source code
- 2022-02-03 07:35:02下载
- 积分:1
-
一个LINUX模块例子内核模块时LINUX提供给用户动态扩充内核的一种机制。利用模块在PROC文件系统中挂接一个能读取系统时钟的文件。...
一个LINUX模块例子内核模块时LINUX提供给用户动态扩充内核的一种机制。利用模块在PROC文件系统中挂接一个能读取系统时钟的文件。-example of a Linux kernel module module for Linux users dynamic expansion of a core mechanism. The use of modules in PROC file system articulated a system clock can be read in the paper.
- 2023-07-21 07:05:03下载
- 积分:1
-
这是一个在linux下的蜂鸣器的程序,是在ARM开发板上用得,是ARM7结构的开发板...
这是一个在linux下的蜂鸣器的程序,是在ARM开发板上用得,是ARM7结构的开发板-This is a buzzer under linux at the process, are in the ARM development board used is the ARM7 development board structure
- 2022-04-08 07:45:04下载
- 积分:1