

Public Member Functions | |
| CtrlVideo (intf_thread_t *pIntf, GenericLayout &rLayout, bool autoResize, const UString &rHelp, VarBool *pVisible) | |
| virtual | ~CtrlVideo () |
| virtual void | handleEvent (EvtGeneric &rEvent) |
| Handle an event on the control. | |
| virtual bool | mouseOver (int x, int y) const |
| Check whether coordinates are inside the control. | |
| virtual void | onResize () |
| Callback for layout resize. | |
| virtual void | onPositionChange () |
| Called when the Position is set. | |
| virtual void | draw (OSGraphics &rImage, int xDest, int yDest) |
| Draw the control on the given graphics. | |
| virtual string | getType () const |
| Get the type of control (custom RTTI). | |
| virtual void | onUpdate (Subject< VarBool > &rVariable, void *) |
| Method called when visibility or ActiveLayout is updated. | |
| void | attachVoutWindow (VoutWindow *pVoutWindow, int width=-1, int height=-1) |
| void | detachVoutWindow () |
| virtual TopWindow * | getWindow () |
| virtual VoutWindow * | getVoutWindow () |
| virtual void | setLayout (GenericLayout *pLayout, const Position &rPosition) |
| Set the position and the associated layout of the control. | |
| virtual void | unsetLayout () |
| virtual void | resizeControl (int width, int height) |
| virtual bool | isUseable () |
| virtual bool | isUsed () |
| CtrlVideo::CtrlVideo | ( | intf_thread_t * | pIntf, | |
| GenericLayout & | rLayout, | |||
| bool | autoResize, | |||
| const UString & | rHelp, | |||
| VarBool * | pVisible | |||
| ) |
| CtrlVideo::~CtrlVideo | ( | ) | [virtual] |
| void CtrlVideo::handleEvent | ( | EvtGeneric & | rEvent | ) | [virtual] |
| bool CtrlVideo::mouseOver | ( | int | x, | |
| int | y | |||
| ) | const [virtual] |
| void CtrlVideo::onResize | ( | ) | [virtual] |
Callback for layout resize.
Reimplemented from CtrlGeneric.
References Position::getHeight(), Position::getLeft(), CtrlGeneric::getPosition(), Position::getTop(), Position::getWidth(), GenericWindow::move(), and GenericWindow::resize().
| void CtrlVideo::onPositionChange | ( | ) | [virtual] |
Called when the Position is set.
Reimplemented from CtrlGeneric.
References Position::getHeight(), GenericLayout::getHeight(), CtrlGeneric::getPosition(), Position::getWidth(), and GenericLayout::getWidth().
| void CtrlVideo::draw | ( | OSGraphics & | rImage, | |
| int | xDest, | |||
| int | yDest | |||
| ) | [virtual] |
Draw the control on the given graphics.
Reimplemented from CtrlGeneric.
References OSGraphics::fillRect(), Position::getHeight(), Position::getLeft(), CtrlGeneric::getPosition(), Position::getTop(), and Position::getWidth().
| virtual string CtrlVideo::getType | ( | ) | const [inline, virtual] |
Method called when visibility or ActiveLayout is updated.
Reimplemented from CtrlGeneric.
References VoutManager::discardVout(), VarBool::get(), VarBoolImpl::get(), GenericLayout::getActiveVar(), VlcProc::getFullscreenVar(), SkinObject::getIntf(), VoutManager::instance(), VlcProc::instance(), isUsed(), CtrlGeneric::isVisible(), CtrlGeneric::m_pLayout, CtrlGeneric::m_pVisible, msg_Dbg, CtrlGeneric::notifyLayout(), and VoutManager::requestVout().
| void CtrlVideo::attachVoutWindow | ( | VoutWindow * | pVoutWindow, | |
| int | width = -1, |
|||
| int | height = -1 | |||
| ) |
References SkinObject::getIntf(), VoutWindow::getOriginalHeight(), VoutWindow::getOriginalWidth(), getWindow(), Theme::getWindowManager(), WindowManager::kResizeSE, intf_thread_t::p_sys, intf_sys_t::p_theme, WindowManager::resize(), VoutWindow::setCtrlVideo(), WindowManager::show(), WindowManager::startResize(), and WindowManager::stopResize().
Referenced by VoutManager::acceptWnd(), VoutManager::requestVout(), and VoutManager::restoreVoutConfig().
| void CtrlVideo::detachVoutWindow | ( | ) |
References VoutWindow::setCtrlVideo().
| virtual TopWindow* CtrlVideo::getWindow | ( | ) | [inline, virtual] |
References CtrlGeneric::getWindow().
Referenced by attachVoutWindow(), and VoutWindow::setCtrlVideo().
| virtual VoutWindow* CtrlVideo::getVoutWindow | ( | ) | [inline, virtual] |
| void CtrlVideo::setLayout | ( | GenericLayout * | pLayout, | |
| const Position & | rPosition | |||
| ) | [virtual] |
Set the position and the associated layout of the control.
Reimplemented from CtrlGeneric.
References Subject< S, ARG >::addObserver(), VarBoolImpl::get(), GenericLayout::getActiveVar(), SkinObject::getIntf(), VoutManager::instance(), CtrlGeneric::isVisible(), CtrlGeneric::m_pLayout, msg_Dbg, VoutManager::registerCtrlVideo(), and CtrlGeneric::setLayout().
| void CtrlVideo::unsetLayout | ( | ) | [virtual] |
Reimplemented from CtrlGeneric.
References Subject< S, ARG >::delObserver(), GenericLayout::getActiveVar(), CtrlGeneric::m_pLayout, and CtrlGeneric::unsetLayout().
| void CtrlVideo::resizeControl | ( | int | width, | |
| int | height | |||
| ) | [virtual] |
References Position::getHeight(), SkinObject::getIntf(), Position::getLeft(), CtrlGeneric::getPosition(), Position::getTop(), Position::getWidth(), Theme::getWindowManager(), WindowManager::kResizeSE, GenericWindow::move(), intf_thread_t::p_sys, intf_sys_t::p_theme, GenericWindow::resize(), WindowManager::resize(), WindowManager::startResize(), and WindowManager::stopResize().
Referenced by VoutManager::setSizeWnd().
| virtual bool CtrlVideo::isUseable | ( | ) | [inline, virtual] |
| virtual bool CtrlVideo::isUsed | ( | ) | [inline, virtual] |
Referenced by onUpdate().
1.5.6