display.h

来自「linux下将各类格式图片转换工具」· C头文件 代码 · 共 50 行

H
50
字号
/* *  display.h * *  Written by:		Ullrich Hafner *		 *  This file is part of FIASCO (獸籸actal 獻籱age 獳籲d 玈籩quence 獵O籨ec) *  Copyright (C) 1994-2000 Ullrich Hafner <hafner@bigfoot.de> *//* *  $Date: 2000/06/14 20:51:17 $ *  $Author: hafner $ *  $Revision: 5.1 $ *  $State: Exp $ */#ifndef _DISPLAY_H#define _DISPLAY_H#ifndef X_DISPLAY_MISSING#include <X11/Xlib.h>#include "types.h"#include "image.h"typedef struct x11_info{   Display *display;   int	    screen;			/* default screen number */   Window   window;			   XImage  *ximage;   GC	    gc;   byte_t  *pixels;} x11_info_t;voiddisplay_image (unsigned x0, unsigned y0, x11_info_t *xinfo);voidclose_window (x11_info_t *xinfo);x11_info_t *open_window (const char *titlename, const char *iconname,	     unsigned width, unsigned height);voidalloc_ximage (x11_info_t *xinfo, unsigned width, unsigned height);#endif /* X_DISPLAY_MISSING */#endif /* not _DISPLAY_H */

⌨️ 快捷键说明

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