GUI: Implemented test point method to GuiObject

This commit is contained in:
Eugene Sandulenko 2014-06-01 14:01:15 +03:00 committed by Alexander Tkachev
parent 30f7556bee
commit 8c7a8116be

View File

@ -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;
};