Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8609 in orxonox.OLD for branches


Ignore:
Timestamp:
Jun 20, 2006, 10:23:45 AM (18 years ago)
Author:
bensch
Message:

image ok again

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  
    4747    this->setClassID(CL_GLGUI_IMAGE, "GLGuiImage");
    4848
     49    this->setForegroundColor(Color(1,1,1,1));
    4950    this->_imageMaterial.setBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
    5051
  • branches/gui/src/lib/gui/gl/glgui_widget.cc

    r8608 r8609  
    103103
    104104
    105     this->setBackgroundColor(Color(.51, 0, 0, .5));
     105    this->setBackgroundColor(Color(.51, .3, .3, .5));
    106106    this->_style[0]._background.setBlendFunc( GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
    107107    this->_style[1]._background.setBlendFunc( GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
     
    177177    if (this->parent() != NULL)
    178178      this->parent()->resize();
    179     this->debug();
    180179  }
    181180
Note: See TracChangeset for help on using the changeset viewer.