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 |
XGP::AnimatedWindow::~AnimatedWindow | ( | ) | [virtual] |
Destructor.
XGP::AnimatedWindow::AnimatedWindow | ( | Glib::RefPtr< Gdk::Window > | window | ) | [protected] |
Constructor.
window | Window to animate |
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.
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.