]>
git.saurik.com Git - wxWidgets.git/blob - interface/aui/dockart.h
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: interface of wxAuiDockArt
4 // Author: wxWidgets team
6 // Licence: wxWindows license
7 /////////////////////////////////////////////////////////////////////////////
11 @headerfile dockart.h wx/aui/dockart.h
13 wxAuiDockArt is part of the wxAUI class framework.
14 See also @ref overview_wxauioverview.
16 Dock art provider code - a dock provider provides all drawing
17 functionality to the wxAui dock manager. This allows the dock
18 manager to have a plugable look-and-feel.
20 By default, a wxAuiManager uses an
21 instance of this class called @b wxAuiDefaultDockArt which
22 provides bitmap art and a colour scheme that is adapted to
23 the major platforms' look. You can either derive from that
24 class to alter its behaviour or write a completely new dock
25 art class. Call wxAuiManager::SetArtProvider
26 to make use this new dock art.
31 @see wxAuiManager, wxAuiPaneInfo
49 virtual void DrawBackground(wxDC
& dc
, wxWindow
* window
,
56 virtual void DrawBorder(wxDC
& dc
, wxWindow
* window
,
63 virtual void DrawCaption(wxDC
& dc
, wxWindow
* window
,
71 virtual void DrawGripper(wxDC
& dc
, wxWindow
* window
,
76 Draws a button in the pane's title bar.
77 @a button can be one of the values of @b wxAuiButtonId.
78 @a button_state can be one of the values of @b wxAuiPaneButtonState.
80 virtual void DrawPaneButton(wxDC
& dc
, wxWindow
* window
,
87 Draws a sash between two windows.
89 virtual void DrawSash(wxDC
& dc
, wxWindow
* window
,
94 The same as GetColour().
96 virtual wxColour
GetColor(int id
);
99 Get the colour of a certain setting.
100 @a id can be one of the colour values of @b wxAuiPaneDockArtSetting.
102 virtual wxColour
GetColour(int id
);
107 virtual wxFont
GetFont(int id
);
110 Get the value of a certain setting.
111 @a id can be one of the size values of @b wxAuiPaneDockArtSetting.
113 virtual int GetMetric(int id
);
116 The same as SetColour().
118 virtual void SetColor(int id
, const wxColour
& color
);
121 Set a certain setting with the value @e colour.
122 @a id can be one of the colour values of @b wxAuiPaneDockArtSetting.
124 virtual void SetColour(int id
, const wxColor
& colour
);
129 virtual void SetFont(int id
, const wxFont
& font
);
132 Set a certain setting with the value @e new_val.
133 @a id can be one of the size values of @b wxAuiPaneDockArtSetting.
135 virtual void SetMetric(int id
, int new_val
);