]>
git.saurik.com Git - wxWidgets.git/blob - interface/aui/dockart.h
f9a85a1826eed494c51373a6e5ca839dc6427687
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: documentation for wxAuiDockArt class
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.
32 wxAuiManager, wxAuiPaneInfo
50 virtual void DrawBackground(wxDC
& dc
, wxWindow
* window
,
57 virtual void DrawBorder(wxDC
& dc
, wxWindow
* window
,
64 virtual void DrawCaption(wxDC
& dc
, wxWindow
* window
,
72 virtual void DrawGripper(wxDC
& dc
, wxWindow
* window
,
77 Draws a button in the pane's title bar.
78 @a button can be one of the values of @b wxAuiButtonId.
79 @a button_state can be one of the values of @b wxAuiPaneButtonState.
81 virtual void DrawPaneButton(wxDC
& dc
, wxWindow
* window
,
88 Draws a sash between two windows.
90 virtual void DrawSash(wxDC
& dc
, wxWindow
* window
,
95 The same as GetColour().
97 virtual wxColour
GetColor(int id
);
100 Get the colour of a certain setting.
101 @a id can be one of the colour values of @b wxAuiPaneDockArtSetting.
103 virtual wxColour
GetColour(int id
);
108 virtual wxFont
GetFont(int id
);
111 Get the value of a certain setting.
112 @a id can be one of the size values of @b wxAuiPaneDockArtSetting.
114 virtual int GetMetric(int id
);
117 The same as SetColour().
119 virtual void SetColor(int id
, const wxColour
& color
);
122 Set a certain setting with the value @e colour.
123 @a id can be one of the colour values of @b wxAuiPaneDockArtSetting.
125 virtual void SetColour(int id
, const wxColor
& colour
);
130 virtual void SetFont(int id
, const wxFont
& font
);
133 Set a certain setting with the value @e new_val.
134 @a id can be one of the size values of @b wxAuiPaneDockArtSetting.
136 virtual void SetMetric(int id
, int new_val
);