C++ main module for gpm Package  1.0
GPMG_MovieGraphMenuPanel.h
Go to the documentation of this file.
1 #ifndef GPMG_MovieGraphMenuPanel_H
2 #define GPMG_MovieGraphMenuPanel_H
3 
4 
5 #include "GPMG_GraphMenuPanel.h"
6 #include "GUI_ToolBar.h"
7 
8 
9 
17 
18  SP_OBJECT(GPMG_MovieGraphMenuPanel);
19 
20  // ATTRIBUTES
21 private:
22 
23  int mMovieMenu;
24  int mGoToFirstMenu,mGoToLastMenu;
25  int mPreviousMenu,mNextMenu;
26  int mPlayMenu,mStopMenu,mRecordMenu;
27 
28  // ASSOCIATIONS
29 private:
30 
31 
32 protected:
33  // METHODS
34 
35  // CONSTRUCTORS
36 
39 
40 
41 
42 
43  // DESTRUCTORS
44 
45 
48  virtual ~GPMG_MovieGraphMenuPanel(void);
49 
50 
51 
52 public:
53 
54  // CONSTRUCTOR
55  inline static SP::GPMG_MovieGraphMenuPanel New() {
56  SP::GPMG_MovieGraphMenuPanel p(new GPMG_MovieGraphMenuPanel(),
57  GPMG_MovieGraphMenuPanel::Delete());
58  p->setThis(p);
59 
60  return p;
61  };
62 
63  // SET methods
64 
65 
66  // GET methods
67 
68  // OTHERS
69 
72  virtual void createMenus(GUI_ToolBar* graphBar,GUI_ToolBar* movieBar);
73 
74 
77  void enableMovieMenus(const tFlag& action);
78 
79 private:
80  void modifyFileMenu(GUI_ToolBar* bar);
81  void createMovieMenu(GUI_ToolBar* bar);
82 
83 };
84 
85 #endif
virtual void createMenus(GUI_ToolBar *graphBar, GUI_ToolBar *movieBar)
create the menus & put tools in tool bar
Definition: GPMG_MovieGraphMenuPanel.cpp:12
This class is the menu panel for graph draw window.
Definition: GPMG_GraphMenuPanel.h:16
This class is the menu panel for graph draw window.
Definition: GPMG_MovieGraphMenuPanel.h:16
void enableMovieMenus(const tFlag &action)
eanble movie menus
Definition: GPMG_MovieGraphMenuPanel.cpp:92
virtual ~GPMG_MovieGraphMenuPanel(void)
destroy an menu panel.
Definition: GPMG_MovieGraphMenuPanel.cpp:9
GPMG_MovieGraphMenuPanel()
create an menu panel
Definition: GPMG_MovieGraphMenuPanel.cpp:5
DEFINE_SPTR(GPMG_MovieGraphMenuPanel)
static SP::GPMG_MovieGraphMenuPanel New()
Definition: GPMG_MovieGraphMenuPanel.h:55
#define tFlag
Definition: types.h:14