]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EVE/EveBase/AliEveMainWindow.h
Resolving all symbols in the library
[u/mrichter/AliRoot.git] / EVE / EveBase / AliEveMainWindow.h
index 186faf6c3343391b75c269ec71c5b47526ba5968..20c74da327dc7194c602ae4219a432c1f8716d5f 100644 (file)
@@ -19,29 +19,31 @@ class TGToolBar;
 class AliEveMainWindow;
 class AliEveFileDialog;
 
-// Items IDs for MenuBar
-enum AliEveMainWindow::MENU_FILE
+// AliEveMainWindow
+//
+
+class AliEveMainWindow : public TGMainFrame
 {
-    MENU_FILE_OPEN,
+public:
+    AliEveMainWindow(const char* title, UInt_t width=800, UInt_t height=600);
+    ~AliEveMainWindow();
+// Items IDs for MenuBar
+enum MENU_ITEM_IDS
+{   // File Menu
+    MENU_FILE_OPEN=0,
     MENU_FILE_OPEN_URL,
     MENU_FILE_OPEN_CONNECTION,
     MENU_FILE_EXPORT_VIEWS,
-    MENU_FILE_EXIT
-};
-
-enum AliEveMainWindow::MENU_EDIT
-{
+    MENU_FILE_EXIT,
+    // Edit Menu
     MENU_EDIT_UNDO,
     MENU_EDIT_REDO,
     MENU_EDIT_CUT,
     MENU_EDIT_COPY,
     MENU_EDIT_PASTE,
     MENU_EDIT_DELETE,
-    MENU_EDIT_PROP
-};
-
-enum AliEveMainWindow::MENU_VIEW
-{
+    MENU_EDIT_PROP,
+    // View Menu
     MENU_VIEW_TOOLBAR_MAIN,
     MENU_VIEW_TOOLBAR_NAV, // event navigation toolbar
     MENU_VIEW_TOOLBAR_PROP, // Properties Sidebar - event info, objects list, etc...
@@ -49,46 +51,24 @@ enum AliEveMainWindow::MENU_VIEW
     MENU_VIEW_RELOAD,
     MENU_VIEW_ZOOM_IN,
     MENU_VIEW_ZOOM_OUT,
-    MENU_VIEW_ZOOM_RESET
-};
-
-enum AliEveMainWindow::MENU_GO
-{
+    MENU_VIEW_ZOOM_RESET,
+    // Go Menu
     MENU_GO_NEXT_EVENT,
     MENU_GO_PREV_EVENT,
     MENU_GO_FIRST_EVENT,
     MENU_GO_LAST_EVENT,
-    MENU_GO_PLAY
-};
-
-enum AliEveMainWindow::MENU_HIST
-{
+    MENU_GO_PLAY,
+    // History Menu
     MENU_HIST_SHOW_ALL,
-    MENU_HIST_CLEAR_RECENT
-};
-
-enum AliEveMainWindow::MENU_TOOLS
-{
+    MENU_HIST_CLEAR_RECENT,
+    // Tools Menu
     MENU_TOOLS_MACROS,
-    MENU_TOOLS_QA
-};
-
-enum AliEveMainWindow::MENU_HELP
-{
+    MENU_TOOLS_QA,
+    // Help Menu
     MENU_HELP_CONTENTS,
     MENU_HELP_ABOUT
 };
 
-//______________________________________________________________________________
-// AliEveMainWindow
-//
-
-class AliEveMainWindow : public TGMainFrame
-{
-public:
-    AliEveMainWindow(const char* title, UInt_t width=800, UInt_t height=600);
-    ~AliEveMainWindow();
-
 public: // SLOTS
     void onMenuFileItem(UInt_t id);
     void onMenuEditItem(UInt_t id);
@@ -122,7 +102,7 @@ private:
 
     TGPicturePool* fPicturePool;
 
-    TEveManager* fEve;
+//    TEveManager* fEve;
     AliEveFileDialog* fFileDialog;
 
     ClassDef(AliEveMainWindow, 0); // Short description.