ALBA
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
wxDefaultDockArt Class Reference

#include <albaGUIDockManager.h>

Inheritance diagram for wxDefaultDockArt:
Inheritance graph
[legend]
Collaboration diagram for wxDefaultDockArt:
Collaboration graph
[legend]

Public Member Functions

 wxDefaultDockArt ()
 
int GetMetric (int metric_id)
 
void SetMetric (int metric_id, int new_val)
 
wxColour GetColour (int id)
 
void SetColour (int id, const wxColor &colour)
 
void SetFont (int id, const wxFont &font)
 
wxFont GetFont (int id)
 
void DrawSash (wxDC &dc, int orientation, const wxRect &rect)
 
void DrawBackground (wxDC &dc, int orientation, const wxRect &rect)
 
void DrawCaption (wxDC &dc, const wxString &text, const wxRect &rect, wxPaneInfo &pane)
 
void DrawGripper (wxDC &dc, const wxRect &rect, wxPaneInfo &pane)
 
void DrawBorder (wxDC &dc, const wxRect &rect, wxPaneInfo &pane)
 
void DrawPaneButton (wxDC &dc, int button, int button_state, const wxRect &rect, wxPaneInfo &pane)
 
- Public Member Functions inherited from wxDockArt
 wxDockArt ()
 
virtual ~wxDockArt ()
 
virtual int GetMetric (int id)=0
 
virtual void SetMetric (int id, int new_val)=0
 
virtual void SetFont (int id, const wxFont &font)=0
 
virtual wxFont GetFont (int id)=0
 
virtual wxColour GetColour (int id)=0
 
virtual void SetColour (int id, const wxColor &colour)=0
 
wxColor GetColor (int id)
 
void SetColor (int id, const wxColor &color)
 
virtual void DrawSash (wxDC &dc, int orientation, const wxRect &rect)=0
 
virtual void DrawBackground (wxDC &dc, int orientation, const wxRect &rect)=0
 
virtual void DrawCaption (wxDC &dc, const wxString &text, const wxRect &rect, wxPaneInfo &pane)=0
 
virtual void DrawGripper (wxDC &dc, const wxRect &rect, wxPaneInfo &pane)=0
 
virtual void DrawBorder (wxDC &dc, const wxRect &rect, wxPaneInfo &pane)=0
 
virtual void DrawPaneButton (wxDC &dc, int button, int button_state, const wxRect &rect, wxPaneInfo &pane)=0
 

Protected Member Functions

void DrawCaptionBackground (wxDC &dc, const wxRect &rect, bool active)
 

Protected Attributes

wxPen m_BorderPen
 
wxBrush m_SashBrush
 
wxBrush m_BackgroundBrush
 
wxBrush m_GripperBrush
 
wxFont m_CaptionFont
 
wxBitmap m_InactiveCloseBitmap
 
wxBitmap m_InactivePinBitmap
 
wxBitmap m_ActiveCloseBitmap
 
wxBitmap m_ActivePinBitmap
 
wxPen m_GripperPen1
 
wxPen m_GripperPen2
 
wxPen m_GripperPen3
 
wxColour m_ActiveCaptionColour
 
wxColour m_ActiveCaptionGradientColour
 
wxColour m_ActiveCaptionTextColour
 
wxColour m_InactiveCaptionColour
 
wxColour m_InactiveCaptionGradientColour
 
wxColour m_InactiveCaptionTextColour
 
int m_BorderSize
 
int m_CaptionSize
 
int m_SashSize
 
int m_ButtonSize
 
int m_GripperSize
 
int m_GradientType
 

Detailed Description

class name: wxDefaultDockArt this is the default art provider for wxFrameManager.

Dock art can be customized by creating a class derived from this one, or replacing this class entirely

Definition at line 744 of file albaGUIDockManager.h.

Constructor & Destructor Documentation

◆ wxDefaultDockArt()

wxDefaultDockArt::wxDefaultDockArt ( )

constructor

Member Function Documentation

◆ GetMetric()

int wxDefaultDockArt::GetMetric ( int  metric_id)
virtual

get metric

Implements wxDockArt.

◆ SetMetric()

void wxDefaultDockArt::SetMetric ( int  metric_id,
int  new_val 
)
virtual

set metric

Implements wxDockArt.

◆ GetColour()

wxColour wxDefaultDockArt::GetColour ( int  id)
virtual

get colour

Implements wxDockArt.

◆ SetColour()

void wxDefaultDockArt::SetColour ( int  id,
const wxColor &  colour 
)
virtual

set colour

Implements wxDockArt.

◆ SetFont()

void wxDefaultDockArt::SetFont ( int  id,
const wxFont &  font 
)
virtual

set font

Implements wxDockArt.

◆ GetFont()

wxFont wxDefaultDockArt::GetFont ( int  id)
virtual

get font

Implements wxDockArt.

◆ DrawSash()

void wxDefaultDockArt::DrawSash ( wxDC &  dc,
int  orientation,
const wxRect &  rect 
)
virtual

Draw Sash.

Implements wxDockArt.

◆ DrawBackground()

void wxDefaultDockArt::DrawBackground ( wxDC &  dc,
int  orientation,
const wxRect &  rect 
)
virtual

Draw Background.

Implements wxDockArt.

◆ DrawCaption()

void wxDefaultDockArt::DrawCaption ( wxDC &  dc,
const wxString &  text,
const wxRect &  rect,
wxPaneInfo pane 
)
virtual

Draw Caption.

Implements wxDockArt.

◆ DrawGripper()

void wxDefaultDockArt::DrawGripper ( wxDC &  dc,
const wxRect &  rect,
wxPaneInfo pane 
)
virtual

Draw Gripper.

Implements wxDockArt.

◆ DrawBorder()

void wxDefaultDockArt::DrawBorder ( wxDC &  dc,
const wxRect &  rect,
wxPaneInfo pane 
)
virtual

Draw Border.

Implements wxDockArt.

◆ DrawPaneButton()

void wxDefaultDockArt::DrawPaneButton ( wxDC &  dc,
int  button,
int  button_state,
const wxRect &  rect,
wxPaneInfo pane 
)
virtual

Draw Pane Button.

Implements wxDockArt.

◆ DrawCaptionBackground()

void wxDefaultDockArt::DrawCaptionBackground ( wxDC &  dc,
const wxRect &  rect,
bool  active 
)
protected

Draw Caption Background.

Member Data Documentation

◆ m_BorderPen

wxPen wxDefaultDockArt::m_BorderPen
protected

Definition at line 798 of file albaGUIDockManager.h.

◆ m_SashBrush

wxBrush wxDefaultDockArt::m_SashBrush
protected

Definition at line 799 of file albaGUIDockManager.h.

◆ m_BackgroundBrush

wxBrush wxDefaultDockArt::m_BackgroundBrush
protected

Definition at line 800 of file albaGUIDockManager.h.

◆ m_GripperBrush

wxBrush wxDefaultDockArt::m_GripperBrush
protected

Definition at line 801 of file albaGUIDockManager.h.

◆ m_CaptionFont

wxFont wxDefaultDockArt::m_CaptionFont
protected

Definition at line 802 of file albaGUIDockManager.h.

◆ m_InactiveCloseBitmap

wxBitmap wxDefaultDockArt::m_InactiveCloseBitmap
protected

Definition at line 803 of file albaGUIDockManager.h.

◆ m_InactivePinBitmap

wxBitmap wxDefaultDockArt::m_InactivePinBitmap
protected

Definition at line 804 of file albaGUIDockManager.h.

◆ m_ActiveCloseBitmap

wxBitmap wxDefaultDockArt::m_ActiveCloseBitmap
protected

Definition at line 805 of file albaGUIDockManager.h.

◆ m_ActivePinBitmap

wxBitmap wxDefaultDockArt::m_ActivePinBitmap
protected

Definition at line 806 of file albaGUIDockManager.h.

◆ m_GripperPen1

wxPen wxDefaultDockArt::m_GripperPen1
protected

Definition at line 807 of file albaGUIDockManager.h.

◆ m_GripperPen2

wxPen wxDefaultDockArt::m_GripperPen2
protected

Definition at line 808 of file albaGUIDockManager.h.

◆ m_GripperPen3

wxPen wxDefaultDockArt::m_GripperPen3
protected

Definition at line 809 of file albaGUIDockManager.h.

◆ m_ActiveCaptionColour

wxColour wxDefaultDockArt::m_ActiveCaptionColour
protected

Definition at line 810 of file albaGUIDockManager.h.

◆ m_ActiveCaptionGradientColour

wxColour wxDefaultDockArt::m_ActiveCaptionGradientColour
protected

Definition at line 811 of file albaGUIDockManager.h.

◆ m_ActiveCaptionTextColour

wxColour wxDefaultDockArt::m_ActiveCaptionTextColour
protected

Definition at line 812 of file albaGUIDockManager.h.

◆ m_InactiveCaptionColour

wxColour wxDefaultDockArt::m_InactiveCaptionColour
protected

Definition at line 813 of file albaGUIDockManager.h.

◆ m_InactiveCaptionGradientColour

wxColour wxDefaultDockArt::m_InactiveCaptionGradientColour
protected

Definition at line 814 of file albaGUIDockManager.h.

◆ m_InactiveCaptionTextColour

wxColour wxDefaultDockArt::m_InactiveCaptionTextColour
protected

Definition at line 815 of file albaGUIDockManager.h.

◆ m_BorderSize

int wxDefaultDockArt::m_BorderSize
protected

Definition at line 816 of file albaGUIDockManager.h.

◆ m_CaptionSize

int wxDefaultDockArt::m_CaptionSize
protected

Definition at line 817 of file albaGUIDockManager.h.

◆ m_SashSize

int wxDefaultDockArt::m_SashSize
protected

Definition at line 818 of file albaGUIDockManager.h.

◆ m_ButtonSize

int wxDefaultDockArt::m_ButtonSize
protected

Definition at line 819 of file albaGUIDockManager.h.

◆ m_GripperSize

int wxDefaultDockArt::m_GripperSize
protected

Definition at line 820 of file albaGUIDockManager.h.

◆ m_GradientType

int wxDefaultDockArt::m_GradientType
protected

Definition at line 821 of file albaGUIDockManager.h.


The documentation for this class was generated from the following file: