Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9021 in orxonox.OLD for trunk/src/lib/gui/gl/glgui_handler.cc


Ignore:
Timestamp:
Jul 2, 2006, 10:25:41 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: GUI: mapped water can no be edited with the mouse

File:
1 edited

Legend:

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

    r9006 r9021  
    1818#include "glgui_handler.h"
    1919#include "event_handler.h"
     20#include "key_names.h"
    2021
    2122#include "glgui_mainwidget.h"
     
    203204    switch (event.type)
    204205    {
     206      case EV_MOUSE_MOTION:
     207        this->checkFocus();
     208        break;
     209
    205210      case  EV_MOUSE_BUTTON_LEFT:
    206211        if (GLGuiWidget::mouseFocused() != NULL && event.bPressed)
     
    247252    }
    248253
     254
     255    // Send the Event to the Widget below.
    249256    if (GLGuiWidget::selected() != NULL)
    250257    {
     258      printf("event is %s\n", EVToKeyName(event.type).c_str());
    251259      GLGuiWidget::selected()->processEvent(event);
    252260    }
Note: See TracChangeset for help on using the changeset viewer.