Changeset 7342 in orxonox.OLD for trunk/src/lib
- Timestamp:
- Apr 19, 2006, 4:08:09 AM (19 years ago)
- Location:
- trunk/src/lib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/render2D/element_2d.cc
r7341 r7342 180 180 181 181 /** 182 * sets the alignment of the 2D-element in form of a String182 * @brief sets the alignment of the 2D-element in form of a String 183 183 * @param alignment the alignment @see loadParams 184 184 */ … … 221 221 222 222 /** 223 * sets the layer onto which this 2D-element is projected to.223 * @brief sets the layer onto which this 2D-element is projected to. 224 224 * @param layer the layer @see loadParams @see Element2D::charToLayer2D(const std::string& layer) 225 225 */ -
trunk/src/lib/shell/shell.cc
r7341 r7342 337 337 */ 338 338 339 // lastText->setRelCoor2D(this->calculateLinePosition(0));340 341 339 this->bufferText.front()->setText(text); 342 340 } … … 381 379 // redisplay the buffers 382 380 list<std::string>::const_iterator it = this->bufferIterator; 381 if (it == ShellBuffer::getInstance()->getBuffer().end()) 382 { 383 /// FIXME 384 PRINTF(1)("Should not heappen\n"); 385 it--; 386 } 383 387 for (std::list<Text*>::iterator textIt = this->bufferText.begin(); textIt != this->bufferText.end(); ++textIt) 384 388 { 385 389 (*textIt)->setText((*it)); 390 if (it == ShellBuffer::getInstance()->getBuffer().begin()) 391 { 392 /// FIXME 393 PRINTF(1)("Should not heappen\n"); 394 break; 395 } 386 396 it--; 387 397 } -
trunk/src/lib/shell/shell_input.cc
r7341 r7342 229 229 if (!this->historyScrolling) 230 230 return; 231 if ( this->historyIT !=this->history.end())231 if (!this->history.empty() && this->historyIT != --this->history.end()) 232 232 { 233 233 std::string nextElem = *(++this->historyIT);
Note: See TracChangeset
for help on using the changeset viewer.