wdvi

network DVI viewer
Log | Files | Refs

special.h (912B)


      1 #include "data.h"	/* struct rgb */
      2 
      3 
      4 struct pagecolor {
      5 	struct rgb	bg;
      6 	unsigned int	stacksize;
      7 	const struct rgb *colorstack;
      8 };
      9 
     10 /* Information on background color and initial color stack for each page.  */
     11 struct pagecolor	*page_colors	= NULL;
     12 
     13 /* The initial color stack is gotten from the pagecolor record for a page.  */
     14 const struct rgb	*color_bottom;
     15 unsigned int		color_bot_size;	/* number of entries */
     16 
     17 /* Additions to the runtime color stack on a given page are stored in a linked
     18    list.  "struct colorframe" is defined in special.c.  */
     19 struct colorframe	*rcs_top;
     20 
     21 
     22 int	scanned_page;		/* last page prescanned */
     23 int	scanned_page_color;	/* last page scanned for color spcls */
     24 int	scanned_page_reset;	/* number to reset the above to */
     25 
     26 
     27 void	 applicationDoSpecial(char *);
     28 void	 init_prescan(void);
     29 void	 scan_color_eop(void);
     30 void	 scan_special(char *);
     31 void	 set_fg_color(const struct rgb *);