CtrlResize Class Reference

Control decorator for resizing windows. More...

Inheritance diagram for CtrlResize:

Inheritance graph
[legend]
Collaboration diagram for CtrlResize:

Collaboration graph
[legend]

Public Member Functions

 CtrlResize (intf_thread_t *pIntf, WindowManager &rWindowManager, CtrlFlat &rCtrl, GenericLayout &rLayout, const UString &rHelp, VarBool *pVisible, WindowManager::Direction_t direction)
virtual ~CtrlResize ()
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 CmdOutStill
class CmdStillOut
class CmdStillStill
class CmdStillResize
class CmdResizeStill
class CmdResizeResize

Data Structures

class  CmdOutStill
 Callback objects.
class  CmdResizeResize
class  CmdResizeStill
class  CmdStillOut
class  CmdStillResize
class  CmdStillStill

Detailed Description

Control decorator for resizing windows.

Constructor & Destructor Documentation

CtrlResize::CtrlResize ( intf_thread_t pIntf,
WindowManager rWindowManager,
CtrlFlat rCtrl,
GenericLayout rLayout,
const UString rHelp,
VarBool pVisible,
WindowManager::Direction_t  direction 
)

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


Member Function Documentation

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

Handle an event.

Reimplemented from CtrlGeneric.

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

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

Check whether coordinates are inside the decorated control.

Reimplemented from CtrlGeneric.

References CtrlGeneric::mouseOver().

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

Draw the control on the given graphics.

Reimplemented from CtrlGeneric.

References CtrlGeneric::draw().

void CtrlResize::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 CtrlResize::unsetLayout (  )  [virtual]

Reimplemented from CtrlGeneric.

References CtrlGeneric::unsetLayout().

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

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

Reimplemented from CtrlGeneric.

References CtrlGeneric::getPosition().

void CtrlResize::onResize (  )  [virtual]

Method called when the control is resized.

Reimplemented from CtrlGeneric.

References CtrlGeneric::onResize().

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

Get the type of control (custom RTTI).

Reimplemented from CtrlGeneric.

References CtrlGeneric::getType().


Friends And Related Function Documentation

friend class CmdOutStill [friend]

friend class CmdStillOut [friend]

friend class CmdStillStill [friend]

friend class CmdStillResize [friend]

friend class CmdResizeStill [friend]

friend class CmdResizeResize [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