AnimPlayer Class Reference

Animation player for previewing a sprite. More...

#include <spriteeditor.h>

List of all members.

Public Member Functions

 AnimPlayer (const Animation &anim)
 Constructor.

Private Member Functions

void construct ()
 Build the dialog's UI.
bool on_timeout ()
void on_play_clicked ()
void on_stop_clicked ()

Private Attributes

Gtk::Image * m_FrameImg
Gtk::Label * m_AnimLabel
Gtk::ProgressBar * m_ProgBar
Gtk::Button * m_PlayButton
Gtk::Button * m_StopButton
sigc::connection m_TimerSlot
int m_CurFrame
 The current frame.
Animation m_Animation
 Internal animation we're playing.


Detailed Description

Animation player for previewing a sprite.

This dialog acts like a "media player" for animations. It can start, stop, and pause animations.


Constructor & Destructor Documentation

AnimPlayer::AnimPlayer ( const Animation anim  ) 

Constructor.

Parameters:
anim The animation to play


The documentation for this class was generated from the following files:
Generated on Fri Feb 22 22:34:18 2008 for Phoenix Wright Case Editor API by  doxygen 1.5.3