<commit_before>// $Id$
// Category: interfaces
//
// Author: <NAME>
//
//======================================================
//
//------------TG4MainFrame.h--------------------------------//
//---------Main Window for the AG4 Geometry Browser---//
//
//=======================================================

#ifndef TG4_MAIN_FRAME_H
#define TG4_MAIN_FRAME_H

#include <TGFrame.h>

class TG4VolumesFrames;
class TG4MaterialsFrames;
class TObject;
class TGListTreeItem;
class TGPicture;
class TGListTree;
class TGTab;
class TGMenuBar;
class TGPopupMenu;
class TGCanvas;


class TG4MainFrame : public TGMainFrame {

public:   
    
    TG4MainFrame(const TGWindow *p, UInt_t w, UInt_t h);
    ~TG4MainFrame();
 
    TGListTreeItem*
        AddItem(TObject* obj, TGListTreeItem* parent,const char* name,
                const TGPicture* open, const TGPicture* closed);
		
     TG4VolumesFrames* GetVolumesFrames() const;
     TG4MaterialsFrames* GetMaterialsFrames() const;
     void CloseWindow();		    			    
     Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2);
//---------------------------------------------------------------------------

protected:

    TG4MainFrame& operator=(const TG4MainFrame& mf);
    TG4MainFrame(const TG4MainFrame& mf); 		    
//----------------------------------------------------

private:

    TGMenuBar*          fMenuBar;          // main menu bar   

    TGPopupMenu*        fPopupMenu;     // popup for window manipulations
    TGPopupMenu*        fPopupMenuTest; // popup for test messages
    TGPopupMenu*        fPopupMenuHelp; // popup for help messages

    TGLayoutHints*      fMenuBarItemLayout;// layout left
    TGLayoutHints*      fMenuBarHelpLayout;// layout right
    TGLayoutHints*      fMenuBarLayout;    // main bar layout 
    
    TGTab*      fTab;           // tab widget
    TGCanvas*   fCanvasWindow;  // Canvas window for the list tree
    
    TGListTree*     fVolumesListTree;     // volumes list tree 
    
    TG4VolumesFrames*   fvolumesFrames;  // service class for adding vols subframes 
    TG4MaterialsFrames*   fmaterialsFrames;  // service class for adding mats subframes 
			
    ClassDef(TG4MainFrame,0)  // the main frame for the TG4 Browser  
  };
  
//

#endif<commit_msg>flistTreeFrame attribute added; fCanvasWindow removed<commit_after>// $Id$
// Category: interfaces
//
// Author: <NAME>
//
//======================================================
//
//------------TG4MainFrame.h--------------------------------//
//---------Main Window for the AG4 Geometry Browser---//
//
//=======================================================

#ifndef TG4_MAIN_FRAME_H
#define TG4_MAIN_FRAME_H

#include <TGFrame.h>

class TG4ListTreeFrame;
class TG4VolumesFrames;
class TG4MaterialsFrames;
class TObject;
class TGListTreeItem;
class TGPicture;
class TGListTree;
class TGTab;
class TGMenuBar;
class TGPopupMenu;


class TG4MainFrame : public TGMainFrame {

public:   
    
    TG4MainFrame(const TGWindow *p, UInt_t w, UInt_t h);
    ~TG4MainFrame();
 
    TGListTreeItem*
        AddItem(TObject* obj, TGListTreeItem* parent,const char* name,
                const TGPicture* open, const TGPicture* closed);
		
     TG4VolumesFrames* GetVolumesFrames() const;
     TG4MaterialsFrames* GetMaterialsFrames() const;
     void CloseWindow();		    			    
     Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2);
//---------------------------------------------------------------------------

protected:

    TG4MainFrame& operator=(const TG4MainFrame& mf);
    TG4MainFrame(const TG4MainFrame& mf); 		    
//----------------------------------------------------

private:

    TGMenuBar*          fMenuBar;          // main menu bar   

    TGPopupMenu*        fPopupMenu;     // popup for window manipulations
    TGPopupMenu*        fPopupMenuTest; // popup for test messages
    TGPopupMenu*        fPopupMenuHelp; // popup for help messages

    TGLayoutHints*      fMenuBarItemLayout;// layout left
    TGLayoutHints*      fMenuBarHelpLayout;// layout right
    TGLayoutHints*      fMenuBarLayout;    // main bar layout 
    
    TGTab*      fTab;           // tab widget
    
    TGListTree*     fVolumesListTree;     // volumes list tree 
    
    TG4VolumesFrames*   fvolumesFrames;   // service class for adding vols subframes 
    TG4MaterialsFrames* fmaterialsFrames; // service class for adding mats subframes 
    TG4ListTreeFrame*   flistTreeFrame;	  // service class for volumes list tree		

    ClassDef(TG4MainFrame,0)  // the main frame for the TG4 Browser  
  };
  
//

#endif
{'fraction_non_alphanumeric': 0.2008724100327154, 'fraction_numerical': 0.010032715376226827, 'mean_word_length': 2.160578911095796, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5862768', 'n_tokens_mistral': 1457, 'n_tokens_neox': 1310, 'n_words': 339}