-
宽度= 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 的client大文件传输
自己做得,opensuse
linux 的client大文件传输
自己做得,opensuse-linux large file transfer of the client doing, opensuse
- 2022-05-06 05:34:40下载
- 积分:1
-
4.了解和掌握Linux系统支持的消息通信机制、共享存储区机制。. (1) 消息的创建、发送和接收: 使用系统调用msgget( )、msgsed( )、msg...
4.了解和掌握Linux系统支持的消息通信机制、共享存储区机制。. (1) 消息的创建、发送和接收: 使用系统调用msgget( )、msgsed( )、msgrev及msgcrl( ),编写消息的发送和接收程序(消息长度为1KB); (2) 共享存储区的创建、附接和断接: 使用系统调用shmget( )、shmat( )、shmcrl( ),编写一个与上述功能相同的程序。-4. Understanding and support Linux messaging mechanism, shared memory mechanism. . (1) the creation of news, send and receive : the use of system calls msgget (), msgsed (), and msgrev msgcrl (), the preparation of the sender and receiver (news length of the 1KB); (2) shared storage area creation, and attached disconnect : use of system calls shmget (), shmat (), shmcrl (), a preparation of the above functions with the same procedure.
- 2022-03-25 22:13:37下载
- 积分:1
-
Development board 44b0x source code, to achieve ATA, LCD, FLASH, as well as on
44b0x开发板源代码,实现ATA,LCD,FLASH以及片上外设的各种功能-Development board 44b0x source code, to achieve ATA, LCD, FLASH, as well as on-chip peripheral functions
- 2022-02-06 00:56:33下载
- 积分:1
-
source sip, sip proxy server on the use of Osip Library
sip的源码,关于sip 代理服务器的,使用Osip库-source sip, sip proxy server on the use of Osip Library
- 2022-06-21 09:06:05下载
- 积分:1
-
unix下网络通讯方面的程序
unix下网络通讯方面的程序-communications procedures
- 2023-06-21 15:25:03下载
- 积分:1
-
关于IP协议方面的, 比较难
关于IP协议方面的, 比较难-On IP agreements, and more difficult
- 2022-10-13 02:45:03下载
- 积分:1
-
ARMLinux
基于ARMLinux的高速数据采集技术研究-ARMLinux-based high-speed data acquisition technology research
- 2023-05-26 06:10:02下载
- 积分:1
-
当前最完善的OBDD程序实现。可用于并行计算分析,网络图论分析...
当前最完善的OBDD程序实现。可用于并行计算分析,网络图论分析-At present, the most perfect realization of OBDD procedures. Analysis can be used for parallel computing, network graph theory analysis
- 2022-11-02 05:10:04下载
- 积分:1
-
这是一个Linux平台下的VCD播放软件
这是一个Linux平台下的VCD播放软件- This is Linux under platform VCD broadcast software
- 2022-11-22 16:15:03下载
- 积分:1