buttons.h

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

H
51
字号
/* *  buttons.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 _BUTTONS_H#define _BUTTONS_H#ifndef X_DISPLAY_MISSINGtypedef enum grayscale_e {BLACK, NGRAY, LGRAY, DGRAY, RED,			  THICKBLACK, NO_GC} grayscale_t;typedef enum buttons_e {STOP_BUTTON, PLAY_BUTTON, PAUSE_BUTTON, RECORD_BUTTON,			QUIT_BUTTON, NO_BUTTON} buttons_t;typedef struct buttoninfo{   Window   window;   bool_t   pressed [NO_BUTTON];   GC	    gc [NO_GC];   unsigned width;   unsigned height;   unsigned progbar_height;   bool_t   record_is_rewind;} binfo_t;voidcheck_events (x11_info_t *xinfo, binfo_t *binfo, unsigned n,	      unsigned n_frames);voidwait_for_input (x11_info_t *xinfo);binfo_t * init_buttons (x11_info_t *xinfo, unsigned n, unsigned n_frames,	      unsigned buttons_height, unsigned progbar_height);#endif /* not X_DISPLAY_MISSING */#endif /* not _BUTTONS_H */

⌨️ 快捷键说明

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