home *** CD-ROM | disk | FTP | other *** search
/ Power Programmierung 2 / Power-Programmierung CD 2 (Tewi)(1994).iso / c / library / dos / menu / kiwi / demoprg / demo.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-04-13  |  1.9 KB  |  53 lines

  1. /*    Headerdatei fuer DEMO Programm    1.00 B    */
  2.  
  3. #define ANHANG_LEN     4
  4. #define MAX_COLOR    5
  5. #define SM_PRN_INIT_LEN    30
  6.  
  7.  
  8.  
  9. struct demo_festlegungen{
  10.     USHORT screen_size;        /* Bildschirmgröße    */
  11.     USHORT background;        /* Hintergrundzeichen    */
  12.     USHORT output_mode;        /* Ausgabe BIOS Direkt    */
  13.     USHORT frame_color;        /* Randfarbe        */
  14.     USHORT printer;            /* Druckausgabekanal    */
  15.     USHORT shadow;            /* Window mit Schatten    */
  16.     USHORT menu_mode;            /* Menümodus Pop/Pull    */
  17.     USHORT menu_maus;        /* Menü nach Maus     */
  18.     USHORT for_col_nor[MAX_COLOR];  /* Farbtabellen        */
  19.     USHORT back_col_nor[MAX_COLOR];
  20.     USHORT for_col_inv[MAX_COLOR];
  21.     USHORT back_col_inv[MAX_COLOR];
  22.     USHORT saa_zeichen;        /* Saa Palete        */
  23.     CHAR anhang[ANHANG_LEN];/* Datenpfad Windows    */
  24.     CHAR druck_pfad[DATEI_PFAD_LEN];/* Datenpfad Windows    */
  25.     CHAR datei_pfad[DATEI_PFAD_LEN];/* Datenpfad Windows    */
  26.     CHAR heim_pfad[DATEI_PFAD_LEN];    /* Datenpfad Hilfe    */
  27.     CHAR datei[DATEI_NAME_LEN];    /* Dateiname Global    */
  28.     CHAR header[MAX_HEADER_SIZE];     /* Windowheader Global    */
  29.     SHORT maus;            /* Mit ohne Maus    */
  30.     SHORT printer_typ;        /* Druckertyp        */
  31.     SHORT linker_rand;        /* Linker Rand        */
  32.     SHORT seiten_laenge;        /* seiten_laenge    */
  33.     SHORT sound;            /* Warnton an aus    */
  34.     UCHAR prn_pre_init[SM_PRN_INIT_LEN];    /*Druck init    */
  35.     UCHAR prn_post_init[SM_PRN_INIT_LEN];    /*Druck deinit    */
  36.     SHORT button_typ;            /*Schaltertyp     */
  37.     SHORT button_shadow;        /* Schalterschatten    */
  38.     SHORT button_klick;        /* Schalterklicken    */
  39.     SHORT button_freq_ein;        /* ton ein         */
  40.     SHORT button_ton_ein;        /* ton ein        */
  41.     SHORT button_freq_aus;        /* ton aus        */
  42.     SHORT button_ton_aus;        /* ton aus        */
  43.     SHORT win_open_mode;        /* Öffnungsmodus    */
  44.     SHORT open_delay;        /* Verzögerungsdauer    */
  45.     SHORT maus_hand;        /* Rechts oder links    */
  46.  
  47. };
  48.  
  49. #ifdef DEMO_DEF
  50.     struct demo_festlegungen demo_fest;
  51. #else
  52.     extern struct demo_festlegungen demo_fest;
  53. #endif