mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-08 11:57:25 +00:00
GUI: Implemented test point method to GuiObject
This commit is contained in:
parent
30f7556bee
commit
8c7a8116be
@ -91,6 +91,10 @@ public:
|
||||
|
||||
virtual void removeWidget(Widget *widget);
|
||||
|
||||
virtual bool isPointIn(int x, int y) {
|
||||
return (x >= _x && x < (_x + _w) && (y >= _y) && (y < _y + _h));
|
||||
}
|
||||
|
||||
protected:
|
||||
virtual void releaseFocus() = 0;
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user