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,
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;
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;