Public Member Functions | |
| PopupMenuView (Window *pParent, const Rect &rFrame, Menu *pMenu) | |
| ~PopupMenuView () | |
| virtual void | Paint (const Rect &rDirty) |
| virtual void | Sized (const Point &pDelta) |
| virtual void | MouseDown (const InputEvent &nInputEvent) |
| virtual void | MouseUp (const InputEvent &nInputEvent) |
| virtual void | MouseMove (const InputEvent &nInputEvent) |
| virtual void | KeyDown (const InputEvent &nInputEvent) |
| virtual void | ReLayout () |
| virtual Point | GetSizeHint (enumSizeHint nSizeHint) |
| virtual bool | Close (int iID, bool bCloseChildren=true, bool bCloseParent=false, bool bCloseActive=true) |
| virtual Menu * | GetMenu () |
| void | ChildClosed (MenuWindow *pMenuWindow) |
| void | SetParentPopup (MenuWindow *pParent) |
| bool | WindowDeactivated () |
| bool | PopupActive () |
| MenuItem * | GetSelectedItem () |
| PopupMenuView::~PopupMenuView | ( | ) |
| void PopupMenuView::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.
| void PopupMenuView::Sized | ( | const Point & | pDelta | ) | [virtual] |
Called when window is resized
| pDelta | - Size the window was resized |
Reimplemented from SkyGI::Window.
| void PopupMenuView::MouseDown | ( | const InputEvent & | nInputEvent | ) | [virtual] |
Mouse pressed
| nButton | - MouseButton which was pressed | |
| nMouseButtonMask | - Mask showing which mouse buttons were pressed when the mouse press occured | |
| nInputEvent | - INPUT_EVENT_MOUSE_PRESS for a single and INPUTE_EVENT_MOUSE_DOUBLECLICK for a doubleclick |
Reimplemented from SkyGI::Window.
| void PopupMenuView::MouseUp | ( | const InputEvent & | nInputEvent | ) | [virtual] |
Mouse release
| nButton | - MouseButton which was released | |
| nMouseButtonMask | - Mask showing which additional mouse buttons were pressed when the mouse release occured | |
| nInputEvent | - INPUT_EVENT_MOUSE_RELEASE |
Reimplemented from SkyGI::Window.
| void PopupMenuView::MouseMove | ( | const InputEvent & | nInputEvent | ) | [virtual] |
Mouse move
| pNewPosition | - Current mouse cursor position | |
| pOldPosition | - Old mouse cursor position | |
| nMouseButtonMask | - Mask showing which mouse buttons were pressed when the mouse move occured |
Reimplemented from SkyGI::Window.
| void PopupMenuView::KeyDown | ( | const InputEvent & | nInputEvent | ) | [virtual] |
Reimplemented from SkyGI::Window.
| void PopupMenuView::ReLayout | ( | ) | [virtual] |
| Point PopupMenuView::GetSizeHint | ( | enumSizeHint | nSizeHint | ) | [virtual] |
Get size hint
Reimplemented from SkyGI::Window.
| bool PopupMenuView::Close | ( | int | iID, | |
| bool | bCloseChildren = true, |
|||
| bool | bCloseParent = false, |
|||
| bool | bCloseActive = true | |||
| ) | [virtual] |
| virtual Menu* SkyGI::PopupMenuView::GetMenu | ( | ) | [inline, virtual] |
| void PopupMenuView::ChildClosed | ( | MenuWindow * | pMenuWindow | ) |
| void PopupMenuView::SetParentPopup | ( | MenuWindow * | pParent | ) |
| bool PopupMenuView::WindowDeactivated | ( | ) |
| bool PopupMenuView::PopupActive | ( | ) |
| MenuItem * PopupMenuView::GetSelectedItem | ( | ) |
1.5.1-p1