home *** CD-ROM | disk | FTP | other *** search
/ Enigma Amiga Life 113 / EnigmaAmiga113CD.iso / software / sviluppo / fm2000 / oldconfig.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-02-04  |  3.3 KB  |  136 lines

  1. /*
  2.      Filemaster - Multitasking directory utility.
  3.      Copyright (C) 2000  Toni Wilen
  4.      
  5.      This program is free software; you can redistribute it and/or
  6.      modify it under the terms of the GNU General Public License
  7.      as published by the Free Software Foundation; either version 2
  8.      of the License, or (at your option) any later version.
  9.      
  10.      This program is distributed in the hope that it will be useful,
  11.      but WITHOUT ANY WARRANTY; without even the implied warranty of
  12.      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13.      GNU General Public License for more details.
  14.      
  15.      You should have received a copy of the GNU General Public License
  16.      along with this program; if not, write to the Free Software
  17.      Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  18. */
  19.  
  20.  
  21. #define OLDCONFIGVERSION 14
  22.  
  23. //#define MAXPATH 512
  24. #define MAXCOLORS3022 16
  25. #define MAXCOLS3022 4
  26. #define MAXROWS3022 2
  27. //#define MAXLISTS 10
  28. #define MAXWINDOWLISTS3022 8
  29. //#define MAXPATHLISTS 10
  30. #define MAXPATTERN3022 128
  31. //#define MAXMSG 256
  32. //#define BOTTOMGADGETS 4
  33. #define MAXCOMMANDS3022 20
  34. //#define FMPENS 11
  35. #define MAXCMENUS3022 27
  36. #define CONFIGSIZE3022 64
  37. #define CMENUCONFIGSIZE3022 8
  38.  
  39. struct OwnCommand3022 {
  40.     UBYTE    gadgetname[16];
  41.     UBYTE    namematch[48];
  42.     UBYTE    matchbytes[64];
  43.     UBYTE    command[64];
  44.     ULONG    stack;
  45.     UWORD    flags;
  46. };
  47.  
  48. struct Match3022 {
  49.     ULONG    match;
  50.     UBYTE    patname[MAXPATTERN3022];
  51.     UBYTE    patflags[32];
  52.     ULONG    patsize;
  53.     ULONG    patdate;
  54. };
  55.  
  56. struct ScreenConfig3022 {
  57.     UWORD    width;
  58.     UWORD    height;
  59.     UWORD    depth;
  60.     ULONG    screenmode;
  61.     UWORD    overscan;
  62.     UWORD    autoscroll;
  63. };
  64.  
  65. struct FMConfig3022 {
  66.     struct    ScreenConfig3022 mainscreen;
  67.     struct    ScreenConfig3022 textscreen;
  68.     WORD    windowtop;
  69.     WORD    windowleft;
  70.     WORD    windowheight;
  71.     WORD    windowwidth;
  72.     WORD    sleepwindowtop;
  73.     WORD    sleepwindowleft;
  74.     UBYTE    pad1;    //HACKCHECK must be zero
  75.     UBYTE    sliderh;
  76.     UBYTE    pad2;    //HACKCHECK must be nonzero
  77.     UBYTE    sliderw;
  78.     UBYTE    pad3;
  79.     UBYTE    spaceh;
  80.     UBYTE    pad4;
  81.     UBYTE    spacew;
  82.     UBYTE    whitepen;
  83.     UBYTE    blackpen;
  84.     UBYTE    dirpen;
  85.     UBYTE    filepen;
  86.     UBYTE    txtpen;
  87.     UBYTE    hilipen;
  88.     UBYTE    backpen;
  89.     UBYTE    backfillpen;
  90.     UBYTE    mainbackfillpen;
  91.     UBYTE    sourcepen;
  92.     UBYTE    destpen;
  93.     UBYTE    sliderpen;
  94.     UBYTE    stringpen;
  95.     BYTE    pri[3];
  96.     UBYTE    doubleclick;
  97.     UBYTE    rightmouse;
  98.     UBYTE    middlemouse;
  99.     UBYTE    screentype;    //0=custom,1=public custom,2=workbench,3=on public
  100.     UBYTE    pubscreen[MAXPUBSCREENNAME+1];
  101.     ULONG    flags;
  102.     UWORD    filelen;
  103.     UWORD    commlen;
  104.     UWORD    datelen;
  105.     BYTE    mainpriority;
  106.     BYTE    subpriority;
  107.     LONG    dosbuffersize;    // HACKCHECK bits 31-24 = zero
  108.  
  109.     UBYTE    pad[128];
  110.  
  111.     struct    TextAttr txtfontattr;
  112.     UBYTE    txtfontname[80];
  113.     struct    TextAttr listfontattr;
  114.     UBYTE    listfontname[80];
  115.     struct    TextAttr txtshowfontattr;
  116.     UBYTE    txtshowfontname[80];
  117.     struct    TextAttr reqfontattr;
  118.     UBYTE    reqfontname[80];
  119.     struct    TextAttr smallfontattr;
  120.     UBYTE    smallfontname[80];
  121.  
  122.     //letter,shortcut,scqualifier,frontpen,backpen,priority
  123.     WORD    listinfocmenu;
  124.     WORD    listinfo[MAXCOLS3022+1][MAXROWS3022+2];
  125.  
  126.     UBYTE    cmenuconfig[CMENUCONFIGSIZE3022*MAXCMENUS3022];
  127.     UBYTE    cmenuownconfig[CMENUCONFIGSIZE3022*MAXCOMMANDS3022];
  128.     UBYTE    configdata[MAXCMENUS3022*CONFIGSIZE3022];
  129.  
  130.     UBYTE    shellwindow[64];
  131.     UBYTE    colors[MAXCOLORS3022*3];
  132.  
  133.     struct    Match3022 match[MAXWINDOWLISTS3022];
  134.     struct    OwnCommand3022 owncommand[MAXCOMMANDS3022];
  135.     };
  136.