Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8742 in orxonox.OLD for trunk/src/lib/gui/gl


Ignore:
Timestamp:
Jun 23, 2006, 2:55:59 PM (19 years ago)
Author:
bensch
Message:

gui: better switch with keys

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/gui/gl/glgui_handler.cc

    r8717 r8742  
    135135        }
    136136
    137         if (dynamic_cast<GLGuiWidget*>(*it)->selectable())
     137        if (dynamic_cast<GLGuiWidget*>(*it)->selectable() && dynamic_cast<GLGuiWidget*>(*it)->isVisible())
    138138        {
    139139          dynamic_cast<GLGuiWidget*>(*it)->select();
     
    183183        }
    184184
    185         if (dynamic_cast<GLGuiWidget*>(*it)->selectable())
     185        if (dynamic_cast<GLGuiWidget*>(*it)->selectable() && dynamic_cast<GLGuiWidget*>(*it)->isVisible())
    186186        {
    187187          dynamic_cast<GLGuiWidget*>(*it)->select();
Note: See TracChangeset for help on using the changeset viewer.