CtrlVideo Class Reference

Control video. More...

Inheritance diagram for CtrlVideo:

Inheritance graph
[legend]
Collaboration diagram for CtrlVideo:

Collaboration graph
[legend]

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 TopWindowgetWindow ()
virtual VoutWindowgetVoutWindow ()
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 ()

Detailed Description

Control video.

Constructor & Destructor Documentation

CtrlVideo::CtrlVideo ( intf_thread_t pIntf,
GenericLayout rLayout,
bool  autoResize,
const UString rHelp,
VarBool pVisible 
)

CtrlVideo::~CtrlVideo (  )  [virtual]


Member Function Documentation

void CtrlVideo::handleEvent ( EvtGeneric rEvent  )  [virtual]

Handle an event on the control.

Reimplemented from CtrlGeneric.

bool CtrlVideo::mouseOver ( int  x,
int  y 
) const [virtual]

Check whether coordinates are inside the control.

Reimplemented from CtrlGeneric.

void CtrlVideo::onResize (  )  [virtual]

void CtrlVideo::onPositionChange (  )  [virtual]

void CtrlVideo::draw ( OSGraphics rImage,
int  xDest,
int  yDest 
) [virtual]

virtual string CtrlVideo::getType (  )  const [inline, virtual]

Get the type of control (custom RTTI).

Reimplemented from CtrlGeneric.

void CtrlVideo::onUpdate ( Subject< VarBool > &  rVariable,
void *  arg 
) [virtual]

void CtrlVideo::attachVoutWindow ( VoutWindow pVoutWindow,
int  width = -1,
int  height = -1 
)

void CtrlVideo::detachVoutWindow (  ) 

virtual TopWindow* CtrlVideo::getWindow (  )  [inline, virtual]

virtual VoutWindow* CtrlVideo::getVoutWindow (  )  [inline, virtual]

void CtrlVideo::setLayout ( GenericLayout pLayout,
const Position rPosition 
) [virtual]

void CtrlVideo::unsetLayout (  )  [virtual]

void CtrlVideo::resizeControl ( int  width,
int  height 
) [virtual]

virtual bool CtrlVideo::isUseable (  )  [inline, virtual]

virtual bool CtrlVideo::isUsed (  )  [inline, virtual]

Referenced by onUpdate().


The documentation for this class was generated from the following files:

Generated on Tue May 25 08:05:55 2010 for VLC by  doxygen 1.5.6