home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 8 / FreshFishVol8-CD1.bin / gnu / src / baseline / jove-4.14.6.lha / jove-4.14.6 / disp.h < prev    next >
C/C++ Source or Header  |  1992-01-10  |  2KB  |  60 lines

  1. /***************************************************************************
  2.  * This program is Copyright (C) 1986, 1987, 1988 by Jonathan Payne.  JOVE *
  3.  * is provided to you without charge, and with no warranty.  You may give  *
  4.  * away copies of JOVE, including sources, provided that this notice is    *
  5.  * included in all the files.                                              *
  6.  ***************************************************************************/
  7.  
  8. #define DIRTY        ((daddr) 01)    /* needs update for some reason */
  9. #define MODELINE    02        /* this is a modeline */
  10. #define L_MOD        04        /* line has been modified internally */
  11.  
  12. #define makedirty(line)    { (line)->l_dline |= DIRTY; }
  13. #define isdirty(line)    ((line)->l_dline & DIRTY)
  14.  
  15. struct scrimage {
  16.     int    s_offset,    /* offset to start printing at */
  17.         s_flags,    /* various flags */
  18.         s_id,        /* which buffer line */
  19.         s_vln;        /* Visible Line Number */
  20.     Line    *s_lp;        /* so we can turn off red bit */
  21.     Window    *s_window;    /* window that contains this line */
  22. };
  23.  
  24. extern struct scrimage
  25.     *DesiredScreen,        /* what we want */
  26.     *PhysScreen;        /* what we got */
  27.  
  28. extern bool
  29.     UpdModLine,    /* whether we want to update the mode line */
  30.     UpdMesg;    /* update the message line */
  31.  
  32. extern int
  33.     chkmail proto((int force)),
  34.     calc_pos proto((char *lp,int c_char));
  35.  
  36. extern void
  37.     disp_opt_init proto((void)),
  38.     ChkWindows proto((struct line *line1,struct line *line2)),
  39.     ChkWinLines proto((void)),
  40.     DrawMesg proto((bool abortable)),
  41.     TOstart proto((char *name, bool auto_newline)),
  42.     TOstop proto((void)),
  43.     Typeout proto((char *, ...)),
  44.     rbell proto((void)),
  45.     redisplay proto((void));
  46.  
  47. extern int
  48.     DisabledRedisplay;
  49.  
  50. #ifdef    ID_CHAR
  51. extern bool
  52.     IN_INSmode;
  53.  
  54. extern int
  55.     IMlen;
  56.  
  57. extern void
  58.     INSmode proto((bool));
  59. #endif    /* ID_CHAR */
  60.