Public Member Functions | |
| LayoutView (Window *pParent, const Rect &rFrame, unsigned int nWindowLayoutFlags) | |
| ~LayoutView () | |
| void | Paint (const Rect &rDirty) |
| virtual LayoutViewNode * | Add (Window *pChild, int iWeight, unsigned int uiLayoutViewFlags) |
| virtual LayoutViewNode * | AddRatio (Window *pChild, float fRatio, unsigned int uiLayoutViewFlags) |
| virtual LayoutViewNode * | AddSpace (int iSpace, int iWeight) |
| virtual void | Remove (Window *pChild) |
| virtual void | Remove (LayoutViewNode *pNode) |
| virtual void | Sized (const Point &cDelta) |
| virtual void | ReLayout (const Point &cDelta=Point(0, 0)) |
| virtual int | GetMaxSize () |
| virtual Point | GetNodeSize (LayoutViewNode *pNode) |
| virtual int | ComputeSize (LayoutViewNode *pNode, int iMaxSize) |
| virtual LayoutViewNode * | GetByWindow (Window *pWindow) |
| virtual LayoutViewNode * | Find (Window *pChild) |
| virtual LayoutViewNode * | Get (int iIndex) |
| virtual int | Count () |
| virtual void | SameSize (LayoutViewSize nSize, int iMinumumSize=0, int iMaximumSize=INT_MAX)=0 |
| virtual void | SameSize (int iPixels)=0 |
Protected Attributes | |
| Private * | m |
Classes | |
| class | Private |
| LayoutView::~LayoutView | ( | ) |
| void LayoutView::Paint | ( | const Rect & | rDirty | ) | [virtual] |
Paint window content
| rDirty | - Dirty rectangular region which has to be redrawn. Prior entering this function the painters clip region is automatically set to this dirty region. |
Reimplemented from SkyGI::View.
Reimplemented in SkyGI::FindBar, SkyGI::InfoPanelNode, and SkyGI::StatusLayoutView.
| LayoutViewNode * LayoutView::Add | ( | Window * | pChild, | |
| int | iWeight, | |||
| unsigned int | uiLayoutViewFlags | |||
| ) | [virtual] |
| LayoutViewNode * LayoutView::AddRatio | ( | Window * | pChild, | |
| float | fRatio, | |||
| unsigned int | uiLayoutViewFlags | |||
| ) | [virtual] |
| LayoutViewNode * LayoutView::AddSpace | ( | int | iSpace, | |
| int | iWeight | |||
| ) | [virtual] |
| void LayoutView::Remove | ( | Window * | pChild | ) | [virtual] |
| void LayoutView::Remove | ( | LayoutViewNode * | pNode | ) | [virtual] |
| void LayoutView::Sized | ( | const Point & | cDelta | ) | [virtual] |
Called when window is resized
| pDelta | - Size the window was resized |
Reimplemented from SkyGI::Window.
Reimplemented in SkyGI::InfoPanel.
Reimplemented in SkyGI::LayoutViewHorizontal, and SkyGI::LayoutViewVertical.
| int LayoutView::GetMaxSize | ( | ) | [virtual] |
Reimplemented in SkyGI::LayoutViewHorizontal, and SkyGI::LayoutViewVertical.
| Point LayoutView::GetNodeSize | ( | LayoutViewNode * | pNode | ) | [virtual] |
Reimplemented in SkyGI::LayoutViewHorizontal, and SkyGI::LayoutViewVertical.
| int LayoutView::ComputeSize | ( | LayoutViewNode * | pNode, | |
| int | iMaxSize | |||
| ) | [virtual] |
Reimplemented in SkyGI::LayoutViewHorizontal, and SkyGI::LayoutViewVertical.
| LayoutViewNode * LayoutView::GetByWindow | ( | Window * | pWindow | ) | [virtual] |
| LayoutViewNode * LayoutView::Find | ( | Window * | pChild | ) | [virtual] |
| LayoutViewNode * LayoutView::Get | ( | int | iIndex | ) | [virtual] |
| int LayoutView::Count | ( | ) | [virtual] |
| virtual void SkyGI::LayoutView::SameSize | ( | LayoutViewSize | nSize, | |
| int | iMinumumSize = 0, |
|||
| int | iMaximumSize = INT_MAX | |||
| ) | [pure virtual] |
Implemented in SkyGI::LayoutViewHorizontal, and SkyGI::LayoutViewVertical.
| virtual void SkyGI::LayoutView::SameSize | ( | int | iPixels | ) | [pure virtual] |
Implemented in SkyGI::LayoutViewHorizontal, and SkyGI::LayoutViewVertical.
Private* SkyGI::LayoutView::m [protected] |
1.5.1-p1