17#ifndef __albaGUIMovieCtrl_H__
18#define __albaGUIMovieCtrl_H__
37#define MOVIE_BUTTONS_NUM 6
#define MOVIE_BUTTONS_NUM
Implementation of the message object for the Subject/Observer design pattern.
albaGUIMovieCtrl is a wxPanel with a set of widget to handle time.
albaObserver * m_Listener
void OnEvent(albaEventBase *alba_event)
process the events sent by subjects
void SetFrameBounds(double min, double max, double step=1)
Set the frames bounds for the movie.
virtual ~albaGUIMovieCtrl()
void OnTimer(wxTimerEvent &event)
Update the time and send the TIME_SET event to synchronize all the application.
albaGUIMovieCtrl(wxWindow *parent, wxWindowID id=-1)
void Update()
Update the movie ctrl interface.
albaGUIPicButton * m_TimeBarButtons[MOVIE_BUTTONS_NUM]
void SetListener(albaObserver *Listener)
void Loop(bool enable=true)
Enable/Disable loop.
class name: albaGUIPanel Inherits directly from wxPanel and adds the pointer to the next panel
Interface implementing the Observer of the Subject/Observer design pattern.