Changeset 5084 in orxonox.OLD for trunk/src/lib/graphics/render2D/element_2d.h
- Timestamp:
- Aug 19, 2005, 2:37:18 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/render2D/element_2d.h
r5083 r5084 2 2 * @file element_2d.h 3 3 * Definition of the 2D elements rendered on top through the GraphicsEngine 4 * 4 5 * @todo reimplement it, so it looks just like PNode. 5 6 */ … … 62 63 63 64 public: 64 Element2D( );65 Element2D(Element2D* parent = NULL); 65 66 virtual ~Element2D(); 66 67 67 void init( );68 void init(Element2D* parent = NULL); 68 69 void loadParams(const TiXmlElement* root); 69 70 … … 156 157 157 158 private: 158 void init(Element2D* parent);159 159 /** tells the child that the parent's Coordinate has changed */ 160 160 inline void parentCoorChanged () { this->bRelCoorChanged = true; } … … 170 170 protected: 171 171 void positioning(); 172 //void Element2D(NullElement2D* nullElem); 172 173 173 174 protected: … … 184 185 185 186 186 187 188 189 187 private: 190 188 bool bRelCoorChanged; //!< If Relative Coordinate has changed since last time we checked
Note: See TracChangeset
for help on using the changeset viewer.