1: /* $Header: Xtext.h,v 10.3 86/02/01 15:42:28 tony Rel $ */
   2: /* Include file for X text window package.  An application using this
   3:    package modifies any of the fields at its own risk! */
   4: 
   5: typedef struct _TextWindow {
   6:     Window w;       /* Window to use */
   7:     FontInfo *font;     /* Font to use for text */
   8:     int fgpixel;        /* Pixel value of foreground */
   9:     int bgpixel;        /* Pixel value of background */
  10:     short num_lines;    /* Number of lines in the window */
  11:     short num_chars;    /* The length of each line */
  12:     short mapped;       /* Whether or not the window is mapped */
  13:     short height;       /* Height of window in pixels */
  14:     short width;        /* Width of window in pixels */
  15:     short first_line;   /* The index of the first line */
  16:     char **lines;       /* Ptr to array of text lines */
  17:     short *line_length; /* Ptr to array of line lengths (in pixels) */
  18:     short *line_chars;  /* Ptr to array of line lengths in chars */
  19:     short last_line;    /* Which line is the last */
  20:     short last_char;    /* Length of the last line */
  21:     short next_x;       /* X-coord for next character */
  22:     short next_y;       /* Y-coord for next character */
  23:     unsigned int eventmask; /* List of events we're interested in */
  24:     char *scroll_history;   /* Ptr to list of scroll amounts */
  25:     short scroll_count; /* Number of outstanding scrolls */
  26:     short scroll_start; /* Where in the history the history starts */
  27:     short old_scrolls;  /* Number of ignorable outstanting scrolls */
  28:     short fastscroll;   /* Whether or not to use fast scrolling */
  29: } TextWindow;
  30: 
  31: TextWindow *TextCreate();

Defined struct's

_TextWindow defined in line 5; never used

Defined typedef's

TextWindow defined in line 29; used 20 times

Usage of this include

Last modified: 1986-02-01
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 585
Valid CSS Valid XHTML 1.0 Strict