- Timestamp:
- Jan 10, 2007, 4:16:22 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gui/src/lib/gui/gl/glgui_widget.cc
r10219 r10221 112 112 113 113 114 // this->mat->setBlendFunc(GL_SRC_ALPHA,GL_ONE); 115 // this->mat->setDiffuse(1,1,1); 116 // this->mat->setDiffuseMap("laser_add.png"); 117 // this->mat->setDiffuseMap("laser.png",1); 118 114 119 this->setBackgroundColor(Color(.51, .3, .3, 0)); 115 120 this->setBackgroundColor(Color(.51, .3, .3, 0), OrxGui::Selected); 116 this->_style[0]._background.setBlendFunc( GL_SRC_ALPHA, GL_ ONE);117 this->_style[1]._background.setBlendFunc( GL_SRC_ALPHA, GL_ ONE);118 this->_style[2]._background.setBlendFunc( GL_SRC_ALPHA, GL_ ONE);119 this->_style[3]._background.setBlendFunc( GL_SRC_ALPHA, GL_ ONE);121 this->_style[0]._background.setBlendFunc( GL_SRC_ALPHA, GL_SRC_ALPHA); 122 this->_style[1]._background.setBlendFunc( GL_SRC_ALPHA, GL_SRC_ALPHA); 123 this->_style[2]._background.setBlendFunc( GL_SRC_ALPHA, GL_SRC_ALPHA); 124 this->_style[3]._background.setBlendFunc( GL_SRC_ALPHA, GL_SRC_ALPHA); 120 125 121 126 this->setForegroundColor(Color(.8, .8, 1, 1), OrxGui::Normal);
Note: See TracChangeset
for help on using the changeset viewer.