

Public Member Functions | |
| TopWindow (intf_thread_t *pIntf, int xPos, int yPos, WindowManager &rWindowManager, bool dragDrop, bool playOnDrop, bool visible) | |
| virtual | ~TopWindow () |
| virtual void | processEvent (EvtFocus &rEvtFocus) |
| Methods to process OS events. | |
| virtual void | processEvent (EvtMenu &rEvtMenu) |
| virtual void | processEvent (EvtMotion &rEvtMotion) |
| virtual void | processEvent (EvtMouse &rEvtMouse) |
| virtual void | processEvent (EvtLeave &rEvtLeave) |
| virtual void | processEvent (EvtKey &rEvtKey) |
| virtual void | processEvent (EvtScroll &rEvtScroll) |
| virtual void | forwardEvent (EvtGeneric &rEvt, CtrlGeneric &rCtrl) |
| Forward an event to a control. | |
| virtual void | refresh (int left, int top, int width, int height) |
| Refresh an area of the window. | |
| virtual const GenericLayout & | getActiveLayout () const |
| Get the active layout. | |
| virtual void | updateShape () |
| Update the shape of the window from the active layout. | |
| virtual void | onControlCapture (const CtrlGeneric &rCtrl) |
| Called by a control that wants to capture the mouse. | |
| virtual void | onControlRelease (const CtrlGeneric &rCtrl) |
| Called by a control that wants to release the mouse. | |
| virtual void | onTooltipChange (const CtrlGeneric &rCtrl) |
| Called by a control when its tooltip changed. | |
| VarBool & | getMaximizedVar () |
| Get the "maximized" variable. | |
| bool | isVisible () const |
| Get the initial visibility status. | |
Protected Member Functions | |
| virtual void | innerShow () |
| Actually show the window. | |
| virtual void | innerHide () |
| Actually hide the window. | |
Friends | |
| class | WindowManager |
| TopWindow::TopWindow | ( | intf_thread_t * | pIntf, | |
| int | xPos, | |||
| int | yPos, | |||
| WindowManager & | rWindowManager, | |||
| bool | dragDrop, | |||
| bool | playOnDrop, | |||
| bool | visible | |||
| ) |
References VarManager::instance(), VarManager::registerVar(), and WindowManager::registerWindow().
| TopWindow::~TopWindow | ( | ) | [virtual] |
References WindowManager::unregisterWindow().
| void TopWindow::processEvent | ( | EvtFocus & | rEvtFocus | ) | [virtual] |
| void TopWindow::processEvent | ( | EvtMenu & | rEvtMenu | ) | [virtual] |
Reimplemented from GenericWindow.
References WindowManager::getActivePopup(), SkinObject::getIntf(), Popup::handleEvent(), and msg_Warn.
| void TopWindow::processEvent | ( | EvtMotion & | rEvtMotion | ) | [virtual] |
Update the help text
Reimplemented from GenericWindow.
References CtrlGeneric::getHelpText(), VarManager::getHelpText(), SkinObject::getIntf(), GenericWindow::getLeft(), GenericWindow::getTop(), EvtMotion::getXPos(), EvtMotion::getYPos(), CtrlGeneric::handleEvent(), VarManager::instance(), and VarText::set().
| void TopWindow::processEvent | ( | EvtMouse & | rEvtMouse | ) | [virtual] |
Reimplemented from GenericWindow.
References EvtMouse::getAction(), SkinObject::getIntf(), EvtMouse::getXPos(), EvtMouse::getYPos(), CtrlGeneric::handleEvent(), CtrlGeneric::isFocusable(), EvtMouse::kDown, and WindowManager::raise().
| void TopWindow::processEvent | ( | EvtLeave & | rEvtLeave | ) | [virtual] |
| void TopWindow::processEvent | ( | EvtKey & | rEvtKey | ) | [virtual] |
Reimplemented from GenericWindow.
References CmdOnTop::execute(), CmdDlgChangeSkin::execute(), SkinObject::getIntf(), EvtKey::getKey(), EvtKey::getKeyState(), EvtInput::getMod(), EvtKey::getModKey(), CtrlGeneric::handleEvent(), EvtKey::kDown, EvtInput::kModCtrl, and var_SetInteger.
| void TopWindow::processEvent | ( | EvtScroll & | rEvtScroll | ) | [virtual] |
Reimplemented from GenericWindow.
References EvtScroll::getDirection(), SkinObject::getIntf(), EvtScroll::getXPos(), EvtScroll::getYPos(), CtrlGeneric::handleEvent(), i, KEY_MOUSEWHEELDOWN, KEY_MOUSEWHEELUP, EvtScroll::kUp, and var_SetInteger.
| void TopWindow::forwardEvent | ( | EvtGeneric & | rEvt, | |
| CtrlGeneric & | rCtrl | |||
| ) | [virtual] |
Forward an event to a control.
References CtrlGeneric::handleEvent().
Referenced by CtrlSliderBg::handleEvent().
| void TopWindow::refresh | ( | int | left, | |
| int | top, | |||
| int | width, | |||
| int | height | |||
| ) | [virtual] |
Refresh an area of the window.
Reimplemented from GenericWindow.
References OSGraphics::copyToWindow(), GenericLayout::getImage(), and GenericWindow::getOSWindow().
Referenced by GenericLayout::refreshRect().
| const GenericLayout & TopWindow::getActiveLayout | ( | ) | const [virtual] |
Get the active layout.
Referenced by WindowManager::maximize(), Theme::saveConfig(), and WindowManager::unmaximize().
| void TopWindow::updateShape | ( | ) | [virtual] |
Update the shape of the window from the active layout.
References OSGraphics::applyMaskToWindow(), GenericLayout::getImage(), and GenericWindow::getOSWindow().
Referenced by GenericLayout::refreshRect().
| void TopWindow::onControlCapture | ( | const CtrlGeneric & | rCtrl | ) | [virtual] |
Called by a control that wants to capture the mouse.
Referenced by GenericLayout::onControlCapture().
| void TopWindow::onControlRelease | ( | const CtrlGeneric & | rCtrl | ) | [virtual] |
Called by a control that wants to release the mouse.
References SkinObject::getIntf(), VarManager::getTooltipText(), CtrlGeneric::getTooltipText(), CtrlGeneric::handleEvent(), WindowManager::hideTooltip(), VarManager::instance(), UString::length(), msg_Dbg, VarText::set(), and WindowManager::showTooltip().
Referenced by GenericLayout::onControlRelease().
| void TopWindow::onTooltipChange | ( | const CtrlGeneric & | rCtrl | ) | [virtual] |
Called by a control when its tooltip changed.
References SkinObject::getIntf(), VarManager::getTooltipText(), CtrlGeneric::getTooltipText(), WindowManager::hideTooltip(), VarManager::instance(), VarText::set(), WindowManager::showTooltip(), and UString::size().
Referenced by CtrlGeneric::notifyTooltipChange().
| VarBool& TopWindow::getMaximizedVar | ( | ) | [inline] |
| bool TopWindow::isVisible | ( | ) | const [inline] |
Get the initial visibility status.
| void TopWindow::innerShow | ( | ) | [protected, virtual] |
Actually show the window.
Reimplemented from GenericWindow.
References GenericWindow::getLeft(), GenericWindow::getTop(), GenericWindow::innerShow(), GenericWindow::move(), and GenericLayout::onShow().
| void TopWindow::innerHide | ( | ) | [protected, virtual] |
Actually hide the window.
Reimplemented from GenericWindow.
References GenericWindow::innerHide(), and GenericLayout::onHide().
friend class WindowManager [friend] |
Reimplemented from GenericWindow.
1.5.6