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

wxExSplitter Class Reference

#include <exsplitter.h>

List of all members.

Public Member Functions

 wxExSplitter ()
void Init ()
 wxExSplitter (wxWindow *parent, wxOrientation orientation, wxWindow *win1, wxWindow *win2, unsigned int flags)
bool Create (wxWindow *parent, wxOrientation orientation, wxWindow *win1, wxWindow *win2, unsigned int flags)
void SetWindows (wxWindow *pWin1, wxWindow *pWin2)
void SetFlags (unsigned int flags)
void OnLeftDown (wxMouseEvent &event)
void OnMouseMove (wxMouseEvent &event)
void OnErase (wxEraseEvent &event)
void OnPaint (wxPaintEvent &event)
void OnLeftUp (wxMouseEvent &event)
void SetBoundaries ()

Private Member Functions

void draw (wxRect r)

Private Attributes

wxWindow * pOwner_
wxWindow * pWindow_ [wxSPLITTER_WINDOWS]
wxOrientation orientation_
wxPoint startPosition_
wxRect startRect_ [wxSPLITTER_WINDOWS]
wxRect startRectUs_
wxPoint boundary [2]
bool dragging_
bool bounded_
int minSize_
wxRect endRect_ [wxSPLITTER_WINDOWS]
wxRect endRectUs_
unsigned int flags_
wxRect lastDrawnRect_


Constructor & Destructor Documentation

wxExSplitter::wxExSplitter  )  [inline]
 

Definition at line 40 of file exsplitter.h.

References Init().

wxExSplitter::wxExSplitter wxWindow *  parent,
wxOrientation  orientation,
wxWindow *  win1,
wxWindow *  win2,
unsigned int  flags
[inline]
 

Definition at line 45 of file exsplitter.h.

References Create(), and Init().


Member Function Documentation

bool wxExSplitter::Create wxWindow *  parent,
wxOrientation  orientation,
wxWindow *  win1,
wxWindow *  win2,
unsigned int  flags
 

Definition at line 43 of file exsplitter.cpp.

References flags_, orientation_, pOwner_, pWindow_, and wxFULL_REPAINT_ON_RESIZE.

Referenced by wxExSplitter().

void wxExSplitter::draw wxRect  r  )  [private]
 

Definition at line 227 of file exsplitter.cpp.

References flags_, lastDrawnRect_, pOwner_, and wxESF_LIVE_UPDATE.

Referenced by OnLeftDown(), OnLeftUp(), and OnMouseMove().

void wxExSplitter::Init  ) 
 

Definition at line 33 of file exsplitter.cpp.

References wxMINIMUM_WINDOW_SIZE.

Referenced by wxExSplitter().

void wxExSplitter::OnErase wxEraseEvent &  event  ) 
 

Definition at line 176 of file exsplitter.cpp.

void wxExSplitter::OnLeftDown wxMouseEvent &  event  ) 
 

Definition at line 75 of file exsplitter.cpp.

References dragging_, draw(), endRectUs_, lastDrawnRect_, pWindow_, SetBoundaries(), startPosition_, startRect_, and startRectUs_.

void wxExSplitter::OnLeftUp wxMouseEvent &  event  ) 
 

Definition at line 194 of file exsplitter.cpp.

References dragging_, draw(), endRect_, endRectUs_, flags_, lastDrawnRect_, pWindow_, wxESF_LIVE_UPDATE, and wxSPLITTER_WINDOWS.

void wxExSplitter::OnMouseMove wxMouseEvent &  event  ) 
 

Definition at line 101 of file exsplitter.cpp.

References boundary, bounded_, dragging_, draw(), endRect_, endRectUs_, flags_, lastDrawnRect_, minSize_, orientation_, pWindow_, startPosition_, startRect_, startRectUs_, and wxESF_LIVE_UPDATE.

void wxExSplitter::OnPaint wxPaintEvent &  event  ) 
 

Definition at line 180 of file exsplitter.cpp.

References flags_, orientation_, and wxESF_DRAW_GRIPPER.

void wxExSplitter::SetBoundaries  ) 
 

Definition at line 239 of file exsplitter.cpp.

References boundary, bounded_, wxLayoutManager::GetDockArea(), pOwner_, pWindow_, and wxSPLITTER_SIZE.

Referenced by OnLeftDown().

void wxExSplitter::SetFlags unsigned int  flags  ) 
 

Definition at line 71 of file exsplitter.cpp.

References flags_.

Referenced by wxDockHost::SettingsChanged().

void wxExSplitter::SetWindows wxWindow *  pWin1,
wxWindow *  pWin2
 

Definition at line 65 of file exsplitter.cpp.

References pWindow_.

Referenced by wxDockHost::updateSplitters().


Member Data Documentation

wxPoint wxExSplitter::boundary[2] [private]
 

Definition at line 81 of file exsplitter.h.

Referenced by OnMouseMove(), and SetBoundaries().

bool wxExSplitter::bounded_ [private]
 

Definition at line 84 of file exsplitter.h.

Referenced by OnMouseMove(), and SetBoundaries().

bool wxExSplitter::dragging_ [private]
 

Definition at line 83 of file exsplitter.h.

Referenced by OnLeftDown(), OnLeftUp(), and OnMouseMove().

wxRect wxExSplitter::endRect_[wxSPLITTER_WINDOWS] [private]
 

Definition at line 86 of file exsplitter.h.

Referenced by OnLeftUp(), and OnMouseMove().

wxRect wxExSplitter::endRectUs_ [private]
 

Definition at line 87 of file exsplitter.h.

Referenced by OnLeftDown(), OnLeftUp(), and OnMouseMove().

unsigned int wxExSplitter::flags_ [private]
 

Definition at line 88 of file exsplitter.h.

Referenced by Create(), draw(), OnLeftUp(), OnMouseMove(), OnPaint(), and SetFlags().

wxRect wxExSplitter::lastDrawnRect_ [private]
 

Definition at line 89 of file exsplitter.h.

Referenced by draw(), OnLeftDown(), OnLeftUp(), and OnMouseMove().

int wxExSplitter::minSize_ [private]
 

Definition at line 85 of file exsplitter.h.

Referenced by OnMouseMove().

wxOrientation wxExSplitter::orientation_ [private]
 

Definition at line 75 of file exsplitter.h.

Referenced by Create(), OnMouseMove(), and OnPaint().

wxWindow* wxExSplitter::pOwner_ [private]
 

Definition at line 73 of file exsplitter.h.

Referenced by Create(), draw(), and SetBoundaries().

wxWindow* wxExSplitter::pWindow_[wxSPLITTER_WINDOWS] [private]
 

Definition at line 74 of file exsplitter.h.

Referenced by Create(), OnLeftDown(), OnLeftUp(), OnMouseMove(), SetBoundaries(), and SetWindows().

wxPoint wxExSplitter::startPosition_ [private]
 

Definition at line 76 of file exsplitter.h.

Referenced by OnLeftDown(), and OnMouseMove().

wxRect wxExSplitter::startRect_[wxSPLITTER_WINDOWS] [private]
 

Definition at line 77 of file exsplitter.h.

Referenced by OnLeftDown(), and OnMouseMove().

wxRect wxExSplitter::startRectUs_ [private]
 

Definition at line 78 of file exsplitter.h.

Referenced by OnLeftDown(), and OnMouseMove().


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