⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ttytlsw.h

📁 操作系统SunOS 4.1.3版本的源码
💻 H
字号:
/*	@(#)ttytlsw.h 1.1 92/07/30 SMI	*//* * Copyright (c) 1983 by Sun Microsystems, Inc. */#ifdef	notdefA tty tool subwindow is a super class of a straight tty subwindow(see ttysw.h).  This mean that a tty tool subwindow can do whata straight tty subwindow can plus some more stuff.  In particular,a tty tool subwindow knows about tool windows and allowstty based programs to set/get data about the tool window.The only public access to a tty tool subwindow is its create/destroyprocedures, ttytlsw_create and ttytlsw_done.  Other thanthis, the subwindow should be thought of as a straight tty subwindow.These are the escape sequences that tty programs can send to atty tool subwindow (sending them to a straight tty subwindow willcause them to be ignored):	\E[1t		- open	\E[2t		- close (become iconic)	\E[3t		- move, with interactive feedback	\E[3;TOP;LEFTt	- move, TOP LEFT in pixels	\E[4t		- stretch, with interactive feedback	\E[4;ROWS;COLSt	- stretch, ROWS COLS in pixels	\E[5t		- top (expose)	\E[6t		- bottom (hide)	\E[7t		- refresh	\E[8;ROWS;COLSt	- stretch, ROWS COLS in characters	\E[11t		- report open or iconic, sends \E[1t or \E[2t	\E[13t		- report position, sends \E[3;TOP;LEFTt	\E[14t		- report size in pixels, sends \E[8;ROWS;COLSt	\E[18t		- report size in chars, sends \E[4;ROWS;COLSt	\E[20t		- report icon label, sends \E]Llabel\E\	\E[21t		- report tool label, sends \E]llabel\E\	\E]l<text>\E\	- set tool label to <text>	\E]I<file>\E\	- set icon file to <file>	\E]L<label>\E\	- set icon label to <label>#endifextern	caddr_t ttytlsw_create();#ifdef	cplus/* * C Library routines specifically related to ttysw subwindow functions. */void	ttytlsw_done(caddr_t ttysw);/* * Utility for creating a ttytlsw. */caddr_t	ttytlsw_create(struct tool *tool, char *name, short width, height);/* Obsolete (but implemented) routine */struct	toolsw *ttytlsw_createtoolsubwindow(	struct tool *tool, char *name, short width, height);#endif/* Obsolete (but implemented) routine */extern	struct toolsw *ttytlsw_createtoolsubwindow();

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -