Changeset 8424 in orxonox.OLD for branches/gui/src/lib
- Timestamp:
- Jun 15, 2006, 12:00:55 AM (18 years ago)
- Location:
- branches/gui/src/lib/gui/gl
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gui/src/lib/gui/gl/glgui_inputline.cc
r8421 r8424 22 22 /** 23 23 * @brief standard constructor 24 */24 */ 25 25 GLGuiInputLine::GLGuiInputLine () 26 26 { … … 117 117 118 118 /** 119 * Processes an Event.119 * @brief Processes an Event. 120 120 * @param event The event to be processed 121 121 * @return true if the event was catched. … … 163 163 void GLGuiInputLine::resize() 164 164 { 165 this->_text.setRelCoor2D(this->borderLeft() + 2.0, this->borderTop() + 2.0);165 this->_text.setRelCoor2D(this->borderLeft() + 2.0, this->borderTop() + 2.0); 166 166 this->setSize2D( this->_text.getSize2D() + Vector2D(borderLeft() + borderRight() + 4.0, borderTop() + borderBottom() + 4.0)); 167 167 GLGuiWidget::resize(); … … 185 185 } 186 186 187 188 /** 189 * ticks the InputLine 187 /** 188 * @brief ticks the InputLine 190 189 * @param dt the time passed. 191 190 */ -
branches/gui/src/lib/gui/gl/glgui_widget.cc
r8419 r8424 66 66 this->setVisibility(GLGUI_WIDGET_DEFAULT_VISIBLE); 67 67 68 this->_backMat.setDiffuse(0.0, 0.0, 0.0); 68 this->_backMat.setDiffuse(1.0, 0.5, 0.4); 69 this->_backMat.setDiffuseMap("gui_element_background.png"); 69 70 this->_frontColor.setColor(1.0, 0.0, 0.0); 70 71 71 this->_borderLeft = 1 .0;72 this->_borderLeft = 10.0; 72 73 this->_borderRight = 1.0; 73 74 this->_borderTop = 1.0; … … 250 251 this->backMaterial().select(); 251 252 this->drawRect(this->backRect()); 253 this->backMaterial().unselect(); 252 254 } 253 255
Note: See TracChangeset
for help on using the changeset viewer.