Changeset 8440 in orxonox.OLD for branches/gui
- Timestamp:
- Jun 15, 2006, 2:12:06 AM (18 years ago)
- Location:
- branches/gui/src/lib/gui/gl
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gui/src/lib/gui/gl/glgui_style.h
r8276 r8440 35 35 36 36 private: 37 float _borderLeft; //!< The Distance to the left Border of the widget, before any internal Element starts. 38 float _borderRight; //!< The Distance to the right Border of the widget, before any internal Element starts. 39 float _borderTop; //!< The Distance to the top Border of the widget, before any internal Element starts 40 float _borderBottom; //!< The Distance to the bottom Border of the widget, before any internal Element starts 37 typedef struct 38 { 39 float _borderLeft; //!< The Distance to the left Border of the widget, before any internal Element starts. 40 float _borderRight; //!< The Distance to the right Border of the widget, before any internal Element starts. 41 float _borderTop; //!< The Distance to the top Border of the widget, before any internal Element starts 42 float _borderBottom; //!< The Distance to the bottom Border of the widget, before any internal Element starts 41 43 42 Font* _font; //!< The Font used in the current Widget. 43 float _textSize; //!< The TextSize of the Widget. 44 float _textColor; //!< The TextColor of the Widget. 44 float _textSize; //!< The TextSize of the Widget. 45 45 46 float_backgroundColor; //!< The BackgroundColor of the Widget.47 Texture _backgorundTexture; //!< The BackgroundTexture of the Widget.46 Color _backgroundColor; //!< The BackgroundColor of the Widget. 47 Texture _backgorundTexture; //!< The BackgroundTexture of the Widget. 48 48 49 float _foregroundColor; //!< The foregroundColor of the Widget. 50 Texture _foregorundTexture; //!< The ForegroundTexture of the Widget 49 Color _foregroundColor; //!< The foregroundColor of the Widget. 50 } 51 StatedStyle; 52 53 StatedStyle _style[4]; 51 54 52 55 FeaturePosition _featurePosition; //!< The Position a Feature will be layed at (checkbox(box), slider(text),...) 56 Font* _font; //!< The Font used in the current Widget. 57 53 58 54 59 bool _animated; //!< If the Widget is animated (Texture might be an AnimatedTexture.) -
branches/gui/src/lib/gui/gl/glgui_widget.h
r8437 r8440 8 8 9 9 #include "element_2d.h" 10 11 #include "glgui_style.h" 12 #include "material.h" 10 13 #include "rect2D.h" 11 12 #include "material.h"13 14 14 15 #include "event.h" 15 16 #include "signal_connector.h" 16 17 #include "glincl.h"18 19 #include <vector>20 21 // FORWARD DECLARATION22 class Material;23 17 24 18 namespace OrxGui … … 173 167 Vector2D _minSize; 174 168 169 GLGuiStyle _style; 170 175 171 /// EVENTS 176 172 bool _focusable; //!< If this widget can receive focus.
Note: See TracChangeset
for help on using the changeset viewer.