SLArtProvider Class Reference

#include <artprovider.h>

Public Member Functions

 SLArtProvider ()
virtual ~SLArtProvider ()
wxAuiTabArt * Clone ()
void SetFlags (unsigned int flags)
void SetSizingInfo (const wxSize &tab_ctrl_size, size_t tab_count)
void SetNormalFont (const wxFont &font)
void SetSelectedFont (const wxFont &font)
void SetMeasuringFont (const wxFont &font)
void DrawBackground (wxDC &dc, wxWindow *wnd, const wxRect &rect)
void DrawTab (wxDC &dc, wxWindow *wnd, const wxAuiNotebookPage &pane, const wxRect &in_rect, int close_button_state, wxRect *out_tab_rect, wxRect *out_button_rect, int *x_extent)
void DrawButton (wxDC &dc, wxWindow *wnd, const wxRect &in_rect, int bitmap_id, int button_state, int orientation, wxRect *out_rect)
int GetIndentSize ()
wxSize GetTabSize (wxDC &dc, wxWindow *wnd, const wxString &caption, const wxBitmap &bitmap, bool active, int close_button_state, int *x_extent)
int ShowDropDown (wxWindow *wnd, const wxAuiNotebookPageArray &items, int active_idx)
int GetBestTabCtrlSize (wxWindow *wnd, const wxAuiNotebookPageArray &pages, const wxSize &required_bmp_size)
virtual void SetColour (const wxColour &colour)
virtual void SetActiveColour (const wxColour &colour)

Protected Attributes

wxFont m_normal_font
wxFont m_selected_font
wxFont m_measuring_font
wxColour m_base_colour
wxColour m_active_colour
wxPen m_base_colour_pen
wxPen m_border_pen
wxBrush m_base_colour_brush
wxBitmap m_active_close_bmp
wxBitmap m_disabled_close_bmp
wxBitmap m_active_left_bmp
wxBitmap m_disabled_left_bmp
wxBitmap m_active_right_bmp
wxBitmap m_disabled_right_bmp
wxBitmap m_active_windowlist_bmp
wxBitmap m_disabled_windowlist_bmp
int m_fixed_tab_width
int m_tab_ctrl_height
unsigned int m_flags

Detailed Description

Definition at line 6 of file artprovider.h.


Constructor & Destructor Documentation

SLArtProvider::SLArtProvider (  ) 

Definition at line 12 of file artprovider.cpp.

SLArtProvider::~SLArtProvider (  )  [virtual]

Definition at line 62 of file artprovider.cpp.


Member Function Documentation

wxAuiTabArt * SLArtProvider::Clone (  ) 

Definition at line 66 of file artprovider.cpp.

void SLArtProvider::DrawBackground ( wxDC &  dc,
wxWindow *  wnd,
const wxRect rect 
)
void SLArtProvider::DrawButton ( wxDC &  dc,
wxWindow *  wnd,
const wxRect in_rect,
int  bitmap_id,
int  button_state,
int  orientation,
wxRect out_rect 
)
void SLArtProvider::DrawTab ( wxDC &  dc,
wxWindow *  wnd,
const wxAuiNotebookPage &  pane,
const wxRect in_rect,
int  close_button_state,
wxRect out_tab_rect,
wxRect out_button_rect,
int *  x_extent 
)

Definition at line 158 of file artprovider.cpp.

int SLArtProvider::GetBestTabCtrlSize ( wxWindow *  wnd,
const wxAuiNotebookPageArray &  pages,
const wxSize required_bmp_size 
)

Definition at line 615 of file artprovider.cpp.

int SLArtProvider::GetIndentSize (  ) 

Definition at line 452 of file artprovider.cpp.

wxSize SLArtProvider::GetTabSize ( wxDC &  dc,
wxWindow *  wnd,
const wxString caption,
const wxBitmap &  bitmap,
bool  active,
int  close_button_state,
int *  x_extent 
)
void SLArtProvider::SetActiveColour ( const wxColour &  colour  )  [virtual]

Definition at line 693 of file artprovider.cpp.

void SLArtProvider::SetColour ( const wxColour &  colour  )  [virtual]

todo

Definition at line 679 of file artprovider.cpp.

void SLArtProvider::SetFlags ( unsigned int  flags  ) 

Definition at line 76 of file artprovider.cpp.

void SLArtProvider::SetMeasuringFont ( const wxFont &  font  ) 

Definition at line 674 of file artprovider.cpp.

void SLArtProvider::SetNormalFont ( const wxFont &  font  ) 

Definition at line 664 of file artprovider.cpp.

void SLArtProvider::SetSelectedFont ( const wxFont &  font  ) 

Definition at line 669 of file artprovider.cpp.

void SLArtProvider::SetSizingInfo ( const wxSize tab_ctrl_size,
size_t  tab_count 
)

Definition at line 81 of file artprovider.cpp.

int SLArtProvider::ShowDropDown ( wxWindow *  wnd,
const wxAuiNotebookPageArray &  items,
int  active_idx 
)

Definition at line 570 of file artprovider.cpp.


Field Documentation

wxBitmap SLArtProvider::m_active_close_bmp [protected]

Definition at line 79 of file artprovider.h.

wxColour SLArtProvider::m_active_colour [protected]

Definition at line 75 of file artprovider.h.

wxBitmap SLArtProvider::m_active_left_bmp [protected]

Definition at line 81 of file artprovider.h.

wxBitmap SLArtProvider::m_active_right_bmp [protected]

Definition at line 83 of file artprovider.h.

Definition at line 85 of file artprovider.h.

wxColour SLArtProvider::m_base_colour [protected]

Definition at line 74 of file artprovider.h.

Definition at line 78 of file artprovider.h.

Definition at line 76 of file artprovider.h.

wxPen SLArtProvider::m_border_pen [protected]

Definition at line 77 of file artprovider.h.

Definition at line 80 of file artprovider.h.

wxBitmap SLArtProvider::m_disabled_left_bmp [protected]

Definition at line 82 of file artprovider.h.

Definition at line 84 of file artprovider.h.

Definition at line 86 of file artprovider.h.

Definition at line 88 of file artprovider.h.

unsigned int SLArtProvider::m_flags [protected]

Definition at line 90 of file artprovider.h.

wxFont SLArtProvider::m_measuring_font [protected]

Definition at line 73 of file artprovider.h.

wxFont SLArtProvider::m_normal_font [protected]

Definition at line 71 of file artprovider.h.

wxFont SLArtProvider::m_selected_font [protected]

Definition at line 72 of file artprovider.h.

Definition at line 89 of file artprovider.h.


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

Generated on Thu Dec 29 00:11:49 2011 for SpringLobby by doxygen 1.6.3