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

📄 selection.h

📁 操作系统SunOS 4.1.3版本的源码
💻 H
字号:
/*	@(#)selection.h 1.1 92/07/30 SMI	*//* * Copyright (c) 1983 by Sun Microsystems, Inc. */struct	selection {	int	sel_type,		sel_items,		sel_itembytes,		sel_pubflags;	caddr_t	sel_privdata;};extern	struct selection	selnull;/* * sel_type values */#define	SELTYPE_NULL	0#define	SELTYPE_CHAR	1/* * sel_itembytes values */#define	SEL_UNKNOWNITEMS	-1	/* Don't know how many items *//* * sel_pubflags values */#define	SEL_PRIMARY	0X01	/* Primary selection */#define	SEL_SECONDARY	0X02	/* Secondary selection */#ifdef	cplus/* * Create the selection */void	selection_set(struct selection *sel, int (*sel_write)(), (*sel_clear)(),	    windowfd);/* * Fetch the selection */void	selection_get(int (*sel_read)(), windowfd);/* * Clear the selection */void	selection_clear(windowfd);/* * Write the bits of the selection */void	sel_write(struct selection *sel, FILE *file);/* * Read the bits of the selection */void	sel_read(struct selection *sel, FILE *file);/* * As the owner of the selection you should clear your hiliting because * you are no longer the selection owner. */void	sel_clear(struct selection *sel, int windowfd);#endif	cplus

⌨️ 快捷键说明

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