Logo ROOT  
Reference Guide
TG3DLine.h
Go to the documentation of this file.
1 // @(#)root/gui:$Id$
2 // Author: Fons Rademakers 6/09/2000
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
6  * All rights reserved. *
7  * *
8  * For the licensing terms see $ROOTSYS/LICENSE. *
9  * For the list of contributors see $ROOTSYS/README/CREDITS. *
10  *************************************************************************/
11 
12 #ifndef ROOT_TG3DLine
13 #define ROOT_TG3DLine
14 
15 
16 #include "TGFrame.h"
17 
18 class TGHorizontal3DLine : public TGFrame {
19 
20 public:
21  TGHorizontal3DLine(const TGWindow *p = 0, UInt_t w = 4, UInt_t h = 2,
22  UInt_t options = kChildFrame,
24 
25  virtual void DrawBorder();
26 
27  virtual void SavePrimitive(std::ostream &out, Option_t *option = "");
28 
29  ClassDef(TGHorizontal3DLine,0) //A horizontal 3D separator line
30 };
31 
32 
33 class TGVertical3DLine : public TGFrame {
34 
35 public:
36  TGVertical3DLine(const TGWindow *p = 0, UInt_t w = 2, UInt_t h = 4,
37  UInt_t options = kChildFrame,
39 
40  virtual void DrawBorder();
41 
42  virtual void SavePrimitive(std::ostream &out, Option_t *option = "");
43 
44  ClassDef(TGVertical3DLine,0) //A vertical 3D separator line
45 };
46 
47 #endif
TGWindow
ROOT GUI Window base class.
Definition: TGWindow.h:23
Option_t
const char Option_t
Definition: RtypesCore.h:66
TGHorizontal3DLine
A horizontal 3D line is a line that typically separates a toolbar from the menubar.
Definition: TG3DLine.h:18
Pixel_t
ULong_t Pixel_t
Pixel value.
Definition: GuiTypes.h:40
TGHorizontal3DLine::DrawBorder
virtual void DrawBorder()
draw border
Definition: TG3DLine.cxx:51
TGFrame::GetDefaultFrameBackground
static Pixel_t GetDefaultFrameBackground()
Get default frame background.
Definition: TGFrame.cxx:683
TGHorizontal3DLine::SavePrimitive
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save an vertical 3D line as a C++ statement(s) on output stream out.
Definition: TG3DLine.cxx:62
TGVertical3DLine
A vertical 3D line is a line that can be used to separate groups of widgets.
Definition: TG3DLine.h:33
TGFrame
A subclasses of TGWindow, and is used as base class for some simple widgets (buttons,...
Definition: TGFrame.h:80
TGHorizontal3DLine::TGHorizontal3DLine
TGHorizontal3DLine(const TGWindow *p=0, UInt_t w=4, UInt_t h=2, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
constructor
Definition: TG3DLine.cxx:40
h
#define h(i)
Definition: RSha256.hxx:106
TGFrame.h
unsigned int
TGVertical3DLine::SavePrimitive
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save an vertical 3D line as a C++ statement(s) on output stream out.
Definition: TG3DLine.cxx:107
ClassDef
#define ClassDef(name, id)
Definition: Rtypes.h:325
TGVertical3DLine::DrawBorder
virtual void DrawBorder()
draw border
Definition: TG3DLine.cxx:97
TGVertical3DLine::TGVertical3DLine
TGVertical3DLine(const TGWindow *p=0, UInt_t w=2, UInt_t h=4, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
constructor
Definition: TG3DLine.cxx:86
kChildFrame
@ kChildFrame
Definition: GuiTypes.h:379