#include <spriteeditor.h>
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. |
This dialog acts like a "media player" for animations. It can start, stop, and pause animations.
AnimPlayer::AnimPlayer | ( | const Animation & | anim | ) |
Constructor.
anim | The animation to play |