//初始化 if(initscr() == NULL) { perror("initcurs") exit(EXIT_FAILURE) } //设置模式 cbreak() noecho() keypad(stdscr, TRUE) //建立窗口 win = newwin(h, w, 3, 20) box(win, 0, 0) keypad(win, TRUE) wmove(win, cury, curx) mvaddstr(16, 1, "Press arrow keys to move the cursor within the WINdow.\n") mvaddstr(17, 1, "Press q to quit.\n") refresh() wrefresh(win)
标签: EXIT_FAILURE initcurs initscr perror
上传时间: 2013-12-20
上传用户:FreeSky
//建立窗口 win1 = newwin(15, 50, 1, 1) box(win1, ACS_VLINE, ACS_HLINE) mvwprintw(win1, 2,1, "WINdow 1") mvwprintw(win1, 4,1, "Press any key switching to WINdow 2") win2 = newwin(15, 40, 4, 20) box(win2, ACS_VLINE, ACS_HLINE) mvwprintw(win2, 2,1, "WINdow 2") //建立子窗口 subwin = derwin(win2, 5, 25, 4, 5) box(subwin, ACS_VLINE, ACS_HLINE) mvwprintw(subwin, 2,1, "Sub WINdow of WINdow2") //刷新屏幕 refresh() wrefresh(win1) wrefresh(win2) touchwin(win1) wrefresh(win1) getch() touchwin(win2) mvwprintw(win2, 12,1, "Press any key to exit...") wrefresh(win2) //等待按键 getch() //结束 delwin(win1) delwin(subwin) delwin(win2) endwin()
标签: ACS_VLINE ACS_HLINE mvwprintw win
上传时间: 2017-06-12
上传用户:plsee
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) }
标签: gdk_pixbuf_animation_get_height gdk_pixbuf_animation_get_width ani height
上传时间: 2013-12-26
上传用户:thinode
Open source computer vision library in C/C++. Optimized and intended for real-time applications. OS/hardware/WINdow-manager independent.
标签: Optimized real-time computer intended
上传时间: 2013-12-28
上传用户:wangchong
Launch Matlab by either clicking twice on the Matlab icon on your desktop or by selecting: Start Programs Matlab Matlab. The main WINdow is the MATLAB Command WINdow, where you write your instructions.
标签: Matlab selecting clicking desktop
上传时间: 2017-06-30
上传用户:aa17807091
Very very small GUI. Usefull for small system, without OS or small OS. Event driven, support user message to GUI. included simle widgets: nested menu, WINdow, dialog, inputline, scroll list. Footprint for 16 bit CPU - aprox. 60kB. Languadge - C
标签: small Usefull support without
上传时间: 2017-07-08
上传用户:lepoke
AJAX Book Reader is a complete AJAX client-server application that may be used with a Web browser to display a sequence of text files one page at a time. The display style is completely controlled by a configuration file. The first application of this is as a book viewer where each chapter resides in a seperate text file. It is also suitable for any case where it is not practical to show all of the text to be displayed at once in the browser WINdow.
标签: AJAX client-server application complete
上传时间: 2014-01-02
上传用户:kikye
有用的几个动力学物理量。包括自相关函数(acorr.m),复杂度(complexity.m),最近邻点(fnn.m),局部非线性预测误差(nlpe.m,Shannon复杂度(Shannon.m),嵌入窗估计(WINdow.m)
上传时间: 2014-12-08
上传用户:Breathe0125
oa 源码,欢迎大家下载 基于JAVA BEAN、SERVLET设计,拥有强大的可视化流程设计器,支持串签、会签、异或发散、异或聚合、条件节点等,支持可视化的智能表单设计器,操作简单,易上手, 网络硬盘仿WINdow浏览器设计,支持网络邻居式的共享、并可将文件发布至部门或全局,档案管理部分按政府部门通用要求设计,并将每年跟随政府档案管理方式的调整
上传时间: 2013-11-29
上传用户:极客
Using Trolltech s Qt you can build industrial-strength C++ applications that run natively on WINdows, Linux/Unix, Mac OS X, and embedded Linux--without making source code changes. With this book Trolltech insiders have written a start-to-finish guide to getting great results with the most powerful version of Qt ever created: Qt 4.1.
标签: industrial-strength applications Trolltech natively
上传时间: 2017-08-11
上传用户:邶刖