Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7888 in orxonox.OLD


Ignore:
Timestamp:
May 27, 2006, 2:55:04 AM (18 years ago)
Author:
bensch
Message:

gui: color to show that something is happening

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/gui/src/lib/gui/gl_gui/glgui_pushbutton.cc

    r7883 r7888  
    5353  {
    5454    printf("%s received focus\n", this->getLabel().c_str());
     55    this->frontMaterial().setDiffuse(0, 1, 0);
     56
    5557
    5658    Vector test;
     
    6163  {
    6264    printf("%s removed focus\n", this->getLabel().c_str());
     65    this->frontMaterial().setDiffuse(1, 0, 0);
    6366
    6467  }
     
    6770  {
    6871    printf("%s clicked\n", this->getLabel().c_str());
     72    this->frontMaterial().setDiffuse(0, 0, 1);
    6973  }
    7074
Note: See TracChangeset for help on using the changeset viewer.