ROOT
Preview
Reference Guide
TX3DFrame.cxx
Go to the documentation of this file.
1
// Author: Richard Maunder 04/08/05
2
3
/*************************************************************************
4
* Copyright (C) 1995-2005, Rene Brun and Fons Rademakers. *
5
* All rights reserved. *
6
* *
7
* For the licensing terms see $ROOTSYS/LICENSE. *
8
* For the list of contributors see $ROOTSYS/README/CREDITS. *
9
*************************************************************************/
10
12
// //
13
// TX3DFrame //
14
// //
15
// Main frame for TViewerX3D //
16
// //
18
19
#include "
TX3DFrame.h
"
20
#include "
TViewerX3D.h
"
21
24
25
TX3DFrame::TX3DFrame
(
TViewerX3D
& viewer,
const
TGWindow
*
win
,
UInt_t
width
,
UInt_t
height
) :
26
TGMainFrame
(
win
,
width
,
height
),
27
fViewer
(viewer)
28
{
29
}
30
33
34
TX3DFrame::~TX3DFrame
()
35
{
36
}
37
40
41
Bool_t
TX3DFrame::ProcessMessage
(
Longptr_t
msg,
Longptr_t
parm1,
Longptr_t
parm2)
42
{
43
return
fViewer
.ProcessFrameMessage(msg, parm1, parm2);
44
}
45
48
49
void
TX3DFrame::CloseWindow
()
50
{
51
fViewer
.Close();
52
}
Bool_t
bool Bool_t
Boolean (0=false, 1=true) (bool).
Definition
RtypesCore.h:77
Longptr_t
long Longptr_t
Integer large enough to hold a pointer (platform-dependent).
Definition
RtypesCore.h:89
UInt_t
unsigned int UInt_t
Unsigned integer 4 bytes (unsigned int).
Definition
RtypesCore.h:60
win
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t win
Definition
TGWin32VirtualXProxy.cxx:186
width
Option_t Option_t width
Definition
TGWin32VirtualXProxy.cxx:56
height
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t height
Definition
TGWin32VirtualXProxy.cxx:164
TViewerX3D.h
TX3DFrame.h
TGMainFrame::TGMainFrame
TGMainFrame(const TGMainFrame &)=delete
TGWindow
ROOT GUI Window base class.
Definition
TGWindow.h:23
TViewerX3D
Definition
TViewerX3D.h:35
TX3DFrame::ProcessMessage
Bool_t ProcessMessage(Longptr_t msg, Longptr_t parm1, Longptr_t parm2) override
Process Message.
Definition
TX3DFrame.cxx:41
TX3DFrame::~TX3DFrame
~TX3DFrame() override
TX3DFrame destructor.
Definition
TX3DFrame.cxx:34
TX3DFrame::TX3DFrame
TX3DFrame(TViewerX3D &viewer, const TGWindow *win, UInt_t width, UInt_t height)
TX3DFrame constructor.
Definition
TX3DFrame.cxx:25
TX3DFrame::CloseWindow
void CloseWindow() override
Close window.
Definition
TX3DFrame.cxx:49
TX3DFrame::fViewer
TViewerX3D & fViewer
Definition
TX3DFrame.h:29
graf3d
x3d
src
TX3DFrame.cxx
Generated on
for ROOT by
1.16.1