1 #ifndef GPMG_ActionMovie_H
2 #define GPMG_ActionMovie_H
5 #include "GUI_Action.h"
58 inline static SP::GPMG_ActionMovie
New() {
60 GPMG_ActionMovie::Delete());
66 inline static SP::GPMG_ActionMovie
New(
const int& action) {
67 SP::GPMG_ActionMovie p=
New();
68 p->setActionType(action);
69 if (action==GO_TO_FIRST) p->setIcon(
"movie-begin.png");
70 else if (action==GO_TO_LAST) p->setIcon(
"movie-end.png");
71 else if (action==NEXT) p->setIcon(
"movie-forward.png");
72 else if (action==PREVIOUS) p->setIcon(
"movie-backward.png");
73 else if (action==PLAY) p->setIcon(
"movie-play.png");
74 else if (action==STOP) p->setIcon(
"movie-stop.png");
75 else if (action==RECORD) p->setIcon(
"movie-record.png");
GPMG_ActionMovie()
build a GPMG_ActionMovie
Definition: GPMG_ActionMovie.cpp:22
static const tFlag RECORD
Definition: GPMG_ActionMovie.h:27
static const tFlag GO_TO_LAST
Definition: GPMG_ActionMovie.h:22
this class describes the Edit Action Menu
Definition: GPMG_ActionMovie.h:14
static const tFlag GO_TO_FIRST
Definition: GPMG_ActionMovie.h:21
static SP::GPMG_ActionMovie New()
create an action
Definition: GPMG_ActionMovie.h:58
static const tFlag NEXT
Definition: GPMG_ActionMovie.h:23
static const tFlag PLAY
Definition: GPMG_ActionMovie.h:25
static const tFlag LOAD_FILES
Definition: GPMG_ActionMovie.h:20
virtual void toDo()
action to do
Definition: GPMG_ActionMovie.cpp:45
virtual ~GPMG_ActionMovie(void)
destroy a GPMG_ActionMovie
Definition: GPMG_ActionMovie.cpp:40
#define tString
Definition: types.h:36
static const tFlag PREVIOUS
Definition: GPMG_ActionMovie.h:24
DEFINE_SPTR(GPMG_ActionMovie)
static SP::GPMG_ActionMovie New(const int &action)
create an action
Definition: GPMG_ActionMovie.h:66
static const tFlag STOP
Definition: GPMG_ActionMovie.h:26
#define tFlag
Definition: types.h:14