mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 18:46:29 +00:00
57 lines
2.7 KiB
C
57 lines
2.7 KiB
C
|
/* ----------- classes.h ------------ */
|
||
|
/*
|
||
|
* Class definition source file
|
||
|
* Make class changes to this source file
|
||
|
* Other source files will adapt
|
||
|
*
|
||
|
* You must add entries to the color tables in
|
||
|
* CONFIG.C for new classes.
|
||
|
*
|
||
|
* Class Name Base Class Processor Attribute
|
||
|
* ------------ --------- --------------- -----------
|
||
|
*/
|
||
|
ClassDef( NORMAL, -1, NormalProc, 0 )
|
||
|
ClassDef( APPLICATION, NORMAL, ApplicationProc, VISIBLE |
|
||
|
SAVESELF |
|
||
|
CONTROLBOX )
|
||
|
ClassDef( TEXTBOX, NORMAL, TextBoxProc, 0 )
|
||
|
ClassDef( LISTBOX, TEXTBOX, ListBoxProc, 0 )
|
||
|
ClassDef( EDITBOX, TEXTBOX, EditBoxProc, 0 )
|
||
|
ClassDef( MENUBAR, NORMAL, MenuBarProc, NOCLIP )
|
||
|
ClassDef( POPDOWNMENU, LISTBOX, PopDownProc, SAVESELF |
|
||
|
NOCLIP |
|
||
|
HASBORDER )
|
||
|
#ifdef INCLUDE_PICTUREBOX
|
||
|
ClassDef( PICTUREBOX, TEXTBOX, PictureProc, 0 )
|
||
|
#endif
|
||
|
ClassDef( DIALOG, NORMAL, DialogProc, SHADOW |
|
||
|
MOVEABLE |
|
||
|
CONTROLBOX|
|
||
|
HASBORDER |
|
||
|
NOCLIP )
|
||
|
ClassDef( BOX, NORMAL, BoxProc, HASBORDER )
|
||
|
ClassDef( BUTTON, TEXTBOX, ButtonProc, SHADOW )
|
||
|
ClassDef( COMBOBOX, EDITBOX, ComboProc, 0 )
|
||
|
ClassDef( TEXT, TEXTBOX, TextProc, 0 )
|
||
|
ClassDef( RADIOBUTTON, TEXTBOX, RadioButtonProc, 0 )
|
||
|
ClassDef( CHECKBOX, TEXTBOX, CheckBoxProc, 0 )
|
||
|
ClassDef( SPINBUTTON, LISTBOX, SpinButtonProc, 0 )
|
||
|
ClassDef( ERRORBOX, DIALOG, NULL, SHADOW |
|
||
|
HASBORDER )
|
||
|
ClassDef( MESSAGEBOX, DIALOG, NULL, SHADOW |
|
||
|
HASBORDER )
|
||
|
ClassDef( HELPBOX, DIALOG, HelpBoxProc, MOVEABLE |
|
||
|
SAVESELF |
|
||
|
HASBORDER |
|
||
|
NOCLIP |
|
||
|
CONTROLBOX )
|
||
|
ClassDef( STATUSBAR, TEXTBOX, StatusBarProc, NOCLIP )
|
||
|
|
||
|
/*
|
||
|
* ========> Add new classes here <========
|
||
|
*/
|
||
|
|
||
|
/* ---------- pseudo classes to create enums, etc. ---------- */
|
||
|
ClassDef( TITLEBAR, -1, NULL, 0 )
|
||
|
ClassDef( DUMMY, -1, NULL, HASBORDER )
|