udefs.hpp

00001 /* ==================================================== ======== ======= *
00002  *
00003  *  udefs.hpp
00004  *  Ubit Project
00005  *  Part of the Ubit Toolkit: A Brick Construction Game Model for Creating GUIs
00006  *  (C) 1999-2006 EricLecolinet / ENST Paris / http://www.enst.fr/~elc/ubit
00007  *
00008  * ***********************************************************************
00009  * COPYRIGHT NOTICE : 
00010  * THIS PROGRAM IS DISTRIBUTED WITHOUT ANY WARRANTY AND WITHOUT EVEN THE 
00011  * IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. 
00012  * YOU CAN REDISTRIBUTE IT AND/OR MODIFY IT UNDER THE TERMS OF THE GNU 
00013  * GENERAL PUBLIC LICENSE AS PUBLISHED BY THE FREE SOFTWARE FOUNDATION; 
00014  * EITHER VERSION 2 OF THE LICENSE, OR (AT YOUR OPTION) ANY LATER VERSION.
00015  * SEE FILES 'COPYRIGHT' AND 'COPYING' FOR MORE DETAILS.
00016  * ***********************************************************************
00017  * ==================================================== [(c)Elc] ======= *
00018  * ==================================================== ======== ======= */
00019 
00020 #ifndef _udefs_hpp_
00021 #define _udefs_hpp_
00022 //pragma ident  "@(#)udefs.hpp  ubit:05.05.00"
00023 #include <string>
00024 #include <vector>
00025 #include <list>
00026 namespace ubit {
00027 
00028 #define UBIT5 1
00029 #define UBIT_MAJOR_VERSION 5
00030 #define UBIT_MINOR_VERSION 5
00031 #define UBIT_NAMESPACE ubit
00032 
00033 #define null 0
00034 typedef char UChar;
00035 typedef unsigned long UTime;
00036 typedef unsigned long UMask;
00037 
00038 /* ==================================================== ===== ======= */
00039 // *** generic base class ***.
00040 
00041 class UObject;
00042 
00043 /* ==================================================== ===== ======= */
00044 // *** objects that can be added to the scene graph ***
00045 
00046 // base class of objects that can be added to the scene graph
00047 class UBrick;
00048 
00049 // groups, boxes and widgets
00050 class UControl;
00051 class UGroup;
00052 class UBox;
00053 class UHbox;
00054 class UVbox;
00055 class ULabel;
00056 class UButton;
00057 class UItem;
00058 class UCardbox;
00059 class UCombobox;
00060 class UListbox;
00061 class UTreebox;
00062 class UTreenode;
00063 class USlider;
00064 class UScrollbar;
00065 class UScrollpane;
00066 class UTable;
00067 class UTextbox;
00068 class UTextfield;
00069 class UTextarea;
00070 class UIconbox;
00071 class UIcon;
00072 class UDocbox;
00073 class UDoc;
00074 class UAlertbox;
00075 class UFilebox;
00076 
00077 // windows and menus
00078 class UWin;
00079 class UFrame;
00080 class UDialog;
00081 class UMenubar;
00082 class UMenu;
00083 class UPopmenu;
00084 class UPiemenu;
00085 class UCtlmenu;
00086 
00087 // modes, properties, behaviors
00088 class UMode;
00089 class UProp;
00090 class UProps;
00091 
00092 class UColor;
00093 class UBackground;
00094 typedef UBackground UBgcolor; 
00095 class UAlpha;
00096 
00097 class UFont;
00098 class UFontFamily;
00099 class UFontDesc;
00100 
00101 class UPos;
00102 class UPos3d;
00103 class UWidth;
00104 class UHeight;
00105 class UScale;
00106 class UOrient;
00107 class UHalign;
00108 class UValign;
00109 class UHmargin;
00110 class UVmargin;
00111 class UHspacing;
00112 class UVspacing;
00113 
00114 class UBorder;
00115 class UCursor;
00116 class UChoice;
00117 class UEdit;
00118 
00119 // viewable data (strings, images, pixmaps, symbols)
00120 class UData;
00121 class UDataProps;
00122 class UStr;
00123 class UIma;
00124 class UPix;
00125 class USymbol;
00126 
00127 // base class for callback objects
00128 class UCall;
00129 
00130 // callback conditions (lhs of / expressions)
00131 class UCond;
00132 class UOn;
00133 class UFlag;
00134 class UFlagdef;
00135 class UPropdef;
00136 
00137 /* ==================================================== ===== ======= */
00138 // *** objects that cannot be added to the scene graph ***
00139 
00140 // events
00141 class UEventFlow;
00142 class UEvent;
00143 class UInputEvent;
00144 class UMouseEvent;
00145 class UKeyEvent;
00146 class UWheelEvent;
00147 class UPaintEvent;
00148 class UMessageEvent;
00149 
00150 // application context and styles
00151 class UAppli;
00152 class UDisp;
00153 class UConf;
00154 class UOption;
00155 class UStyle;
00156 class UStyleSheet;
00157 class UError;
00158 class UErrorLog;
00159 class USelection;
00160 
00161 // arglists
00162 class UArgs;
00163 class UChild;
00164 class UParent;
00165 
00166 // classes
00167 class UClass;
00168 class UAttributeClass;
00169 class UElementClass;
00170 
00171 // numbers
00172 class UInteger;
00173 class UFloat;
00174 class UDouble;
00175 
00176 // graphics
00177 class UView;
00178 class UViewStyle;
00179 class UUpdate;
00180 class UGraph;
00181 
00182 // geometry
00183 struct UPoint;
00184 struct UDimension;
00185 struct UMargins;
00186 struct UShape;
00187 struct ULine;
00188 struct URect;
00189 struct UEllipse;
00190 struct UArc;
00191 struct URegion;
00192 
00193 // communication
00194 class USocket;
00195 class UInput;
00196 class UTimer;
00197 class UMessage;
00198 class UMessagePort;
00199 class UMService;
00200 
00201 // implementation and native objects
00202 class UContext;
00203 class UWinContext;
00204 class UHardWinImpl;
00205 class USoftWinImpl;
00206 class UNatAppli;
00207 class UNatDisp;
00208 class UNatWin;
00209 class UNatFont;
00210 class UNatCursor;
00211 class UNatIma;
00212 class UNatPix;
00213 class UNatGraph;
00214 }
00215 
00216 #endif
00217 /* ==================================================== [TheEnd] ======= */
00218 /* ==================================================== [(c)Elc] ======= */
00219 

Generated on Mon Jan 29 00:20:37 2007 for Ubit by  doxygen 1.4.7