diff options
-rw-r--r-- | xbmc/guilib/GUIMoverControl.h | 1 | ||||
-rw-r--r-- | xbmc/guilib/GUIResizeControl.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/xbmc/guilib/GUIMoverControl.h b/xbmc/guilib/GUIMoverControl.h index f1a748dbca..81c28b23a9 100644 --- a/xbmc/guilib/GUIMoverControl.h +++ b/xbmc/guilib/GUIMoverControl.h @@ -76,6 +76,7 @@ public: void SetLocation(int iLocX, int iLocY, bool bSetPosition = true); int GetXLocation() const { return m_iLocationX;}; int GetYLocation() const { return m_iLocationY;}; + virtual bool CanFocus() const { return true; }; protected: virtual EVENT_RESULT OnMouseEvent(const CPoint &point, const CMouseEvent &event); diff --git a/xbmc/guilib/GUIResizeControl.h b/xbmc/guilib/GUIResizeControl.h index abac66c5e1..9085e55532 100644 --- a/xbmc/guilib/GUIResizeControl.h +++ b/xbmc/guilib/GUIResizeControl.h @@ -65,6 +65,7 @@ public: virtual void SetInvalid(); virtual void SetPosition(float posX, float posY); void SetLimits(float x1, float y1, float x2, float y2); + virtual bool CanFocus() const { return true; }; protected: virtual EVENT_RESULT OnMouseEvent(const CPoint &point, const CMouseEvent &event); |