Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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
30
31public:
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
44class TGVertical3DLine : public TGFrame {
45
46public:
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
@ kChildFrame
Definition GuiTypes.h:379
ULong_t Pixel_t
Pixel value.
Definition GuiTypes.h:40
#define h(i)
Definition RSha256.hxx:106
const char Option_t
Definition RtypesCore.h:66
#define ClassDef(name, id)
Definition Rtypes.h:325
static Pixel_t GetDefaultFrameBackground()
Get default frame background.
Definition TGFrame.cxx:668
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
virtual void DrawBorder()
draw border
Definition TG3DLine.cxx:46
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
virtual void DrawBorder()
draw border
Definition TG3DLine.cxx:92