-
宽度= 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
-
ucos
uCOS-II源码,供大家学习之用!!!
uCOS-II源码,供大家学习之用-uCOS-II源码,供大家学习之用!!!
- 2022-01-25 23:56:03下载
- 积分:1
-
44B0+uclinux keyboard driver code
44B0+uclinux外接键盘驱动程序-44B0+uclinux keyboard driver code
- 2022-05-25 03:32:19下载
- 积分:1
-
linux基本命令,学习指南。适合用于初学者
linux基本命令,学习指南。适合用于初学者-basic commands, study guide. Suitable for beginners
- 2022-03-20 14:39:53下载
- 积分:1
-
在linux系统下,用qt4.3开发的摄像头应用程序
在linux系统下,用qt4.3开发的摄像头应用程序-In linux system, developed by qt4.3 camera applications
- 2023-05-25 21:35:03下载
- 积分:1
-
Qt及Linux操作系统、窗口设计。用于软件Qtopia的2本书…
QT及linux操作系统窗口设计。书中用的软件有Qtopia 2.1.1,Qt/Embedded 3.4,Qt/X11 3.4,KDE 3.5/X windows的X11R682.-QT and the linux operating system, window design. Book used in software Qtopia 2.1.1, Qt/Embedded 3.4, Qt/X11 3.4, KDE 3.5/X windows in X11R682.
- 2022-03-22 20:48:42下载
- 积分:1
-
Linux下编程实现服务器与客户端的连接
Linux下编程实现服务器与客户端的连接-Programming Linux server and client connections
- 2022-02-04 06:55:47下载
- 积分:1
-
ALTERA epxa1 examples of procedures
altera epxa1的例子程序-ALTERA epxa1 examples of procedures
- 2022-04-13 09:49:14下载
- 积分:1
-
rtp media refers to the programming in the network transmission technology using...
rtp 编程 媒体指的是在网络中使用流技术传输的连续时基媒体,其特点是在播放前不需要下载整个文件,而是采用边下载边播放的方式,它是视频会议、IP 电话等应用场合的技术基础。RTP 是进行实时流媒体传输的标准协议和关键技术,本文介绍如何在 Linux 下利用 JRTPLIB 进行实时流媒体编程。 -rtp media refers to the programming in the network transmission technology using continuous time-base media, their characteristics are in the player does not need to download the entire document before, instead of using the side edge player download way, which is video conferencing, IP phones and other applications of the technology base. RTP is a real-time streaming media transmission protocol and the key technology standards, this article describes how to use JRTPLIB in the Linux real-time streaming media programming.
- 2022-01-26 07:52:17下载
- 积分:1
-
Graphviz
Graphviz - Graph Drawing Programs from AT&T Research and Lucent Bell Labs
See doc/build.html for prerequisites and detailed build notes.
-Graphviz- Graph Drawing Programs from AT&T Research and Lucent Bell Labs
See doc/build.html for prerequisites and detailed build notes.
- 2022-02-13 18:26:34下载
- 积分:1