00001
00002
00003
00004
00005
00006
00007
00008 #ifndef EVDB_WINDOWMENU_H
00009 #define EVDB_WINDOWMENU_H
00010 #include "TQObject.h"
00011 #include "RQ_OBJECT.h"
00012
00013 class TGMainFrame;
00014 class TGMenuBar;
00015 class TGPopupMenu;
00016 class TGLayoutHints;
00017
00018 namespace evdb {
00019 class WindowMenu {
00020 RQ_OBJECT("evdb::WindowMenu");
00021
00022 public:
00023 WindowMenu(TGMenuBar* menubar, TGMainFrame* mf);
00024 virtual ~WindowMenu();
00025
00026
00027 void HandleMenu(int menu);
00028
00029 private:
00030 int NoImpl(const char* m);
00031 int No3DViewer();
00032
00033 private:
00034 TGPopupMenu* fWindowMenu;
00035 TGLayoutHints* fLayout;
00036 };
00037 }
00038
00039 #endif // WINDOWMENU_H
00040