-
宽度= 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
-
qt的学习笔记,从简单的hello qt,连接信号,对话框,菜单和工具条。。。到2D和3D图形系统,opengl调用,非常实用...
qt的学习笔记,从简单的hello qt,连接信号,对话框,菜单和工具条。。。到2D和3D图形系统,opengl调用,非常实用-qt learning notes, from a simple hello qt, connecting signal, dialog, menu and toolbar. . . To 2D and 3D graphics system, opengl calls, very useful
- 2023-08-22 12:45:04下载
- 积分:1
-
implementing Fibonacci algorithm using fork on Linux
implementing Fibonacci algorithm using fork on Linux
- 2022-01-22 06:15:14下载
- 积分:1
-
remotewap是任何操作系统的远程管理工具可以支持。
RemoteWAP is a Remote Administration Tool for any Operating System that can support the Java Virtual Machine. It has been designed for anyone who wishes to have complete control of there OS anywhere by using a WAP enabled Mobile Phone. RemoteWAP is developed using Java and WML for the client mobile phone front-end pages. RemoteWAP has a Java Swing-GUI to allow for easy control. Future releases will have a Command Line Interface for quick use
- 2023-05-16 15:45:03下载
- 积分:1
-
利用cvops框架进行协议栈编程的极好的例子
利用cvops框架进行协议栈编程的极好的例子-A very good example to guiding use cvops for communication stack programming.
- 2022-01-25 18:56:07下载
- 积分:1
-
flv to avi divx command in ubuntu 9.10
flv to avi divx command in ubuntu 9.10
- 2022-01-24 09:54:35下载
- 积分:1
-
linux device drive II 的示例移植到2.6.x内核
linux device drive II 的示例移植到2.6.x内核-linux device drive II examples transplanted to the kernel 2.6.x.
- 2022-05-13 03:18:14下载
- 积分:1
-
Linux环境下一个2410键盘驱动加应用程序,希望对大家有帮助
Linux环境下一个2410键盘驱动加应用程序,希望对大家有帮助-Linux environment plus a 2410 keyboard-driven applications, in the hope that everyone has to help
- 2022-07-12 22:59:11下载
- 积分:1
-
linux
linux测试 源码-linux-source testing
- 2022-08-14 19:33:13下载
- 积分:1
-
本书是一本有关LINUX下的C语言编程的书籍。
本书是一本有关LINUX下的C语言编程的书籍。-This book is a book about the C language under LINUX programming books.
- 2023-09-03 12:15:04下载
- 积分:1