-
宽度= 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
-
windows下的linux操作系统
windows下的linux操作系统-windows under the Linux operating system
- 2022-05-18 06:16:04下载
- 积分:1
-
多线程扫描匿名ftp的例程
多线程扫描匿名ftp的例程-multithreaded scanning routines anonymous ftp
- 2022-05-24 12:44:37下载
- 积分:1
-
beginninglinuxprogramming例子
BeginningLinuxProgramming example2
- 2022-03-22 16:36:44下载
- 积分:1
-
G.729编解码的C源代码(使用英特尔IPP
g.729的编解码c源码(使用intel的ipp包)堪称效率最高。-g.729 arranges decodes the c source code (to use intel the ipp
package) to may be called the efficiency to be highest.
- 2022-04-24 07:44:43下载
- 积分:1
-
正则表达式源代码,用于对字符串的处理,如电话号码的识别等...
正则表达式源代码,用于对字符串的处理,如电话号码的识别等-regular expression source code for the string processing, such as telephone numbers and other identification
- 2022-01-26 01:01:30下载
- 积分:1
-
QL2000卡的驱动程序,可以学习驱动的编程.
对于UNIX的I/O操作有帮助!...
QL2000卡的驱动程序,可以学习驱动的编程.
对于UNIX的I/O操作有帮助!-QL2000 card drivers, drivers can learn programming. For UNIX the I/O operation has to help!
- 2022-02-09 22:12:51下载
- 积分:1
-
sja1000的PCI CAN通讯驱动适用于linux2.6内核
sja1000的PCI CAN通讯驱动适用于linux2.6内核-PCI CAN driver for Sja1000 in linux 2.6
- 2023-01-31 20:00:03下载
- 积分:1
-
Shell source : find search for a particular day in the paper A = ~ find
Shell源码:find查找日期为某一天的文件
A=`find ~ -print` | ls -l --full-time $A 2>/dev/null | grep "Jun 27" | grep 1998
下面这个script,存成一个符合规则名字的文件,置上x属性就行了。
-Shell source : find search for a particular day in the paper A = ~ find- print | ls-l-- full-time A $ inversion;/Dev/null | grep "Jun 27" | grep 1998 following the script, save one meet the rules name in the paper, on the x attribute home there.
- 2022-01-26 02:49:54下载
- 积分:1
-
处理机调度算法,模拟了处理机调度的各种算法
处理机调度算法,模拟了处理机调度的各种算法-Processor scheduling algorithm
- 2022-03-19 22:13:12下载
- 积分:1