Changeset aa2f33b3 for owl.h


Ignore:
Timestamp:
Jul 16, 2002, 9:55:47 PM (22 years ago)
Author:
Erik Nygren <nygren@mit.edu>
Branches:
master, barnowl_perlaim, debian, owl, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
f2e36b5
Parents:
e50cd56
Message:
	Variables now have a summary and a long description.
	        Only the summary is shown with help.
		The long description is shown with "show variable foo".
        Fix the scrolling bug where we would sometimes fail to scroll
             the screen down, leaving the current message off
             the bottom of the screen.
        Added a 'scrollmode' variable which determines how the screen
	     will scroll as the cursor moves.  The default behaves
	     identically to previous versions of owl.
             The following modes are supported:
	     normal      - This is the owl default.  Scrolling happens
	                   when it needs to, and an attempt is made to
	                   keep the current message roughly near
	                   the middle of the screen.  (default)
	     top         - The current message will always be the
	                   the top message displayed.
	     neartop     - The current message will be one down
	                   from the top message displayed,
	                   where possible.
	     center      - An attempt is made to keep the current
	                   message near the center of the screen.
	     paged       - The top message displayed only changes
	                   when user moves the cursor to the top
	                   or bottom of the screen.  When it moves,
	                   the screen will be paged up or down and
	                   the cursor will be near the top or
	                   the bottom.
	     pagedcenter - The top message displayed only changes
	                   when user moves the cursor to the top
	                   or bottom of the screen.  When it moves,
	                   the screen will be paged up or down and
	                   the cursor will be near the center.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • owl.h

    rae9e6be raa2f33b3  
    1212static const char owl_h_fileIdent[] = "$Id$";
    1313
    14 #define OWL_VERSION         1.2.1-pre-1
    15 #define OWL_VERSION_STRING "1.2.1-pre-1"
     14#define OWL_VERSION         1.2.1-pre-3
     15#define OWL_VERSION_STRING "1.2.1-pre-3"
    1616
    1717#define OWL_DEBUG 0
     
    4646#define OWL_DIRECTION_DOWNWARDS 1
    4747#define OWL_DIRECTION_UPWARDS   2
     48
     49#define OWL_SCROLLMODE_NORMAL   0
     50#define OWL_SCROLLMODE_TOP      1
     51#define OWL_SCROLLMODE_NEARTOP  2
     52#define OWL_SCROLLMODE_CENTER   3
     53#define OWL_SCROLLMODE_PAGED    4
     54#define OWL_SCROLLMODE_PAGEDCENTER 5
     55
    4856
    4957#define OWL_TAB               3  /* This *HAS* to be the size of TABSTR below */
     
    114122  int   ival_default;  /* for types int and bool     */
    115123  char *validsettings;          /* documentation of valid settings */
    116   char *docstring;              /* documentation of valid settings */
     124  char *summary;                /* summary of usage */
     125  char *description;            /* detailed description */
    117126  void *val;                    /* current value */
    118127  int  (*validate_fn)(struct _owl_variable *v, void *newval);
Note: See TracChangeset for help on using the changeset viewer.