XGP::AnimatedWindow Class Reference

Class animating objects. More...

List of all members.

Public Member Functions

virtual ~AnimatedWindow ()
void animate ()
virtual void getEndPos (int &x, int &y)=0
virtual void start ()
virtual void cleanup ()
virtual void finish ()

Protected Member Functions

 AnimatedWindow (Glib::RefPtr< Gdk::Window > window)
void animateTo (int x, int y)

Protected Attributes

Glib::RefPtr< Gdk::Window > win


Detailed Description

Class animating objects.

Note:
Create on heap (with new) as this class deletes itself when the animation has been finished.

Constructor & Destructor Documentation

XGP::AnimatedWindow::~AnimatedWindow (  )  [virtual]

Destructor.

XGP::AnimatedWindow::AnimatedWindow ( Glib::RefPtr< Gdk::Window >  window  )  [protected]

Constructor.

Parameters:
window Window to animate


Member Function Documentation

void XGP::AnimatedWindow::animate (  ) 

Starts the animation of the object.

void XGP::AnimatedWindow::animateTo ( int  x,
int  y 
) [protected]

Animates a window to the passed position.

Parameters:
x X-coordinate of end-position (in root coordinates)
y Y-coordinate of end-position (in root coordinates)

void XGP::AnimatedWindow::cleanup (  )  [virtual]

Called when ending the animation; perform your cleanup here.

void XGP::AnimatedWindow::finish (  )  [virtual]

Additional actions after ending the animation.

void XGP::AnimatedWindow::start (  )  [virtual]

Additional actions before starting the animation.


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

XGP Version 0.9.31 - Generated on Wed Nov 18 11:25:29 2009 by doxygen 1.5.8