home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / gnu / lucid / lemacs-19.6 / src / ScreenWidgetP.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-06-29  |  1.3 KB  |  53 lines

  1. #ifndef _ScreenWidgetP_h
  2. #define _ScreenWidgetP_h
  3.  
  4. #include "ScreenWidget.h"
  5.  
  6.  
  7. typedef struct {
  8.   /* resources */
  9.   int        minibuffer;    /* 0: normal screens with minibuffers.
  10.                  * 1: screens without minibuffers 
  11.                  * 2: minibuffer only. */
  12.   Boolean    unsplittable;    /* screen can only have one window */
  13.  
  14.   int        internal_border_width;    /* internal borders */
  15.   int        interline;        /* skips between lines */
  16.  
  17.   XFontStruct*    font;            /* font */
  18.   Pixel        foreground_pixel;    /* foreground */
  19.  
  20.   Pixel        cursor_color;        /* text cursor color */
  21.   Boolean    bar_cursor;        /* 1 if bar, 0 if block */
  22.  
  23.   Boolean    visual_bell;        /* flash instead of beep */
  24.   int        bell_volume;        /* how loud is beep */
  25.  
  26.   char*        emacs_geometry;        /* emacs geometry in chars */
  27.  
  28.   struct screen*    screen;        /* emacs screen object */
  29.  
  30.   /* private state */
  31.  
  32. } EmacsScreenPart;
  33.  
  34. typedef struct _EmacsScreenRec {    /* full instance record */
  35.     CorePart        core;
  36.     EmacsScreenPart    emacs_screen;
  37. } EmacsScreenRec;
  38.  
  39. typedef struct {            /* new fields for EmacsScreen class */
  40.     int dummy;
  41. } EmacsScreenClassPart;
  42.  
  43. typedef struct _EmacsScreenClassRec {    /* full class record declaration */
  44.     CoreClassPart        core_class;
  45.     EmacsScreenClassPart    emacs_screen_class;
  46. } EmacsScreenClassRec;
  47.  
  48. extern EmacsScreenClassRec emacsScreenClassRec;     /* class pointer */
  49.  
  50.  
  51.  
  52. #endif /* _ScreenWidgetP_h */
  53.