OILFixedDockingBar Class Reference

#include <dockbar.h>

Inheritance diagram for OILFixedDockingBar:

OILDockingBar List of all members.

Public Member Functions

 OILFixedDockingBar ()
BOOL Create (wxWindow *pParentWnd, DockBarType ReqType, UINT32 id=0)
BOOL PlaceBar (wxWindow *hdialogbar, wxPoint here, wxSize size=wxSize(0, 0))
BOOL PlaceBar (wxWindow *hdialogbar, KernelBarPos BarPos, wxSize size=wxSize(0, 0))
BOOL PlaceBarAt (wxWindow *hdialogbar, KernelBarPos BarPos)
BOOL ReleaseBar (wxWindow *hdialog, BOOL DoTidy)
void AppendToSlot (INT32 SlotNo, wxPoint *here)
BOOL IsScreenPointInDock (wxPoint here)
BOOL IsScreenRectInDock (wxRect BarRect)
void GetDockScreenRect (wxRect *BarRect)
void SetBigControlState (BOOL Big)
void BarPosToClient (KernelBarPos Pos, wxPoint *Point)
void BarPosToScreen (KernelBarPos Pos, wxPoint *Point)
INT32 PointToSlot (wxPoint *ThisPoint)
INT32 PointToPosition (wxPoint *ThisPoint)
void TidySlots ()
void CheckAndCorrectOverlap ()
wxSize GetBarSize ()
BOOL SetSlotSize (INT32 SlotNo, INT32 NewSize)
BOOL DeleteBars ()
void RepositionWindow (AFX_SIZEPARENTPARAMS FAR *lpLayout, wxWindow *wxWindow *, LPCRECT lpRect)

Static Public Member Functions

static void DoNotTidyBars ()
static void AllowTidyBars ()

Protected Member Functions

virtual void DoPaint (wxDC *pDC)

Protected Attributes

wxBrush BackBrush

Private Member Functions

INT32 TotalSlotSizes (INT32 Slot=-1)
void SetSize (wxRect LayoutRect, wxRect *rect)
INT32 GetIntersectPercent (OILChildBar *ThisBar)
void PutInSlot (wxPoint *position, INT32 Size)
BOOL ShiftBarPos (wxPoint *position, INT32 amount)
BOOL ShiftBarSlot (wxPoint *position, INT32 NoSlots)
BOOL CanShuffleForward (OILChildBar *Start, OILChildBar *End, INT32 amount)
BOOL DoShuffleForward (OILChildBar *Start, OILChildBar *End, INT32 amount)
BOOL CanShuffleBackward (OILChildBar *Start, OILChildBar *End, INT32 amount)
BOOL DoShuffleBackward (OILChildBar *Start, OILChildBar *End, INT32 amount)
void InsertSlot (INT32 SlotNo, INT32 NewSize=-1)
void RemoveSlot (INT32 SlotNo)
INT32 CountSlots ()
void PositionBar (OILChildBar *ThisBar)
BOOL PlaceBarInSlot (OILChildBar *ThisBar, INT32 Slot)
BOOL PlaceGalleryInSlot (OILChildBar *ThisBar, INT32 Slot)
BOOL InsertBarInList (OILChildBar *ThisBar)
OILChildBar * IsPointInBar (wxPoint ThisPoint)
OILChildBar * GetSlotHead (INT32 SlotNo)
OILChildBar * GetOverLap (OILChildBar *ThisBar, INT32 SlotNo, INT32 *ForwardOverlap, INT32 *BackwardOverlap)
BOOL GetGalleryOverLap (OILChildBar *ThisBar, INT32 SlotNo, INT32 *ForwardOverlap, INT32 *BackwardOverlap, OILChildBar **ppPrevious, OILChildBar **ppNext)

Private Attributes

INT32 NoOfSlots
INT32 SlotSize [8]
UINT32 MaxPos
wxSize DockSize
wxPoint Position

Static Private Attributes

static BOOL allowTidyBars = TRUE

Detailed Description

Definition at line 265 of file dockbar.h.


Constructor & Destructor Documentation

OILFixedDockingBar::OILFixedDockingBar  ) 
 


Member Function Documentation

static void OILFixedDockingBar::AllowTidyBars  )  [inline, static]
 

Definition at line 313 of file dockbar.h.

00313 { allowTidyBars = TRUE; }

void OILFixedDockingBar::AppendToSlot INT32  SlotNo,
wxPoint *  here
 

void OILFixedDockingBar::BarPosToClient KernelBarPos  Pos,
wxPoint *  Point
 

void OILFixedDockingBar::BarPosToScreen KernelBarPos  Pos,
wxPoint *  Point
 

BOOL OILFixedDockingBar::CanShuffleBackward OILChildBar *  Start,
OILChildBar *  End,
INT32  amount
[private]
 

BOOL OILFixedDockingBar::CanShuffleForward OILChildBar *  Start,
OILChildBar *  End,
INT32  amount
[private]
 

void OILFixedDockingBar::CheckAndCorrectOverlap  ) 
 

INT32 OILFixedDockingBar::CountSlots  )  [private]
 

BOOL OILFixedDockingBar::Create wxWindow *  pParentWnd,
DockBarType  ReqType,
UINT32  id = 0
 

BOOL OILFixedDockingBar::DeleteBars  )  [virtual]
 

Implements OILDockingBar.

static void OILFixedDockingBar::DoNotTidyBars  )  [inline, static]
 

Definition at line 312 of file dockbar.h.

00312 { allowTidyBars = FALSE; }

virtual void OILFixedDockingBar::DoPaint wxDC *  pDC  )  [protected, virtual]
 

BOOL OILFixedDockingBar::DoShuffleBackward OILChildBar *  Start,
OILChildBar *  End,
INT32  amount
[private]
 

BOOL OILFixedDockingBar::DoShuffleForward OILChildBar *  Start,
OILChildBar *  End,
INT32  amount
[private]
 

wxSize OILFixedDockingBar::GetBarSize  )  [inline, virtual]
 

Implements OILDockingBar.

Definition at line 302 of file dockbar.h.

00302 { return (DockSize); }

void OILFixedDockingBar::GetDockScreenRect wxRect *  BarRect  ) 
 

BOOL OILFixedDockingBar::GetGalleryOverLap OILChildBar *  ThisBar,
INT32  SlotNo,
INT32 *  ForwardOverlap,
INT32 *  BackwardOverlap,
OILChildBar **  ppPrevious,
OILChildBar **  ppNext
[private]
 

INT32 OILFixedDockingBar::GetIntersectPercent OILChildBar *  ThisBar  )  [private]
 

OILChildBar* OILFixedDockingBar::GetOverLap OILChildBar *  ThisBar,
INT32  SlotNo,
INT32 *  ForwardOverlap,
INT32 *  BackwardOverlap
[private]
 

OILChildBar* OILFixedDockingBar::GetSlotHead INT32  SlotNo  )  [private]
 

BOOL OILFixedDockingBar::InsertBarInList OILChildBar *  ThisBar  )  [private]
 

void OILFixedDockingBar::InsertSlot INT32  SlotNo,
INT32  NewSize = -1
[private]
 

OILChildBar* OILFixedDockingBar::IsPointInBar wxPoint  ThisPoint  )  [private]
 

BOOL OILFixedDockingBar::IsScreenPointInDock wxPoint  here  ) 
 

BOOL OILFixedDockingBar::IsScreenRectInDock wxRect  BarRect  ) 
 

BOOL OILFixedDockingBar::PlaceBar wxWindow *  hdialogbar,
KernelBarPos  BarPos,
wxSize  size = wxSize(0, 0)
[virtual]
 

Implements OILDockingBar.

BOOL OILFixedDockingBar::PlaceBar wxWindow *  hdialogbar,
wxPoint  here,
wxSize  size = wxSize(0, 0)
[virtual]
 

Implements OILDockingBar.

BOOL OILFixedDockingBar::PlaceBarAt wxWindow *  hdialogbar,
KernelBarPos  BarPos
 

BOOL OILFixedDockingBar::PlaceBarInSlot OILChildBar *  ThisBar,
INT32  Slot
[private]
 

BOOL OILFixedDockingBar::PlaceGalleryInSlot OILChildBar *  ThisBar,
INT32  Slot
[private]
 

INT32 OILFixedDockingBar::PointToPosition wxPoint *  ThisPoint  ) 
 

INT32 OILFixedDockingBar::PointToSlot wxPoint *  ThisPoint  ) 
 

void OILFixedDockingBar::PositionBar OILChildBar *  ThisBar  )  [private]
 

void OILFixedDockingBar::PutInSlot wxPoint *  position,
INT32  Size
[private]
 

BOOL OILFixedDockingBar::ReleaseBar wxWindow *  hdialog,
BOOL  DoTidy
[virtual]
 

Implements OILDockingBar.

void OILFixedDockingBar::RemoveSlot INT32  SlotNo  )  [private]
 

void OILFixedDockingBar::RepositionWindow AFX_SIZEPARENTPARAMS FAR *  lpLayout,
wxWindow *wxWindow *  ,
LPCRECT  lpRect
 

void OILFixedDockingBar::SetBigControlState BOOL  Big  )  [virtual]
 

Reimplemented from OILDockingBar.

void OILFixedDockingBar::SetSize wxRect  LayoutRect,
wxRect *  rect
[private]
 

BOOL OILFixedDockingBar::SetSlotSize INT32  SlotNo,
INT32  NewSize
 

BOOL OILFixedDockingBar::ShiftBarPos wxPoint *  position,
INT32  amount
[private]
 

BOOL OILFixedDockingBar::ShiftBarSlot wxPoint *  position,
INT32  NoSlots
[private]
 

void OILFixedDockingBar::TidySlots  ) 
 

INT32 OILFixedDockingBar::TotalSlotSizes INT32  Slot = -1  )  [private]
 


Member Data Documentation

BOOL OILFixedDockingBar::allowTidyBars = TRUE [static, private]
 

Definition at line 282 of file dockbar.h.

wxBrush OILFixedDockingBar::BackBrush [protected]
 

Definition at line 325 of file dockbar.h.

wxSize OILFixedDockingBar::DockSize [private]
 

Definition at line 279 of file dockbar.h.

UINT32 OILFixedDockingBar::MaxPos [private]
 

Definition at line 278 of file dockbar.h.

INT32 OILFixedDockingBar::NoOfSlots [private]
 

Definition at line 276 of file dockbar.h.

wxPoint OILFixedDockingBar::Position [private]
 

Definition at line 280 of file dockbar.h.

INT32 OILFixedDockingBar::SlotSize[8] [private]
 

Definition at line 277 of file dockbar.h.


The documentation for this class was generated from the following files:
Generated on Sat Nov 10 03:57:20 2007 for Camelot by  doxygen 1.4.4