Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8604 in orxonox.OLD for branches


Ignore:
Timestamp:
Jun 20, 2006, 9:18:27 AM (18 years ago)
Author:
bensch
Message:

orxonox/gui: debug works: resetStyle was missing

Location:
branches/gui/src/lib/gui/gl
Files:
2 edited

Legend:

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

    r8603 r8604  
    7373
    7474    this->_font = NULL;
    75     this->_currentState = OrxGui::Normal;
     75    this->resetStyle();
     76
    7677    this->_animationCycle = -1.0;
    7778    this->_animationDuration = 1.0;
     
    158159    if (this->parent() != NULL)
    159160      this->parent()->resize();
     161    this->debug();
    160162  }
    161163
     
    693695  {
    694696    this->_currentStyle = this->_style[state];
    695     this->_currentState = state;
     697    this->_state = state;
    696698    printf("Switching to state %s\n", OrxGui::StateString[state].c_str());
    697699  }
  • branches/gui/src/lib/gui/gl/glgui_widget.h

    r8603 r8604  
    312312    float               _animationDuration;
    313313    StatedStyle         _currentStyle;
    314     OrxGui::State       _currentState;
    315314
    316315  };
Note: See TracChangeset for help on using the changeset viewer.