#include <wx/aui/dockart.h>
wxAuiDockArt is part of the wxAUI class framework.
See also wxAUI Overview.
wxAuiDockArt is the art provider: provides all drawing functionality to the wxAui dock manager. This allows the dock manager to have a plugable look-and-feel.
By default, a wxAuiManager uses an instance of this class called wxAuiDefaultDockArt which provides bitmap art and a colour scheme that is adapted to the major platforms' look. You can either derive from that class to alter its behaviour or write a completely new dock art class. Call wxAuiManager::SetArtProvider to force wxAUI to use your new dock art provider.
Public Member Functions | |
wxAuiDockArt () | |
Constructor. More... | |
virtual | ~wxAuiDockArt () |
Destructor. More... | |
virtual void | DrawBackground (wxDC &dc, wxWindow *window, int orientation, const wxRect &rect)=0 |
Draws a background. More... | |
virtual void | DrawBorder (wxDC &dc, wxWindow *window, const wxRect &rect, wxAuiPaneInfo &pane)=0 |
Draws a border. More... | |
virtual void | DrawCaption (wxDC &dc, wxWindow *window, const wxString &text, const wxRect &rect, wxAuiPaneInfo &pane)=0 |
Draws a caption. More... | |
virtual void | DrawGripper (wxDC &dc, wxWindow *window, const wxRect &rect, wxAuiPaneInfo &pane)=0 |
Draws a gripper. More... | |
virtual void | DrawPaneButton (wxDC &dc, wxWindow *window, int button, int button_state, const wxRect &rect, wxAuiPaneInfo &pane)=0 |
Draws a button in the pane's title bar. More... | |
virtual void | DrawSash (wxDC &dc, wxWindow *window, int orientation, const wxRect &rect)=0 |
Draws a sash between two windows. More... | |
virtual wxColour | GetColour (int id)=0 |
Get the colour of a certain setting. More... | |
virtual wxFont | GetFont (int id)=0 |
Get a font setting. More... | |
virtual int | GetMetric (int id)=0 |
Get the value of a certain setting. More... | |
virtual void | SetColour (int id, const wxColour &colour)=0 |
Set a certain setting with the value colour. More... | |
virtual void | SetFont (int id, const wxFont &font)=0 |
Set a font setting. More... | |
virtual void | SetMetric (int id, int new_val)=0 |
Set a certain setting with the value new_val. More... | |
wxAuiDockArt::wxAuiDockArt | ( | ) |
Constructor.
|
virtual |
Destructor.
|
pure virtual |
Draws a background.
Implemented in wxAuiDefaultDockArt.
|
pure virtual |
Draws a border.
Implemented in wxAuiDefaultDockArt.
|
pure virtual |
Draws a caption.
Implemented in wxAuiDefaultDockArt.
|
pure virtual |
Draws a gripper.
Implemented in wxAuiDefaultDockArt.
|
pure 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.
Implemented in wxAuiDefaultDockArt.
|
pure virtual |
Draws a sash between two windows.
Implemented in wxAuiDefaultDockArt.
|
pure virtual |
Get the colour of a certain setting.
id can be one of the colour values of wxAuiPaneDockArtSetting.
Implemented in wxAuiDefaultDockArt.
|
pure virtual |
Get a font setting.
Implemented in wxAuiDefaultDockArt.
|
pure virtual |
Get the value of a certain setting.
id can be one of the size values of wxAuiPaneDockArtSetting.
Implemented in wxAuiDefaultDockArt.
|
pure virtual |
Set a certain setting with the value colour.
id can be one of the colour values of wxAuiPaneDockArtSetting.
Implemented in wxAuiDefaultDockArt.
|
pure virtual |
Set a font setting.
Implemented in wxAuiDefaultDockArt.
|
pure virtual |
Set a certain setting with the value new_val.
id can be one of the size values of wxAuiPaneDockArtSetting.
Implemented in wxAuiDefaultDockArt.