Added support for left mouse click
This commit is contained in:
@@ -54,6 +54,9 @@ class JGuiObject
|
||||
virtual bool Leaving(JButton key); // when focus is transferring away from this obj, true to go ahead
|
||||
virtual bool ButtonPressed(); // action button pressed, return false to ignore
|
||||
|
||||
// Used for mouse support so that the GUI engine can found out which Object was selected
|
||||
virtual bool getTopLeft(int& top, int& left) {return false;};
|
||||
|
||||
int GetId();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user