Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 28, 2006, 7:15:24 PM (18 years ago)
Author:
bensch
Message:

gui: click with positional information

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/gui/src/lib/gui/gl_gui/glgui_widget.h

    r7928 r7929  
    8383
    8484    /// CLICK
    85     void click();
    86     void release();
     85    void click(const Vector2D& pos);
     86    void release(const Vector2D& pos);
    8787    bool clickable() const { return this->_clickable; };
    8888    void setClickable(bool clickable = true) { this->_clickable = clickable; };
     
    127127
    128128    // if something was clickt on the GUI-widget.
    129     virtual void clicked();
    130     virtual void released();
     129    virtual void clicked(const Vector2D& pos);
     130    virtual void released(const Vector2D& pos);
    131131    virtual void receivedFocus();
    132132    virtual void removedFocus();
Note: See TracChangeset for help on using the changeset viewer.