Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7879 in orxonox.OLD


Ignore:
Timestamp:
May 26, 2006, 11:09:38 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: some cleanup

Location:
branches/gui/src/lib/gui/gl_gui
Files:
3 edited

Legend:

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

    r7878 r7879  
    6666    this->backMaterial().setDiffuse(color.x, color.y, color.z);
    6767
    68     if (this->movement != Vector2D())
     68    //if (this->movement != Vector2D())
    6969    {
    7070/*      if (this->getAbsCoor2D().x < 0.0 )
  • branches/gui/src/lib/gui/gl_gui/glgui_widget.cc

    r7878 r7879  
    4040  {
    4141  }
     42
     43  GLGuiWidget* GLGuiWidget::_focused = NULL;
     44  GLGuiWidget* GLGuiWidget::_inputGrabber = NULL;
     45
    4246
    4347
  • branches/gui/src/lib/gui/gl_gui/glgui_widget.h

    r7868 r7879  
    8787
    8888  protected:
    89     Material               backMat;
    90     GLuint                 backModel;
     89    Material                       backMat;
     90    GLuint                         backModel;
    9191
    92     Material               frontMat;
    93     GLuint                 frontModel;
     92    Material                       frontMat;
     93    GLuint                         frontModel;
    9494
    9595  private:
    96     std::vector<SignalConnector> widgetSignals;
     96    std::vector<SignalConnector>   widgetSignals;
    9797
    98     bool                   focusable;        //!< If this widget can receive focus.
    99     bool                   clickable;        //!< if this widget can be clicked upon.
     98    bool                           focusable;        //!< If this widget can receive focus.
     99    bool                           clickable;        //!< if this widget can be clicked upon.
     100
     101    static GLGuiWidget*            _focused;
     102    static GLGuiWidget*            _inputGrabber;
    100103  };
    101104}
Note: See TracChangeset for help on using the changeset viewer.