12 #ifndef ROOT_TGLSAViewer 13 #define ROOT_TGLSAViewer 104 virtual const char*
GetName()
const {
return "GLViewer"; }
void ToggleEditObject()
Toggle state of the 'Edit Object' menu entry.
static const Int_t fgInitX
static const Int_t fgInitW
static const Int_t fgInitH
void MenuHidingTimeout()
Action for menu-hiding timeout.
void ResetMenuHidingTimer(Bool_t show_menu)
Reset the timer for menu-bar hiding.
TGLFormat * GetFormat() const
#define ClassDef(name, id)
void HandleMenuBarHiding(Event_t *ev)
Maybe switch menu-bar / menu-button.
TGLSAViewer(const TGLSAViewer &)
void DeleteMenuBar()
Delete the menu bar.
TVirtualPad is an abstract base class for the Pad and Canvas classes.
void ToggleOrthoDolly()
Toggle state of the 'Ortho allow dolly' menu entry.
static void SetMenuHidingTimeout(Long_t timeout)
Set global timeout for menu-hiding in mili-seconds.
The top level standalone GL-viewer - created via plugin manager.
TGPopupMenu * fCameraMenu
TGCompositeFrame * GetLeftVerticalFrame() const
void Close()
Close the viewer - destructed.
void DisableCloseMenuEntries()
Deactivate menu entries for closing the GL window and exiting ROOT.
virtual void CreateGLWidget()
Create a GLwidget, it is an error if it is already created.
TGCompositeFrame * fLeftVerticalFrame
void EnableMenuBarHiding()
Enable hiding of menu bar.
Bool_t ProcessFrameMessage(Long_t msg, Long_t parm1, Long_t)
Process GUI message capture by the main GUI frame (TGLSAFrame).
TGPopupMenu * fFileSaveMenu
Handles synchronous and a-synchronous timer events.
TTimer * fMenuHidingTimer
virtual void SelectionChanged()
Update GUI components for embedded viewer selection change.
Base GL viewer object - used by both standalone and embedded (in pad) GL.
Standalone GL Viewer GUI main frame.
~TGLSAViewer()
Destroy standalone viewer object.
TGCompositeFrame * fRightVerticalFrame
void CreateFrames()
Internal frames creation.
Base-class and default implementation of event-handler for TGLViewer.
static const Int_t fgInitY
void ToggleOrthoRotate()
Toggle state of the 'Ortho allow rotate' menu entry.
TGCompositeFrame * GetFrame() const
Return the main-frame.
virtual const char * GetName() const
Returns name of object.
static Long_t fgMenuHidingTimeout
static const char * fgHelpText1
Bool_t fMenuHidingShowMenu
void Show()
Show the viewer.
void CreateMenus()
File/Camera/Help menus.
virtual void DestroyGLWidget()
Destroy the GLwidget, it is an error if it does not exist.
void DisableMenuBarHiding()
Disable hiding of menu bar.
static const char * fgHelpText2
TGLSAViewer & operator=(const TGLSAViewer &)