12 #ifndef ROOT_TEveWindow 13 #define ROOT_TEveWindow 23 class TEveWindowMainFrame;
49 TEveCompositeFrame&
operator=(
const TEveCompositeFrame&);
99 UInt_t top_frame_height = 14,
100 UInt_t mini_bar_height = 4,
134 void MainFrameClosed();
181 Int_t FindTabIndex();
232 TEveWindow(
const char*
n=
"TEveWindow",
const char* t=
"");
237 virtual TGFrame* GetGUIFrame() = 0;
238 virtual void PreUndock();
239 virtual void PostDock();
247 void SwapWindowWithCurrent();
250 void UndockWindowDestroySlot();
255 virtual void DestroyWindowAndSlot();
258 void ClearEveFrame();
283 static UInt_t GetMainFrameDefWidth();
284 static UInt_t GetMainFrameDefHeight();
285 static void SetMainFrameDefWidth (
UInt_t x);
286 static void SetMainFrameDefHeight(
UInt_t x);
288 static Pixel_t GetCurrentBackgroundColor();
289 static Pixel_t GetMiniBarBackgroundColor();
290 static void SetCurrentBackgroundColor(
Pixel_t p);
291 static void SetMiniBarBackgroundColor(
Pixel_t p);
317 virtual TGFrame* GetGUIFrame();
373 virtual TGFrame* GetGUIFrame();
379 void FlipOrientation();
383 void EqualizeFrames();
408 virtual TGFrame* GetGUIFrame();
virtual void HideAllDecorations()
Hide title-bar and mini-bar.
virtual TEveWindowSlot * NewSlot()
Encapsulates TGPack into an eve-window.
TEveCompositeFrame * fEveFrame
static TEveContextMenu * fgCtxMenu
TEveCompositeFrame & operator=(const TEveCompositeFrame &)
TEveWindow * GetOriginalContainer() const
static TList * fgFrameList
virtual void NameTitleChanged()
Virtual function called when a name or title of the element has been changed.
static UInt_t fgMainFrameDefHeight
Abstract base-class for representing eve-windows.
An EVE window-slot contained within a TGMainFrame.
TGCompositeFrame * fTopFrame
virtual Bool_t CanMakeNewSlots() const
TEveCompositeFrame * GetEveFrame()
Description of TEveWindowSlot.
virtual TGFrame * GetGUIFrame()
static Pixel_t fgCurrentBackgroundColor
virtual Bool_t CanMakeNewSlots() const
TEveWindow * GetEveParentAsWindow() const
Returns eve-parent dynamic-casted to TEveWindow.
void ActionPressed()
The action-button of the title-bar was pressed.
TEveWindow * GetEveWindow() const
TEveWindow * GetOriginalSlot() const
static const TString fgkEmptyFrameName
virtual void SetCurrent(Bool_t curr)
Set current state of this frame.
#define ClassDef(name, id)
Abstract base-class for frame-slots that encompass EVE-windows (sub-classes of TEveWindow).
static void SetupFrameMarkup(IconBarCreator_foo creator, UInt_t top_frame_height=14, UInt_t mini_bar_height=4, Bool_t allow_top_collapse=kTRUE)
Set properties of the EVE frame.
virtual ~TEveCompositeFrame()
If fEveWindow != 0 we are being deleted from the ROOT GUI side.
Bool_t GetShowTitleBar() const
static UInt_t fgMainFrameDefWidth
virtual void PreDeleteElement()
Externally assigned and controlled user data.
virtual void SetShowTitleBar(Bool_t show)
Set state of title-bar.
TGFrame *(* IconBarCreator_foo)(TEveCompositeFrame *, TGCompositeFrame *, Int_t)
TGTextButton * fToggleBar
An EVE window-slot contained within one tab of a TGTab.
static UInt_t fgTopFrameHeight
TGCompositeFrame * fEmbedBuffer
TGTextButton * fEmptyButt
virtual void ShowNormalDecorations()
Show title-bar or mini-bar, as dictated by the window.
TEveCompositeFrame(const TEveCompositeFrame &)
Encapsulates TGTab into an eve-window.
static IconBarCreator_foo fgIconBarCreator
virtual Bool_t CanMakeNewSlots() const
virtual void AcquireEveWindow(TEveWindow *ew)
Accept window and increase its deny-destroy count.
Mother of all ROOT objects.
void FlipTitleBarState()
Change display-state of the title-bar / mini-bar.
TEveWindow * fOriginalContainer
TGLayoutHints * fEveWindowLH
TEveWindow * fOriginalSlot
virtual void WindowNameChanged(const TString &name)
Update widgets using window's name or title.
void TitleBarClicked()
Slot for mouse-click on the central part of the title-bar.
TGCompositeFrame * fParentInTab
Base class for TEveUtil visualization elements, providing hierarchy management, rendering control and...
static UInt_t fgMiniBarHeight
An EVE window-slot contained within one frame of a TGPack.
static Pixel_t fgMiniBarBackgroundColor
virtual TEveWindow * RelinquishEveWindow(Bool_t reparent=kTRUE)
Remove window and decrease its deny-destroy count.
Encapsulates TGFrame into an eve-window.
virtual void DestroyWindow()
static Bool_t fgAllowTopFrameCollapse