Changeset 8606 in orxonox.OLD for branches/gui
- Timestamp:
- Jun 20, 2006, 10:08:39 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_cursor.cc
r8605 r8606 57 57 this->setClassID(CL_GLGUI_CURSOR, "GLGuiCursor"); 58 58 59 this->setBackgroundColor(Color(1.0, 0.0,0.0, 1.0));59 this->setBackgroundColor(Color(1.0, 1.0, 1.0, 1.0)); 60 60 this->setBackgroundTexture("cursor.png"); 61 61 this->setSize2D(50, 50); -
branches/gui/src/lib/gui/gl/glgui_widget.cc
r8605 r8606 103 103 104 104 105 this->setBackgroundColor(Color( 0, 0, 0, 1));105 this->setBackgroundColor(Color(.51, 0, 0, .5)); 106 106 this->_style[0]._background.setBlendFunc( GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); 107 107 this->_style[1]._background.setBlendFunc( GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); … … 117 117 118 118 this->setBackgroundTexture("gui_element_background.png"); 119 this->switchState(OrxGui::Normal); 119 120 this->switchState(_state); 121 this->_currentStyle = this->_style[_state]; 120 122 } 121 123
Note: See TracChangeset
for help on using the changeset viewer.