Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10221 in orxonox.OLD


Ignore:
Timestamp:
Jan 10, 2007, 4:16:22 PM (17 years ago)
Author:
patrick
Message:

another test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/gui/src/lib/gui/gl/glgui_widget.cc

    r10219 r10221  
    112112
    113113
     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
    114119    this->setBackgroundColor(Color(.51, .3, .3, 0));
    115120    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);
    120125
    121126    this->setForegroundColor(Color(.8, .8, 1, 1), OrxGui::Normal);
Note: See TracChangeset for help on using the changeset viewer.