#include <wx/aui/dockart.h>
This is the default art provider for wxAuiManager.
Dock art can be customized by creating a class derived from this one, or replacing this class entirely.
Public Member Functions | |
wxAuiDefaultDockArt () | |
virtual wxAuiDockArt * | Clone () |
Create a copy of this wxAuiDockArt instance. More... | |
int | GetMetric (int metricId) |
Get the value of a certain setting. More... | |
void | SetMetric (int metricId, int newVal) |
Set a certain setting with the value new_val. More... | |
wxColour | GetColour (int id) |
Get the colour of a certain setting. More... | |
void | SetColour (int id, const wxColour &colour) |
Set a certain setting with the value colour. More... | |
void | SetFont (int id, const wxFont &font) |
Set a font setting. More... | |
wxFont | GetFont (int id) |
Get a font setting. More... | |
void | DrawSash (wxDC &dc, wxWindow *window, int orientation, const wxRect &rect) |
Draws a sash between two windows. More... | |
void | DrawBackground (wxDC &dc, wxWindow *window, int orientation, const wxRect &rect) |
Draws a background. More... | |
void | DrawCaption (wxDC &dc, wxWindow *window, const wxString &text, const wxRect &rect, wxAuiPaneInfo &pane) |
Draws a caption. More... | |
void | DrawGripper (wxDC &dc, wxWindow *window, const wxRect &rect, wxAuiPaneInfo &pane) |
Draws a gripper. More... | |
void | DrawBorder (wxDC &dc, wxWindow *window, const wxRect &rect, wxAuiPaneInfo &pane) |
Draws a border. More... | |
void | DrawPaneButton (wxDC &dc, wxWindow *window, int button, int buttonState, const wxRect &rect, wxAuiPaneInfo &pane) |
Draws a button in the pane's title bar. More... | |
void | DrawIcon (wxDC &dc, const wxRect &rect, wxAuiPaneInfo &pane) |
![]() | |
wxAuiDockArt () | |
Constructor. More... | |
virtual | ~wxAuiDockArt () |
Destructor. More... | |
virtual int | GetMetricForWindow (int id, wxWindow *window) |
Get metric value scaled by the DPI of the given window if appropriate. More... | |
Protected Member Functions | |
void | DrawCaptionBackground (wxDC &dc, const wxRect &rect, bool active) |
void | DrawIcon (wxDC &dc, wxWindow *window, const wxRect &rect, wxAuiPaneInfo &pane) |
void | InitBitmaps () |
wxAuiDefaultDockArt::wxAuiDefaultDockArt | ( | ) |
|
virtual |
Create a copy of this wxAuiDockArt instance.
Implements wxAuiDockArt.
|
virtual |
Draws a background.
Implements wxAuiDockArt.
|
virtual |
Draws a border.
Implements wxAuiDockArt.
|
virtual |
Draws a caption.
Implements wxAuiDockArt.
|
protected |
|
virtual |
Draws a gripper.
Implements wxAuiDockArt.
void wxAuiDefaultDockArt::DrawIcon | ( | wxDC & | dc, |
const wxRect & | rect, | ||
wxAuiPaneInfo & | pane | ||
) |
|
protected |
|
virtual |
Draws a button in the pane's title bar.
button can be one of the values of wxAuiButtonId. button_state can be one of the values of wxAuiPaneButtonState.
Implements wxAuiDockArt.
|
virtual |
Draws a sash between two windows.
Implements wxAuiDockArt.
|
virtual |
Get the colour of a certain setting.
id can be one of the colour values of wxAuiPaneDockArtSetting.
Implements wxAuiDockArt.
|
virtual |
Get a font setting.
Implements wxAuiDockArt.
|
virtual |
Get the value of a certain setting.
id can be one of the size values of wxAuiPaneDockArtSetting.
This function returns the same value that was set by SetMetric(), use GetMetricForWindow() to get the value appropriate for the given window for metrics that express sizes.
Implements wxAuiDockArt.
|
protected |
|
virtual |
Set a certain setting with the value colour.
id can be one of the colour values of wxAuiPaneDockArtSetting.
Implements wxAuiDockArt.
|
virtual |
Set a font setting.
Implements wxAuiDockArt.
|
virtual |
Set a certain setting with the value new_val.
id can be one of the size values of wxAuiPaneDockArtSetting.
The interpretation of new_val depends on the metric being set, see GetMetricForWindow().
Implements wxAuiDockArt.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |