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 //////////////////////////////////////////////////////////////////////////
17 // //
18 // TGHorizontal3DLine and TGVertical3DLine //
19 // //
20 // A horizontal 3D line is a line that typically separates a toolbar //
21 // from the menubar. //
22 // A vertical 3D line is a line that can be used to separate groups of //
23 // widgets. //
24 // //
25 //////////////////////////////////////////////////////////////////////////
26 
27 #include "TGFrame.h"
28 
29 class TGHorizontal3DLine : public TGFrame {
30 
31 public:
32  TGHorizontal3DLine(const TGWindow *p = 0, UInt_t w = 4, UInt_t h = 2,
33  UInt_t options = kChildFrame,
35 
36  virtual void DrawBorder();
37 
38  virtual void SavePrimitive(std::ostream &out, Option_t *option = "");
39 
40  ClassDef(TGHorizontal3DLine,0) //A horizontal 3D separator line
41 };
42 
43 
44 class TGVertical3DLine : public TGFrame {
45 
46 public:
47  TGVertical3DLine(const TGWindow *p = 0, UInt_t w = 2, UInt_t h = 4,
48  UInt_t options = kChildFrame,
50 
51  virtual void DrawBorder();
52 
53  virtual void SavePrimitive(std::ostream &out, Option_t *option = "");
54 
55  ClassDef(TGVertical3DLine,0) //A vertical 3D separator line
56 };
57 
58 #endif
TGWindow
Definition: TGWindow.h:31
TGHorizontal3DLine
Definition: TG3DLine.h:29
Pixel_t
ULong_t Pixel_t
Definition: GuiTypes.h:39
TGHorizontal3DLine::DrawBorder
virtual void DrawBorder()
draw border
Definition: TG3DLine.cxx:46
TGFrame::GetDefaultFrameBackground
static Pixel_t GetDefaultFrameBackground()
Get default frame background.
Definition: TGFrame.cxx:668
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:57
TGVertical3DLine
Definition: TG3DLine.h:44
TGFrame
Definition: TGFrame.h:105
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:35
Option_t
const typedef char Option_t
Definition: RtypesCore.h:66
h
#define h(i)
Definition: RSha256.hxx:124
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:102
ClassDef
#define ClassDef(name, id)
Definition: Rtypes.h:325
TGVertical3DLine::DrawBorder
virtual void DrawBorder()
draw border
Definition: TG3DLine.cxx:92
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:81
kChildFrame
@ kChildFrame
Definition: GuiTypes.h:379