#include </home/zeitlin/src/wx/github/interface/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. | |
virtual | ~wxAuiDockArt () |
Destructor. | |
virtual void | DrawBackground (wxDC &dc, wxWindow *window, int orientation, const wxRect &rect)=0 |
Draws a background. | |
virtual void | DrawBorder (wxDC &dc, wxWindow *window, const wxRect &rect, wxAuiPaneInfo &pane)=0 |
Draws a border. | |
virtual void | DrawCaption (wxDC &dc, wxWindow *window, const wxString &text, const wxRect &rect, wxAuiPaneInfo &pane)=0 |
Draws a caption. | |
virtual void | DrawGripper (wxDC &dc, wxWindow *window, const wxRect &rect, wxAuiPaneInfo &pane)=0 |
Draws a gripper. | |
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. | |
virtual void | DrawSash (wxDC &dc, wxWindow *window, int orientation, const wxRect &rect)=0 |
Draws a sash between two windows. | |
virtual wxColour | GetColour (int id)=0 |
Get the colour of a certain setting. | |
virtual wxFont | GetFont (int id)=0 |
Get a font setting. | |
virtual int | GetMetric (int id)=0 |
Get the value of a certain setting. | |
virtual void | SetColour (int id, const wxColour &colour)=0 |
Set a certain setting with the value colour. | |
virtual void | SetFont (int id, const wxFont &font)=0 |
Set a font setting. | |
virtual void | SetMetric (int id, int new_val)=0 |
Set a certain setting with the value new_val. |
wxAuiDockArt::wxAuiDockArt | ( | ) |
Constructor.
virtual wxAuiDockArt::~wxAuiDockArt | ( | ) | [virtual] |
Destructor.
virtual void wxAuiDockArt::DrawBackground | ( | wxDC & | dc, |
wxWindow * | window, | ||
int | orientation, | ||
const wxRect & | rect | ||
) | [pure virtual] |
Draws a background.
virtual void wxAuiDockArt::DrawBorder | ( | wxDC & | dc, |
wxWindow * | window, | ||
const wxRect & | rect, | ||
wxAuiPaneInfo & | pane | ||
) | [pure virtual] |
Draws a border.
virtual void wxAuiDockArt::DrawCaption | ( | wxDC & | dc, |
wxWindow * | window, | ||
const wxString & | text, | ||
const wxRect & | rect, | ||
wxAuiPaneInfo & | pane | ||
) | [pure virtual] |
Draws a caption.
virtual void wxAuiDockArt::DrawGripper | ( | wxDC & | dc, |
wxWindow * | window, | ||
const wxRect & | rect, | ||
wxAuiPaneInfo & | pane | ||
) | [pure virtual] |
Draws a gripper.
virtual void wxAuiDockArt::DrawPaneButton | ( | wxDC & | dc, |
wxWindow * | window, | ||
int | button, | ||
int | button_state, | ||
const wxRect & | rect, | ||
wxAuiPaneInfo & | pane | ||
) | [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.
virtual void wxAuiDockArt::DrawSash | ( | wxDC & | dc, |
wxWindow * | window, | ||
int | orientation, | ||
const wxRect & | rect | ||
) | [pure virtual] |
Draws a sash between two windows.
virtual wxColour wxAuiDockArt::GetColour | ( | int | id | ) | [pure virtual] |
Get the colour of a certain setting.
id can be one of the colour values of wxAuiPaneDockArtSetting.
virtual wxFont wxAuiDockArt::GetFont | ( | int | id | ) | [pure virtual] |
Get a font setting.
virtual int wxAuiDockArt::GetMetric | ( | int | id | ) | [pure virtual] |
Get the value of a certain setting.
id can be one of the size values of wxAuiPaneDockArtSetting.
virtual void wxAuiDockArt::SetColour | ( | int | id, |
const wxColour & | colour | ||
) | [pure virtual] |
Set a certain setting with the value colour.
id can be one of the colour values of wxAuiPaneDockArtSetting.
virtual void wxAuiDockArt::SetFont | ( | int | id, |
const wxFont & | font | ||
) | [pure virtual] |
Set a font setting.
virtual void wxAuiDockArt::SetMetric | ( | int | id, |
int | new_val | ||
) | [pure virtual] |
Set a certain setting with the value new_val.
id can be one of the size values of wxAuiPaneDockArtSetting.