input handling in wxTLW/Univ
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -251,7 +251,8 @@ public:
|
||||
const wxString& title,
|
||||
const wxIcon& icon,
|
||||
int flags,
|
||||
int pressedButtons = 0) = 0;
|
||||
int specialButton = 0,
|
||||
int specialButtonFlags = 0) = 0;
|
||||
|
||||
// draw frame borders
|
||||
virtual void DrawFrameBorder(wxDC& dc,
|
||||
@@ -392,6 +393,10 @@ public:
|
||||
virtual wxSize GetFrameTotalSize(const wxSize& clientSize, int flags) const = 0;
|
||||
// get titlebar icon size
|
||||
virtual wxSize GetFrameIconSize() const = 0;
|
||||
// returns one of wxHT_TOPLEVEL_XXX constants
|
||||
virtual int HitTestFrame(const wxRect& rect,
|
||||
const wxPoint& pt,
|
||||
int flags) const = 0;
|
||||
|
||||
// virtual dtor for any base class
|
||||
virtual ~wxRenderer();
|
||||
@@ -622,8 +627,10 @@ public:
|
||||
const wxString& title,
|
||||
const wxIcon& icon,
|
||||
int flags,
|
||||
int pressedButtons = 0)
|
||||
{ m_renderer->DrawFrameTitleBar(dc, rect, title, icon, flags, pressedButtons); }
|
||||
int specialButton = 0,
|
||||
int specialButtonFlag = 0)
|
||||
{ m_renderer->DrawFrameTitleBar(dc, rect, title, icon, flags,
|
||||
specialButton, specialButtonFlag); }
|
||||
virtual void DrawFrameBorder(wxDC& dc,
|
||||
const wxRect& rect,
|
||||
int flags)
|
||||
@@ -723,6 +730,10 @@ public:
|
||||
{ return m_renderer->GetFrameTotalSize(clientSize, flags); }
|
||||
virtual wxSize GetFrameIconSize() const
|
||||
{ return m_renderer->GetFrameIconSize(); }
|
||||
virtual int HitTestFrame(const wxRect& rect,
|
||||
const wxPoint& pt,
|
||||
int flags) const
|
||||
{ return m_renderer->HitTestFrame(rect, pt, flags); }
|
||||
|
||||
protected:
|
||||
wxRenderer *m_renderer;
|
||||
|
Reference in New Issue
Block a user