Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7907 in orxonox.OLD for branches/gui/src


Ignore:
Timestamp:
May 27, 2006, 2:57:00 PM (18 years ago)
Author:
bensch
Message:

gui: cursor also works when resizing the Window

File:
1 edited

Legend:

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

    r7905 r7907  
    119119        if (GLGuiWidget::focused() != NULL)
    120120          GLGuiWidget::focused()->breakFocus();
     121        break;
     122
     123      case EV_VIDEO_RESIZE:
     124        if (this->cursor != NULL)
     125          this->cursor->setMaxBorders(Vector2D(event.resize.w, event.resize.h));
     126        break;
    121127    }
    122128
Note: See TracChangeset for help on using the changeset viewer.