📄 litecluep.h
字号:
/* LiteClueP.h - Private definitions for LiteClue widget See LiteClue documentationCopyright 1996 COMPUTER GENERATION, INC.,The software is provided "as is", without warranty of any kind, expressor implied, including but not limited to the warranties ofmerchantability, fitness for a particular purpose and noninfringement.In no event shall Computer Generation, inc. nor the author be liable forany claim, damages or other liability, whether in an action of contract,tort or otherwise, arising from, out of or in connection with thesoftware or the use or other dealings in the software.Permission to use, copy, modify, and distribute this software and itsdocumentation for any purpose and without fee is hereby granted,provided that the above copyright notice appear in all copies and thatboth that copyright notice and this permission notice appear insupporting documentation.Author:Gary Aviv Computer Generation, Inc.,gary@compgen.com*//* Revision History:$Log: LiteClueP.h,v $Revision 1.1 2001/02/20 20:29:59 daservisMakefiles and movement for configure scriptsRevision 1.1 2000/08/20 04:47:58 bforsbergAdd mixing class and made several fixesRevision 1.3 1998/07/30 16:06:01 garyNO_FONT_SETRevision 1.2 1997/06/15 14:08:14 garySupport for cancel wait periodRevision 1.1 1996/10/19 16:08:51 garyInitial$logNO_FONT_SET$log*/#ifndef _DEF_LiteClueP_h#define _DEF_LiteClueP_h#include <X11/ShellP.h>/* Include public header file for this widget. */#ifndef __VMS# include <LiteClue.h>#else# include "LiteClue.h"#endif /* Doubly Linked List Processing */struct list_thread_str{ struct list_thread_str * forw; /* next pointer */ struct list_thread_str * back; /* prev pointer */};typedef struct list_thread_str ListThread; typedef struct { int nothing; /* place holder */} LiteClueClassPart;/* Full class record declaration */typedef struct _LiteClueClassRec { CoreClassPart core_class; CompositeClassPart composite_class; ShellClassPart shell_class; OverrideShellClassPart override_shell_class; LiteClueClassPart LiteClue_class;} LiteClueClassRec;extern LiteClueClassRec xcgLiteClueClassRec;/* New fields for the LiteClue widget record */typedef struct { /* resources */ Pixel foreground;#if XtSpecificationRelease < 5 || defined(NO_FONT_SET) XFontStruct *fontset; /* the font for text in box */#else XFontSet fontset; /* the font for text in box */#endif int waitPeriod; /* the delay resource - pointer must be in watched widget this long before help is poped - in millisecs */ int cancelWaitPeriod; /* after help is popped-down - normal wait period is cancelled for this period - in millisecs */ /* -------- private state --------- */ ListThread widget_list; /* list of widgets we are liteClue-ing */ Dimension font_width; /* width of '1' character */ Dimension font_height; /* height of font, rows are spaced using this */ Dimension font_baseline; /* relative displacement to baseline from top */ GC text_GC; /* for drawing text */ XtIntervalId interval_id; /* New field, holds timer id */ Boolean HelpIsUp; /* the help is popup is up */ Time HelpPopDownTime; /* the time at which help popup was popped down */} LiteCluePart;/* * Full instance record declaration */typedef struct _LiteClueRec { CorePart core; CompositePart composite; ShellPart shell; OverrideShellPart override; LiteCluePart liteClue;} LiteClueRec;#endif /* _DEF_LiteClueP_h */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -