Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

sptkids.h

00001 /***************************************************************************
00002 sptkids.h  -  description
00003 -------------------
00004 begin                : Fri Jul 4 2003
00005 copyright            : (C) 2002 by Sven Broenstrup
00006 email                : starpeak@sptk.org
00007 ***************************************************************************/
00008 
00009 /***************************************************************************
00010 *                                                                         *
00011 *   StarPeak OnlineMedia., hereby disclaims all copyright interest in     *
00012 *   the library `SPTK' written by Sven Broenstrup.                        *
00013 *                                                                         *
00014 *   Permission is hereby granted, free of charge, to any person obtaining *
00015 *   a copy of this software and associated documentation files (the       *
00016 *   "Software"), to deal in the Software without restriction, including   *
00017 *   without limitation the rights to use, copy, modify, merge, publish,   *
00018 *   distribute, sublicense, and/or sell copies of the Software, and to    *
00019 *   permit persons to whom the Software is furnished to do so, subject to *
00020 *   the following conditions:                                             *
00021 *                                                                         *
00022 *   The above copyright notice and this permission notice shall be        *
00023 *   included in all copies or substantial portions of the Software.       *
00024 *                                                                         *
00025 *   THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,       *
00026 *   EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF    *
00027 *   MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*
00028 *   IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR     *
00029 *   OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, *
00030 *   ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR *
00031 *   OTHER DEALINGS IN THE SOFTWARE.                                       *
00032 *                                                                         *
00033 ***************************************************************************/
00034 
00035 #ifndef SPTKIDS_H
00036 #define SPTKIDS_H
00037 
00038 /***************************************************************************
00039 **  Class IDs                                                             **
00040 ***************************************************************************/
00041 
00042 //                                        <------- Group ID,
00043 //                                        |          eg Gadget, DB, Core
00044 //                                        | <----- SubGroup ID, eg Pane
00045 //                                        | | <--- Class ID
00046 // Group:    Core                         | | |
00047 // SubGroup: Generic                      | | |
00048 #define SPTK_CLASSID_OBJECT     0x00000000
00049 #define SPTK_CLASSID_PLUGIN     0x00000001
00050 #define SPTK_CLASSID_LIST       0x00000100
00051 #define SPTK_CLASSID_LISTHEAD       0x00000101
00052 // SubGroup: Events                       | | |
00053 #define SPTK_CLASSID_EVENTHANDLER   0x00010000
00054 // Group:    UI Element                   | | |
00055 // SubGroup: Gadget                       | | |
00056 #define SPTK_CLASSID_GADGET     0x01010000
00057 #define SPTK_CLASSID_BUTTONGADGET   0x01010001
00058 #define SPTK_CLASSID_KEYBOXGADGET   0x01010002
00059 #define SPTK_CLASSID_CHECKBOXGADGET 0x01010003
00060 #define SPTK_CLASSID_RADIOBUTTONGADGET  0x01010004
00061 #define SPTK_CLASSID_SELECTGADGET   0x01010005
00062 #define SPTK_CLASSID_GAUGEGADGET    0x01010006
00063 #define SPTK_CLASSID_FILEGADGET     0x01010007
00064 #define SPTK_CLASSID_FONTGADGET     0x01010008
00065 #define SPTK_CLASSID_IMAGEGADGET    0x01010009
00066 #define SPTK_CLASSID_SLIDERGADGET   0x01011001
00067 #define SPTK_CLASSID_COLORWHEELGADGET   0x01011002
00068 #define SPTK_CLASSID_COLORPALETTEGADGET 0x01011003
00069 // SubGroup: Pane                         | | |
00070 #define SPTK_CLASSID_PANE       0x01020000
00071 #define SPTK_CLASSID_ROOTPANE       0x01020001
00072 #define SPTK_CLASSID_TEXTPANE       0x01020002
00073 #define SPTK_CLASSID_BEVELPANE      0x01020003
00074 #define SPTK_CLASSID_TABPANE        0x01020004
00075 #define SPTK_CLASSID_TABLEPANE      0x01020005
00076 #define SPTK_CLASSID_LISTPANE       0x01020006
00077 #define SPTK_CLASSID_LINKPANE       0x01020007
00078 #define SPTK_CLASSID_SCROLLPANE     0x01021001
00079 #define SPTK_CLASSID_DRAWPANE       0x01021002
00080 // SubGroup: Bar              | | |
00081 #define SPTK_CLASSID_BAR        0x01030000
00082 #define SPTK_CLASSID_MENUBAR        0x01030001
00083 #define SPTK_CLASSID_TOOLBAR        0x01030002
00084 #define SPTK_CLASSID_STATUSBAR      0x01030003
00085 // SubGroup: Dialog           | | |
00086 #define SPTK_CLASSID_DIALOG     0x01041000
00087 #define SPTK_CLASSID_ALERTDIALOG    0x01041001
00088 #define SPTK_CLASSID_FILEDIALOG     0x01041002
00089 #define SPTK_CLASSID_FONTDIALOG     0x01041003
00090 #define SPTK_CLASSID_PAGESETUPDIALOG    0x01041004
00091 #define SPTK_CLASSID_PRINTDIALOG    0x01041005
00092 #define SPTK_CLASSID_COLORDIALOG    0x01041006
00093 #define SPTK_CLASSID_SCREENMODEDIALOG   0x01041007
00094 
00095 /***************************************************************************
00096 **  IDs for the bar menus and items                                       **
00097 ***************************************************************************/
00098 
00099 #define SPTK_BAR_ITEM_QUIT      0x10000001
00100 #define SPTK_BAR_ITEM_ABOUT     0x10000002
00101 #define SPTK_BAR_ITEM_PREFS     0x10000003
00102 
00103 #define SPTK_BAR_MENU_FILE      0x18000001
00104 #define SPTK_BAR_MENU_PROJECT       0x18000001
00105 #define SPTK_BAR_MENU_EDIT      0x18000002
00106 #define SPTK_BAR_MENU_HELP      0x180000ff
00107 
00108 /***************************************************************************
00109 **  Flags for Gadgets and Panes                                           **
00110 ***************************************************************************/
00111 
00112 #define SPTK_GADGET_ALIGN_LEFT          0x00000010
00113 #define SPTK_GADGET_ALIGN_CENTER        0x00000020
00114 #define SPTK_GADGET_ALIGN_RIGHT         0x00000040
00115 #define SPTK_GADGET_ALIGN_BLOCK         0x00000080
00116 
00117 // Flags for specifical Gadgets and Panes
00118 
00119 #define SPTK_GADGET_SELECT_PULLDOWN 0x00010000
00120 #define SPTK_GADGET_SELECT_COMBO    0x00020000
00121 #define SPTK_GADGET_SELECT_RADIO    0x00040000
00122 #define SPTK_GADGET_SELECT_MULTI    0x00080000
00123 
00124 #define SPTK_GADGET_KEYBOX_STRING   0x00010000
00125 #define SPTK_GADGET_KEYBOX_INTEGER  0x00020000
00126 #define SPTK_GADGET_KEYBOX_HEX      0x00040000
00127 #define SPTK_GADGET_KEYBOX_HIDDEN   0x00080000
00128 
00129 #define SPTK_PANE_TABLE_HEAD        0x00010000
00130 
00131 
00132 #endif
Powered by SPOM