Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9913 in orxonox.OLD for branches/network/src/lib/graphics


Ignore:
Timestamp:
Nov 2, 2006, 8:28:30 PM (18 years ago)
Author:
rennerc
Message:

fixed bug

Location:
branches/network/src/lib/graphics/text_engine
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/lib/graphics/text_engine/limited_width_text.cc

    r9869 r9913  
    3232  this->_dotsPosition = End;
    3333  this->setLineWidth(lineWidth);
     34}
     35
     36
     37
     38/**
     39 * copy constructor
     40 * @param lwt create copy of this instance
     41 */
     42LimitedWidthText::LimitedWidthText( const LimitedWidthText & lwt )
     43{
     44  this->registerObject(this, LimitedWidthText::_objectList);
     45 
     46  this->_dotedText = lwt._dotedText;
     47  this->_lineWidth = lwt._lineWidth;
     48  this->_lineEnds = lwt._lineEnds;
    3449}
    3550
  • branches/network/src/lib/graphics/text_engine/limited_width_text.h

    r9869 r9913  
    2323
    2424  public:
     25    LimitedWidthText( const LimitedWidthText& lwt );
    2526    LimitedWidthText(const std::string& fontFile = "", unsigned int fontSize = TEXT_DEFAULT_SIZE, float lineWidth = 100.0, DotsPosition dotsPosition = Begin);
    2627
Note: See TracChangeset for help on using the changeset viewer.