Loading [MathJax]/extensions/tex2jax.js
ROOT
6.06/09
Reference Guide
ROOT Home Page
Main Page
Related Pages
User's Classes
Namespaces
All Classes
Files
Release Notes
File List
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
geom
geombuilder
inc
TGeoGedFrame.h
Go to the documentation of this file.
1
// @(#)root/geombuilder:$Id$
2
// Author: Matevz Tadel 25/09/2006
3
4
#ifndef ROOT_TGeoGedFrame
5
#define ROOT_TGeoGedFrame
6
7
//////////////////////////////////////////////////////////////////////////
8
// //
9
// TGeoGedFrame //
10
// //
11
// Common base class for geombuilder editors. //
12
// //
13
//////////////////////////////////////////////////////////////////////////
14
15
#ifndef ROOT_TGedFrame
16
#include "
TGedFrame.h
"
17
#endif
18
19
class
TGTab
;
20
class
TGeoTabManager
;
21
class
TVirtualPad
;
22
23
class
TGeoGedFrame
:
public
TGedFrame
{
24
25
protected
:
26
TGTab
*
fTab
;
//tab of the ged-editor
27
TGeoTabManager
*
fTabMgr
;
//tab manager corresponding to ged-editor
28
TVirtualPad
*
fPad
;
//selected pad, if exists
29
30
public
:
31
TGeoGedFrame
(
const
TGWindow
*p = 0,
32
Int_t
width = 140,
Int_t
height = 30,
33
UInt_t
options =
kChildFrame
,
34
Pixel_t
back =
GetDefaultFrameBackground
());
35
36
virtual
void
SetActive
(
Bool_t
active =
kTRUE
);
37
virtual
void
Update
();
38
39
ClassDef
(
TGeoGedFrame
, 0)
// Common base-class for geombuilder editors.
40
};
41
42
#endif
TGTab
Definition:
TGTab.h:66
TGeoTabManager
Definition:
TGeoTabManager.h:54
TGedFrame.h
Int_t
int Int_t
Definition:
RtypesCore.h:41
Bool_t
bool Bool_t
Definition:
RtypesCore.h:59
Pixel_t
ULong_t Pixel_t
Definition:
GuiTypes.h:41
TGFrame::GetDefaultFrameBackground
static Pixel_t GetDefaultFrameBackground()
Get default frame background.
Definition:
TGFrame.cxx:665
TGeoGedFrame::SetActive
virtual void SetActive(Bool_t active=kTRUE)
Set active GUI attribute frames related to the selected object.
Definition:
TGeoGedFrame.cxx:36
TVirtualPad
TVirtualPad is an abstract base class for the Pad and Canvas classes.
Definition:
TVirtualPad.h:59
TGedFrame::ClassDef
ClassDef(TGedFrame, 0)
TGeoGedFrame::TGeoGedFrame
TGeoGedFrame(const TGWindow *p=0, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
TGWindow
Definition:
TGWindow.h:38
kChildFrame
Definition:
TGFrame.h:73
UInt_t
unsigned int UInt_t
Definition:
RtypesCore.h:42
TGedFrame
Definition:
TGedFrame.h:35
TGeoGedFrame::Update
virtual void Update()
Override Update from TGedFrame as fGedEditor can be null.
Definition:
TGeoGedFrame.cxx:56
TGeoGedFrame::fPad
TVirtualPad * fPad
Definition:
TGeoGedFrame.h:28
kTRUE
const Bool_t kTRUE
Definition:
Rtypes.h:91
TGeoGedFrame::fTab
TGTab * fTab
Definition:
TGeoGedFrame.h:26
TGeoGedFrame::fTabMgr
TGeoTabManager * fTabMgr
Definition:
TGeoGedFrame.h:27
TGeoGedFrame
Definition:
TGeoGedFrame.h:23