Changeset 9685 in orxonox.OLD for branches/new_class_id/src/lib/graphics/text_engine/text.cc
- Timestamp:
- Aug 22, 2006, 1:16:23 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/lib/graphics/text_engine/text.cc
r9406 r9685 22 22 #include "debug.h" 23 23 24 NewObjectListDefinition(Text); 25 24 26 /** 25 27 * @brief creates a new Text Element … … 30 32 // : _font(fontFile, FONT_DEFAULT_RENDER_SIZE) 31 33 { 32 this-> setClassID(CL_TEXT, "Text");34 this->registerObject(this, Text::_objectList); 33 35 34 36 // initialize this Text … … 44 46 : _font() 45 47 { 46 this-> setClassID(CL_TEXT, "Text");48 this->registerObject(this, Text::_objectList); 47 49 48 50 *this = text;
Note: See TracChangeset
for help on using the changeset viewer.