]>
git.saurik.com Git - wxWidgets.git/blob - interface/aui/dockart.h
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 "wxAUI overview".
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.
79 @e button can be one of the values of @b wxAuiButtonId.
81 @e button_state can be one of the values of @b wxAuiPaneButtonState.
83 virtual void DrawPaneButton(wxDC
& dc
, wxWindow
* window
,
90 Draws a sash between two windows.
92 virtual void DrawSash(wxDC
& dc
, wxWindow
* window
,
97 The same as GetColour().
99 virtual wxColour
GetColor(int id
);
102 Get the colour of a certain setting.
104 @e id can be one of the colour values of @b wxAuiPaneDockArtSetting.
106 virtual wxColour
GetColour(int id
);
111 virtual wxFont
GetFont(int id
);
114 Get the value of a certain setting.
116 @e id can be one of the size values of @b wxAuiPaneDockArtSetting.
118 virtual int GetMetric(int id
);
121 The same as SetColour().
123 virtual void SetColor(int id
, const wxColour
& color
);
126 Set a certain setting with the value @e colour.
128 @e id can be one of the colour values of @b wxAuiPaneDockArtSetting.
130 virtual void SetColour(int id
, const wxColor
& colour
);
135 virtual void SetFont(int id
, const wxFont
& font
);
138 Set a certain setting with the value @e new_val.
140 @e id can be one of the size values of @b wxAuiPaneDockArtSetting.
142 virtual void SetMetric(int id
, int new_val
);