/*-- AutoRev header do NOT edit! * * Program : view.h * Copyright : © 1991 Jaba Development * Author : Jan van den Baard * Creation Date : 20-Apr-91 * Current version : 1.0 * Translator : DICE v2.6 * * REVISION HISTORY * * Date Version Comment * --------- ------- ------------------------------------------ * 20-Apr-91 1.0 Header for the main program. * *-- REV_END --*/ /* * include a whole bunch of headers. */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #ifndef abs #define abs #endif #include #include /* * Include all neacecary proto-types because the usage of * "__regargs" with DICE requires this. */ #include #include #include #include #include /* my very own library */ #include #include #include #include #include #include #include #include #define __STKARGS__ #include "ascii.h" /* the ASCII-File routines */ /* * three different print modes. */ #define PRT_FILE 0x0000 #define PRT_PAGE 0x0001 #define PRT_BLOCK 0x0002 /* * data structure which get's passed to View it's input-handler * when it's active. */ struct HandlerMuck { struct Task *ViewTask; /* the main task */ ULONG ViewSigMask; /* mask to signal */ BOOL View; /* TRUE if LALT+LAMIGA+V */ BOOL Quit; /* TRUE if LALT+LAMIGA+Q */ BOOL Flush; /* TRUE if LALT+LAIMGA+F */ }; /* * data structure used to keep track of text-block markers. */ struct TextBlock { struct Line *TopLine; /* Top most line in the block */ struct Line *BottomLine; /* Bottom most line in the block */ };