- Timestamp:
- Jun 20, 2006, 10:23:45 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_image.cc
r8598 r8609 47 47 this->setClassID(CL_GLGUI_IMAGE, "GLGuiImage"); 48 48 49 this->setForegroundColor(Color(1,1,1,1)); 49 50 this->_imageMaterial.setBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); 50 51 -
branches/gui/src/lib/gui/gl/glgui_widget.cc
r8608 r8609 103 103 104 104 105 this->setBackgroundColor(Color(.51, 0, 0, .5));105 this->setBackgroundColor(Color(.51, .3, .3, .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); … … 177 177 if (this->parent() != NULL) 178 178 this->parent()->resize(); 179 this->debug();180 179 } 181 180
Note: See TracChangeset
for help on using the changeset viewer.