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#include "TGFrame.h"
17
19
20public:
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
33class TGVertical3DLine : public TGFrame {
34
35public:
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
@ 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
A subclasses of TGWindow, and is used as base class for some simple widgets (buttons,...
Definition TGFrame.h:80
static Pixel_t GetDefaultFrameBackground()
Get default frame background.
Definition TGFrame.cxx:683
A horizontal 3D line is a line that typically separates a toolbar from the menubar.
Definition TG3DLine.h:18
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
virtual void DrawBorder()
draw border
Definition TG3DLine.cxx:51
A vertical 3D line is a line that can be used to separate groups of widgets.
Definition TG3DLine.h:33
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
virtual void DrawBorder()
draw border
Definition TG3DLine.cxx:97
ROOT GUI Window base class.
Definition TGWindow.h:23