-
宽度= 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
-
to get the sys_call_table in linux kernel 2.6
系统调用表的获取,已在2.6平台上测试,2.6平台的系统调用表不在导出,当然你也可以通过编译内核导出-to get the sys_call_table in linux kernel 2.6
- 2022-04-02 06:32:06下载
- 积分:1
-
操作系统的自学课程实验。要学操作系统指令的朋友就下吧。...
操作系统的自学课程实验。要学操作系统指令的朋友就下吧。-operating system self-learning experiment. To learn the operating system on the instructions of a friend are you.
- 2022-06-16 02:23:11下载
- 积分:1
-
linux下的flash player的一个具体实现,未经验证
linux下的flash player的一个具体实现,未经验证-linux media player
- 2022-01-30 10:47:51下载
- 积分:1
-
xmanager是Windows 95/98/ME和Windows NT/2000/XP 平台下一个性能优秀的X11R6 PC X服务器。就像运行在PC上的任何...
xmanager是Windows 95/98/ME和Windows NT/2000/XP 平台下一个性能优秀的X11R6 PC X服务器。就像运行在PC上的任何Windows应用程序一样,它可以无缝拼接到UNIX 应用程序中。在UNIX/Linux和Windows网络环境中,Xmanager 是最好的连通解决方案-Xmanager is a Windows 95/98/ME and Windows NT/2000/XP platform for outstanding performance under a X11R6 PC X server. Like running on the PC on any Windows applications, it can be seamless connection to UNIX applications. In the UNIX/Linux and Windows network environment, Xmanager is the best connectivity solution
- 2023-02-26 01:05:08下载
- 积分:1
-
linux design drv button below to use timer
linux下面 drv button 设计 定时器使用-linux design drv button below to use timer
- 2022-04-30 02:25:48下载
- 积分:1
-
本书详细地介绍了Linux下一些主要函数的功能,对Linux内核编程人员具有很好的参考价值。...
本书详细地介绍了Linux下一些主要函数的功能,对Linux内核编程人员具有很好的参考价值。-the book described in detail some of the major Linux of functionality, the Linux kernel programming staff with a good reference value.
- 2022-03-02 03:46:56下载
- 积分:1
-
//初始化
initscr()
//获得屏幕尺寸
getmaxyx(stdscr, h, w)
//画背景...
//初始化
initscr()
//获得屏幕尺寸
getmaxyx(stdscr, h, w)
//画背景
for(i=0 i
- 2022-02-16 05:28:10下载
- 积分:1
-
内核编程实例
examples for linux kernel programming-examples for linux kernel programming
- 2022-03-17 10:30:40下载
- 积分:1
-
可在嵌入式uclinux操作系统下的ARM7板子上跑的网络摄像机程序....
可在嵌入式uclinux操作系统下的ARM7板子上跑的网络摄像机程序.-Can be embedded uClinux operating system running on the ARM7 board process of network cameras.
- 2022-12-14 22:25:03下载
- 积分:1