CtrlMove Class Reference

Control for moving windows. More...

Inheritance diagram for CtrlMove:

Inheritance graph
[legend]
Collaboration diagram for CtrlMove:

Collaboration graph
[legend]

Public Member Functions

 CtrlMove (intf_thread_t *pIntf, WindowManager &rWindowManager, CtrlFlat &rCtrl, TopWindow &rWindow, const UString &rHelp, VarBool *pVisible)
virtual ~CtrlMove ()
virtual void handleEvent (EvtGeneric &rEvent)
 Handle an event.
virtual bool mouseOver (int x, int y) const
 Check whether coordinates are inside the decorated control.
virtual void draw (OSGraphics &rImage, int xDest, int yDest)
 Draw the control on the given graphics.
virtual void setLayout (GenericLayout *pLayout, const Position &rPosition)
 Set the position and the associated layout of the decorated control.
virtual void unsetLayout ()
virtual const PositiongetPosition () const
 Get the position of the decorated control in the layout, if any.
virtual void onResize ()
 Method called when the control is resized.
virtual string getType () const
 Get the type of control (custom RTTI).

Friends

class CmdMovingMoving
class CmdStillMoving
class CmdMovingStill

Data Structures

class  CmdMovingMoving
 Callback objects.
class  CmdMovingStill
class  CmdStillMoving

Detailed Description

Control for moving windows.

Constructor & Destructor Documentation

CtrlMove::CtrlMove ( intf_thread_t pIntf,
WindowManager rWindowManager,
CtrlFlat rCtrl,
TopWindow rWindow,
const UString rHelp,
VarBool pVisible 
)

virtual CtrlMove::~CtrlMove (  )  [inline, virtual]


Member Function Documentation

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

Handle an event.

Reimplemented from CtrlGeneric.

References EvtGeneric::getAsString(), CtrlGeneric::handleEvent(), and FSM::handleTransition().

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

Check whether coordinates are inside the decorated control.

Reimplemented from CtrlGeneric.

References CtrlGeneric::mouseOver().

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

Draw the control on the given graphics.

Reimplemented from CtrlGeneric.

References CtrlGeneric::draw().

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

Set the position and the associated layout of the decorated control.

Reimplemented from CtrlGeneric.

References CtrlGeneric::setLayout().

void CtrlMove::unsetLayout (  )  [virtual]

Reimplemented from CtrlGeneric.

References CtrlGeneric::unsetLayout().

const Position * CtrlMove::getPosition (  )  const [virtual]

Get the position of the decorated control in the layout, if any.

Reimplemented from CtrlGeneric.

References CtrlGeneric::getPosition().

void CtrlMove::onResize (  )  [virtual]

Method called when the control is resized.

Reimplemented from CtrlGeneric.

References CtrlGeneric::onResize().

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

Get the type of control (custom RTTI).

Reimplemented from CtrlGeneric.

References CtrlGeneric::getType().


Friends And Related Function Documentation

friend class CmdMovingMoving [friend]

friend class CmdStillMoving [friend]

friend class CmdMovingStill [friend]


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

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