Main Page | Namespace List | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

wxPaneBase Class Reference

#include <pane.h>

List of all members.

Public Member Functions

virtual bool Create (wxWindow *parent, wxWindowID id=-1, const wxString &name=wxT("pane"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL)
virtual void Init ()
virtual bool Show (bool state=TRUE)
void ShowHeader (bool state)
void ShowCloseButton (bool state)
void SetOrientation (wxOrientation orientation)
void SetVisibilityOnParent (bool state)
wxWindow * GetClient ()
virtual wxWindow * SetClient (wxWindow *pClient, bool removeBorder=false)

Protected Member Functions

void UpdateSize ()
void UpdateLayout (int w, int h)
int GetHeaderSize ()
void CalcHeaderSize ()
const wxFont & GetTitleFont ()
void OnSize (wxSizeEvent &event)
void OnCloseButton (wxCommandEvent &event)
void OnPaint (wxPaintEvent &event)
void OnErase (wxEraseEvent &event)

Protected Attributes

bool m_showHeader
bool m_showClosebutton
bool m_visibilityOnParent
int m_headerSize
wxOrientation m_orientation
wxSize m_toolButtonSize
wxWindow * m_pClient
wxToolButton * m_pCloseButton


Member Function Documentation

void wxPaneBase::CalcHeaderSize  )  [protected]
 

Definition at line 236 of file pane.cpp.

References GetTitleFont(), HEADER_BORDER, m_headerSize, m_toolButtonSize, and max.

bool wxPaneBase::Create wxWindow *  parent,
wxWindowID  id = -1,
const wxString &  name = wxT("pane"),
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
long  style = wxTAB_TRAVERSAL
[virtual]
 

Definition at line 52 of file pane.cpp.

wxWindow * wxPaneBase::GetClient  ) 
 

Definition at line 124 of file pane.cpp.

References m_pClient.

int wxPaneBase::GetHeaderSize  )  [protected]
 

Definition at line 195 of file pane.cpp.

References m_headerSize, and m_showHeader.

Referenced by OnPaint(), and UpdateLayout().

const wxFont & wxPaneBase::GetTitleFont  )  [protected]
 

Definition at line 246 of file pane.cpp.

Referenced by CalcHeaderSize(), and OnPaint().

void wxPaneBase::Init  )  [virtual]
 

Definition at line 67 of file pane.cpp.

References m_headerSize, m_orientation, m_pClient, m_pCloseButton, m_showClosebutton, m_showHeader, m_toolButtonSize, and m_visibilityOnParent.

void wxPaneBase::OnCloseButton wxCommandEvent &  event  )  [protected]
 

Definition at line 139 of file pane.cpp.

void wxPaneBase::OnErase wxEraseEvent &  event  )  [protected]
 

Definition at line 146 of file pane.cpp.

void wxPaneBase::OnPaint wxPaintEvent &  event  )  [protected]
 

Definition at line 150 of file pane.cpp.

References GetHeaderSize(), GetTitleFont(), m_orientation, m_pClient, m_pCloseButton, and m_showClosebutton.

void wxPaneBase::OnSize wxSizeEvent &  event  )  [protected]
 

Definition at line 134 of file pane.cpp.

References UpdateSize().

wxWindow * wxPaneBase::SetClient wxWindow *  pClient,
bool  removeBorder = false
[virtual]
 

Definition at line 95 of file pane.cpp.

References m_pClient, and UpdateSize().

void wxPaneBase::SetOrientation wxOrientation  orientation  ) 
 

Definition at line 107 of file pane.cpp.

References m_orientation, and UpdateSize().

void wxPaneBase::SetVisibilityOnParent bool  state  ) 
 

Definition at line 113 of file pane.cpp.

References m_visibilityOnParent.

bool wxPaneBase::Show bool  state = TRUE  )  [virtual]
 

Definition at line 79 of file pane.cpp.

References m_visibilityOnParent.

void wxPaneBase::ShowCloseButton bool  state  ) 
 

Definition at line 118 of file pane.cpp.

References m_pCloseButton, and m_showClosebutton.

void wxPaneBase::ShowHeader bool  state  ) 
 

Definition at line 90 of file pane.cpp.

References m_showHeader, and UpdateSize().

void wxPaneBase::UpdateLayout int  w,
int  h
[protected]
 

Definition at line 199 of file pane.cpp.

References GetHeaderSize(), HEADER_BORDER, m_orientation, m_pClient, m_pCloseButton, m_showClosebutton, m_showHeader, and m_toolButtonSize.

Referenced by UpdateSize().

void wxPaneBase::UpdateSize  )  [protected]
 

Definition at line 128 of file pane.cpp.

References UpdateLayout().

Referenced by OnSize(), SetClient(), SetOrientation(), and ShowHeader().


Member Data Documentation

int wxPaneBase::m_headerSize [protected]
 

Definition at line 72 of file pane.h.

Referenced by CalcHeaderSize(), GetHeaderSize(), and Init().

wxOrientation wxPaneBase::m_orientation [protected]
 

Definition at line 73 of file pane.h.

Referenced by Init(), OnPaint(), SetOrientation(), and UpdateLayout().

wxWindow* wxPaneBase::m_pClient [protected]
 

Definition at line 77 of file pane.h.

Referenced by GetClient(), Init(), OnPaint(), SetClient(), and UpdateLayout().

wxToolButton* wxPaneBase::m_pCloseButton [protected]
 

Definition at line 78 of file pane.h.

Referenced by Init(), OnPaint(), ShowCloseButton(), and UpdateLayout().

bool wxPaneBase::m_showClosebutton [protected]
 

Definition at line 70 of file pane.h.

Referenced by Init(), OnPaint(), ShowCloseButton(), and UpdateLayout().

bool wxPaneBase::m_showHeader [protected]
 

Definition at line 69 of file pane.h.

Referenced by GetHeaderSize(), Init(), ShowHeader(), and UpdateLayout().

wxSize wxPaneBase::m_toolButtonSize [protected]
 

Definition at line 75 of file pane.h.

Referenced by CalcHeaderSize(), Init(), and UpdateLayout().

bool wxPaneBase::m_visibilityOnParent [protected]
 

Definition at line 71 of file pane.h.

Referenced by Init(), SetVisibilityOnParent(), and Show().


The documentation for this class was generated from the following files:
Generated on Sat May 14 14:54:39 2005 for wxDockIt by  doxygen 1.4.2