Public Member Functions | |
| MenuBar (Window *pParent, const Rect &rFrame, unsigned int nWindowLayoutFlags, unsigned int uiFlags=0) | |
| void | MouseDown (const InputEvent &nInputEvent) |
| void | MouseUp (const InputEvent &nInputEvent) |
| void | MouseMove (const InputEvent &nInputEvent) |
| void | MouseEnter (const InputEvent &nInputEvent) |
| void | MouseLeave (const InputEvent &nInputEvent) |
| void | Attached () |
| void | Paint (const Rect &rDirty) |
| Point | GetSizeHint (enumSizeHint nSizeHint) |
| void | SetMenu (Menu *pMenu) |
| void | Sized (const Point &pDelta) |
| bool | Close (int iID, bool bCloseChildren=true, bool bCloseParent=false, bool bCloseActive=true) |
| void | ChildClosed (MenuWindow *pWindow) |
| bool | WindowDeactivated () |
| MenuItem * | GetSelectedItem () |
| MenuBar::MenuBar | ( | Window * | pParent, | |
| const Rect & | rFrame, | |||
| unsigned int | nWindowLayoutFlags, | |||
| unsigned int | uiFlags = 0 | |||
| ) |
| void MenuBar::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 MenuBar::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 MenuBar::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 MenuBar::MouseEnter | ( | const InputEvent & | nInputEvent | ) | [virtual] |
Mouse enter
| pPosEnter | - Position the mouse cursor entered the window | |
| nMouseButtonMask | - Mask showing which mouse buttons were pressed when the mouse enter occured |
Reimplemented from SkyGI::Window.
| void MenuBar::MouseLeave | ( | const InputEvent & | nInputEvent | ) | [virtual] |
Mouse leave
| pPosLeave | - Position the mouse cursor leaved the window at | |
| nMouseButtonMask | - Mask showing which mouse buttons were pressed when the mouse leave occured |
Reimplemented from SkyGI::Window.
| void SkyGI::MenuBar::Attached | ( | ) |
| void MenuBar::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::Window.
| Point MenuBar::GetSizeHint | ( | enumSizeHint | nSizeHint | ) | [virtual] |
Get size hint
Reimplemented from SkyGI::Window.
| void MenuBar::SetMenu | ( | Menu * | pMenu | ) |
| void MenuBar::Sized | ( | const Point & | pDelta | ) | [virtual] |
Called when window is resized
| pDelta | - Size the window was resized |
Reimplemented from SkyGI::Window.
| bool MenuBar::Close | ( | int | iID, | |
| bool | bCloseChildren = true, |
|||
| bool | bCloseParent = false, |
|||
| bool | bCloseActive = true | |||
| ) | [virtual] |
Reimplemented from SkyGI::MenuWindow.
| void MenuBar::ChildClosed | ( | MenuWindow * | pWindow | ) | [virtual] |
Reimplemented from SkyGI::MenuWindow.
| bool MenuBar::WindowDeactivated | ( | ) | [virtual] |
Reimplemented from SkyGI::MenuWindow.
| MenuItem * MenuBar::GetSelectedItem | ( | ) | [virtual] |
Implements SkyGI::MenuWindow.
1.5.1-p1