home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / cprog / dflt14.zip / CLASSES.H < prev    next >
Text File  |  1992-02-11  |  3KB  |  57 lines

  1. /* ----------- classes.h ------------ */
  2. /*
  3.  *         Class definition source file
  4.  *         Make class changes to this source file
  5.  *         Other source files will adapt
  6.  *
  7.  *         You must add entries to the color tables in
  8.  *         CONFIG.C for new classes.
  9.  *
  10.  *        Class Name  Base Class   Processor       Attribute    
  11.  *       ------------  --------- ---------------  -----------
  12.  */
  13. ClassDef(  NORMAL,      -1,      NormalProc,      0 )
  14. ClassDef(  APPLICATION, NORMAL,  ApplicationProc, VISIBLE   |
  15.                                                   SAVESELF  |
  16.                                                   CONTROLBOX )
  17. ClassDef(  TEXTBOX,     NORMAL,  TextBoxProc,     0          )
  18. ClassDef(  LISTBOX,     TEXTBOX, ListBoxProc,     0          )
  19. ClassDef(  EDITBOX,     TEXTBOX, EditBoxProc,     0          )
  20. ClassDef(  MENUBAR,     NORMAL,  MenuBarProc,     NOCLIP     )
  21. ClassDef(  POPDOWNMENU, LISTBOX, PopDownProc,     SAVESELF  |
  22.                                                   NOCLIP    |
  23.                                                   HASBORDER  )
  24. #ifdef INCLUDE_PICTUREBOX
  25. ClassDef(  PICTUREBOX,  TEXTBOX, PictureProc,     0          )
  26. #endif
  27. ClassDef(  DIALOG,      NORMAL,  DialogProc,      SHADOW    |
  28.                                                   MOVEABLE  |
  29.                                                   CONTROLBOX|
  30.                                                   HASBORDER |
  31.                                                   NOCLIP     )
  32. ClassDef(  BOX,         NORMAL,  BoxProc,         HASBORDER  )
  33. ClassDef(  BUTTON,      TEXTBOX, ButtonProc,      SHADOW     )
  34. ClassDef(  COMBOBOX,    EDITBOX, ComboProc,       0          )
  35. ClassDef(  TEXT,        TEXTBOX, TextProc,        0          )
  36. ClassDef(  RADIOBUTTON, TEXTBOX, RadioButtonProc, 0          )
  37. ClassDef(  CHECKBOX,    TEXTBOX, CheckBoxProc,    0          )
  38. ClassDef(  SPINBUTTON,  LISTBOX, SpinButtonProc,  0          )
  39. ClassDef(  ERRORBOX,    DIALOG,  NULL,            SHADOW    |
  40.                                                   HASBORDER  )
  41. ClassDef(  MESSAGEBOX,  DIALOG,  NULL,            SHADOW    |
  42.                                                   HASBORDER  )
  43. ClassDef(  HELPBOX,     DIALOG,  HelpBoxProc,     MOVEABLE  |
  44.                                                   SAVESELF  |
  45.                                                   HASBORDER |
  46.                                                   NOCLIP    |
  47.                                                   CONTROLBOX )
  48. ClassDef(  STATUSBAR,   TEXTBOX, StatusBarProc,   NOCLIP     )
  49.  
  50. /*
  51.  *  ========> Add new classes here <========
  52.  */
  53.  
  54. /* ---------- pseudo classes to create enums, etc. ---------- */
  55. ClassDef(  TITLEBAR,    -1,      NULL,            0          )
  56. ClassDef(  DUMMY,       -1,      NULL,            HASBORDER  )
  57.