home *** CD-ROM | disk | FTP | other *** search
/ PC-Online 1998 February / PCOnline_02_1998.iso / filesbbs / dos / listz21s.exe / LZCONFIG.H < prev    next >
Encoding:
C/C++ Source or Header  |  1997-03-07  |  4.3 KB  |  97 lines

  1. /*
  2.  * This file is part of Listerz v2.0 (VE)
  3.  *
  4.  * Copyright (C) 1995-1997 by Branislav L. Slantchev
  5.  * A Product of Silicon Creations, Inc.
  6.  *
  7.  * This file is distributed under the terms and conditions of the GNU
  8.  * General Public License. For more information, refer to the file
  9.  * Copying.Doc which is included in the archive.
  10. */
  11. #ifndef INCLUDED_LZCONFIG_H
  12. #define INCLUDED_LZCONFIG_H
  13. #include "geometry.h"
  14.  
  15. #define ARCHIVER_ZIP 1
  16. #define ARCHIVER_RAR 2
  17. #define ARCHIVER_ARJ 3
  18. #define ARCHIVER_ZOO 4
  19. #define ARCHIVER_LHA 5
  20.  
  21. typedef struct
  22. {
  23.     zRect bounds;   // bounds of the progress bar
  24.     uchar fgColor;  // foreground color attribute
  25.     uchar bgColor;  // background color attribute
  26.     uchar fgChar;   // foreground character
  27.     uchar bgChar;   // background character
  28. } PROGBAR;
  29.  
  30. typedef struct
  31. {
  32.     char    path[80];    //..............................path to the archiver
  33.     char    options[36]; //..........................options for the archiver
  34.     Boolean enabled;     //.........................is the archiver available
  35.     Boolean swap;        //...........................should we swap when run
  36. } ARCHIVER;
  37.  
  38. typedef struct
  39. {
  40.     // SYSTEM PATH AND FILES
  41.     char     sys_Path[80];       //................system directory for files
  42.     char     sys_MainFile[80];   //........file to display as main background
  43.     char     sys_ProcFile[80];   //..........file to display while processing
  44.     // MAIN SELECTION SCREEN
  45.     zRect    lbox_Bounds;        //............................listbox window
  46.     uchar    lbox_TagChar;       //..............character to use for tagging
  47.     uchar    lbox_TagColor;      //...............color for the tag character
  48.     uchar    lbox_TagHilite;     //.......color for the hilited tag character
  49.     uchar    lbox_Color;         //...........text for area names in list box
  50.     uchar    lbox_Hilite;        //.......................selection bar color
  51.     // COMMAND BAR CONFIGURATION
  52.     zRect    cbar_Bounds;        //....................bounds for command bar
  53.     uchar    cbar_Color;         //...........................color for items
  54.     uchar    cbar_Background;    //......................color for background
  55.     uchar    cbar_HotkeyColor;   //.....................color for the hotkeys
  56.     uchar    cbar_HiliteColor;   //..................color for the hilite bar
  57.     uchar    cbar_OffColor;      //.............color for items when disabled
  58.     uchar    cbar_OffBackground; //........color for background when disabled
  59.     // PROGRESS SCREEN
  60.     zRect    proc_Bounds;        //...........................progress window
  61.     uchar    proc_Color;         //...color for area names in progress window
  62.     // CURRENT AREA PROGRESS LOCATIONS AND COLORS
  63.     zRect    area_Bounds;        //...............rectangle for the area name
  64.     uchar    area_Color;         //...................color for the area name
  65.     zRect    area_Percent;       //.....percentage for current area (4 chars)
  66.     PROGBAR  area_Progbar;       //......progress bar config for current area
  67.     // STATISTICS LOCATIONS AND COLORS
  68.     zRect    total_Percent;      //......................percentage for total
  69.     PROGBAR  total_Progbar;      //.........progress bar config for all areas
  70.     zRect    total_Areas;        //....................total areas (15 chars)
  71.     zRect    total_Files;        //...............................total files
  72.     zRect    total_Size;         //................................total size
  73.     zRect    total_ListSize;     //.....................size of compiled list
  74.     uchar    total_DigitColor;   //........color for the digits in the totals
  75.     // DROP FILE ONLINE SUPPORT
  76.     Boolean  drop_UserDoes;      //......................create UserDoes file
  77.     Boolean  drop_Doing;         //.........................create Doing file
  78.     char     drop_Text[40];      //.........text to place in the drop file(s)
  79.     // ARCHIVER CONFIGURATIONS
  80.     ARCHIVER zip;
  81.     ARCHIVER rar;
  82.     ARCHIVER arj;
  83.     ARCHIVER lha;
  84.     ARCHIVER zoo;
  85.     // HEADER AND FOOTERS
  86.     char     text_HeaderAll[80]; //......header file for the complete listing
  87.     char     text_FooterAll[80]; //......footer file for the complete listing
  88.     char     text_Header[80];    //...........header for the individual areas
  89.     char     text_Footer[80];    //...........footer for the individual areas
  90.     // SPACE FOR EXPANSION
  91.     char     extra[726];         //.......space reserved for future expansion
  92. } LZCONFIG;
  93.  
  94. extern LZCONFIG lz_Config;
  95.  
  96. #endif /* INCLUDED_LZCONFIG_H */
  97.