Changeset 8627 in orxonox.OLD
- Timestamp:
- Jun 20, 2006, 2:02:11 PM (18 years ago)
- Location:
- branches/gui/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gui/src/lib/gui/gl/glgui_table.cc
r8626 r8627 224 224 { 225 225 float columnPos = 0.0f; 226 float rowPos; 226 227 unsigned int i, j; 227 228 for (i = 0; i< fromLeft; ++i) … … 234 235 this->_headers[i].setRelCoor2D(columnPos, 0); 235 236 237 // not required, but a good idea :) 238 this->_headers[i].setLineWidth(_columnWidths[i]); 239 240 rowPos = 10.0f; 236 241 for (j = fromTop; j < this->rowCount(); ++j) 237 242 { 238 243 this->_entries[j][i].setRelCoor2D(columnPos, rowPos); 244 this->_entries[j][i].setLineWidth(_columnWidths[i]); 245 rowPos += 10.0f; 239 246 } 240 247 columnPos+=this->_columnWidths[i]; -
branches/gui/src/story_entities/simple_game_menu.cc
r8619 r8627 131 131 headers.push_back("3"); 132 132 table->setHeader(headers); 133 table->setEntry(1, 2, "Test"); 134 table->setEntry(2, 1, "MultiLine SuperTest to see how it works"); 133 135 134 136
Note: See TracChangeset
for help on using the changeset viewer.