2000-03-05 19:58:08 +00:00
|
|
|
/* ----------- classes.h ------------ */
|
|
|
|
/*
|
|
|
|
* Class definition source file
|
|
|
|
* Make class changes to this source file
|
|
|
|
* Other source files will adapt
|
|
|
|
*
|
2003-06-19 02:48:13 +00:00
|
|
|
* You must add entries to the DfColor tables in
|
|
|
|
* DFCONFIG.C for new classes.
|
2000-03-05 19:58:08 +00:00
|
|
|
*
|
|
|
|
* Class Name Base Class Processor Attribute
|
|
|
|
* ------------ --------- --------------- -----------
|
|
|
|
*/
|
2003-06-19 02:48:13 +00:00
|
|
|
DfClassDef( DF_NORMAL, -1, DfNormalProc, 0 )
|
|
|
|
DfClassDef( DF_APPLICATION, DF_NORMAL, DfApplicationProc, DF_VISIBLE |
|
|
|
|
DF_SAVESELF |
|
|
|
|
DF_CONTROLBOX )
|
|
|
|
DfClassDef( DF_TEXTBOX, DF_NORMAL, DfTextBoxProc, 0 )
|
|
|
|
DfClassDef( DF_LISTBOX, DF_TEXTBOX, DfListBoxProc, 0 )
|
|
|
|
DfClassDef( DF_EDITBOX, DF_TEXTBOX, DfEditBoxProc, 0 )
|
|
|
|
DfClassDef( DF_MENUBAR, DF_NORMAL, DfMenuBarProc, DF_NOCLIP )
|
|
|
|
DfClassDef( DF_POPDOWNMENU, DF_LISTBOX, DfPopDownProc, DF_SAVESELF |
|
|
|
|
DF_NOCLIP |
|
|
|
|
DF_HASBORDER )
|
2000-03-05 19:58:08 +00:00
|
|
|
#ifdef INCLUDE_PICTUREBOX
|
2003-06-19 02:48:13 +00:00
|
|
|
DfClassDef( DF_PICTUREBOX, DF_TEXTBOX, DfPictureProc, 0 )
|
2000-03-05 19:58:08 +00:00
|
|
|
#endif
|
2003-06-19 02:48:13 +00:00
|
|
|
DfClassDef( DF_DIALOG, DF_NORMAL, DfDialogProc, DF_SHADOW |
|
|
|
|
DF_MOVEABLE |
|
|
|
|
DF_CONTROLBOX|
|
|
|
|
DF_HASBORDER |
|
|
|
|
DF_NOCLIP )
|
|
|
|
DfClassDef( DF_BOX, DF_NORMAL, DfBoxProc, DF_HASBORDER )
|
|
|
|
DfClassDef( DF_BUTTON, DF_TEXTBOX, DfButtonProc, DF_SHADOW )
|
|
|
|
DfClassDef( DF_COMBOBOX, DF_EDITBOX, DfComboProc, 0 )
|
|
|
|
DfClassDef( DF_TEXT, DF_TEXTBOX, DfTextProc, 0 )
|
|
|
|
DfClassDef( DF_RADIOBUTTON, DF_TEXTBOX, DfRadioButtonProc, 0 )
|
|
|
|
DfClassDef( DF_CHECKBOX, DF_TEXTBOX, DfCheckBoxProc, 0 )
|
|
|
|
DfClassDef( DF_SPINBUTTON, DF_LISTBOX, DfSpinButtonProc, 0 )
|
|
|
|
DfClassDef( DF_ERRORBOX, DF_DIALOG, NULL, DF_SHADOW |
|
|
|
|
DF_HASBORDER )
|
|
|
|
DfClassDef( DF_MESSAGEBOX, DF_DIALOG, NULL, DF_SHADOW |
|
|
|
|
DF_HASBORDER )
|
|
|
|
DfClassDef( DF_HELPBOX, DF_DIALOG, DfHelpBoxProc, DF_MOVEABLE |
|
|
|
|
DF_SAVESELF |
|
|
|
|
DF_HASBORDER |
|
|
|
|
DF_NOCLIP |
|
|
|
|
DF_CONTROLBOX )
|
|
|
|
DfClassDef( DF_STATUSBAR, DF_TEXTBOX, DfStatusBarProc, DF_NOCLIP )
|
2000-03-05 19:58:08 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* ========> Add new classes here <========
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* ---------- pseudo classes to create enums, etc. ---------- */
|
2003-06-19 02:48:13 +00:00
|
|
|
DfClassDef( DF_TITLEBAR, -1, NULL, 0 )
|
|
|
|
DfClassDef( DF_DUMMY, -1, NULL, DF_HASBORDER )
|