X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a3a5df9d92fe2b22a7451e1251f1711064c22d67..c6ea1fdaf924be4ee49a19d12f76e4fcd257bb0a:/include/wx/aui/dockart.h diff --git a/include/wx/aui/dockart.h b/include/wx/aui/dockart.h index 3a14735aee..027f399644 100644 --- a/include/wx/aui/dockart.h +++ b/include/wx/aui/dockart.h @@ -46,33 +46,33 @@ public: void SetColor(int id, const wxColour& color) { SetColour(id, color); } virtual void DrawSash(wxDC& dc, - wxWindow *window, + wxWindow* window, int orientation, const wxRect& rect) = 0; virtual void DrawBackground(wxDC& dc, - wxWindow *window, + wxWindow* window, int orientation, const wxRect& rect) = 0; virtual void DrawCaption(wxDC& dc, - wxWindow *window, + wxWindow* window, const wxString& text, const wxRect& rect, wxAuiPaneInfo& pane) = 0; virtual void DrawGripper(wxDC& dc, - wxWindow *window, + wxWindow* window, const wxRect& rect, wxAuiPaneInfo& pane) = 0; virtual void DrawBorder(wxDC& dc, - wxWindow *window, + wxWindow* window, const wxRect& rect, wxAuiPaneInfo& pane) = 0; virtual void DrawPaneButton(wxDC& dc, - wxWindow *window, + wxWindow* window, int button, int button_state, const wxRect& rect, @@ -130,10 +130,16 @@ public: const wxRect& rect, wxAuiPaneInfo& pane); + void DrawIcon(wxDC& dc, + const wxRect& rect, + wxAuiPaneInfo& pane); + protected: void DrawCaptionBackground(wxDC& dc, const wxRect& rect, bool active); + void InitBitmaps(); + protected: wxPen m_border_pen; @@ -152,6 +158,7 @@ protected: wxPen m_gripper_pen1; wxPen m_gripper_pen2; wxPen m_gripper_pen3; + wxColour m_base_colour; wxColour m_active_caption_colour; wxColour m_active_caption_gradient_colour; wxColour m_active_caption_text_colour;