Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 901 vs 902 for /trunk/Source Code/GUI/Headers/GUIInterface.h

Diff revisions: vs.
  @@ -99,9 +99,12 @@
99 99 const vec2<U32>& position,
100 100 const vec2<U32>& extent);
101 101
102 - virtual void mouseMoved(const GUIEvent& event);
103 - virtual void onMouseUp(const GUIEvent& event);
104 - virtual void onMouseDown(const GUIEvent& event);
102 + // Return true if input was consumed
103 + virtual bool mouseMoved(const GUIEvent& event);
104 + // Return true if input was consumed
105 + virtual bool onMouseUp(const GUIEvent& event);
106 + // Return true if input was consumed
107 + virtual bool onMouseDown(const GUIEvent& event);
105 108
106 109 protected:
107 110 void addElement(U64 id, GUIElement* element);