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 = nullptr, UInt_t w = 4, UInt_t h = 2,
22 UInt_t options = kChildFrame,
24
25 void DrawBorder() override;
26
27 void SavePrimitive(std::ostream &out, Option_t *option = "") override;
28
29 ClassDefOverride(TGHorizontal3DLine,0) //A horizontal 3D separator line
30};
31
32
33class TGVertical3DLine : public TGFrame {
34
35public:
36 TGVertical3DLine(const TGWindow *p = nullptr, UInt_t w = 2, UInt_t h = 4,
37 UInt_t options = kChildFrame,
39
40 void DrawBorder() override;
41
42 void SavePrimitive(std::ostream &out, Option_t *option = "") override;
43
44 ClassDefOverride(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 ClassDefOverride(name, id)
Definition Rtypes.h:341
winID h TVirtualViewer3D TVirtualGLPainter p
Option_t Option_t option
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
void SavePrimitive(std::ostream &out, Option_t *option="") override
Save an vertical 3D line as a C++ statement(s) on output stream out.
Definition TG3DLine.cxx:62
void DrawBorder() override
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
void SavePrimitive(std::ostream &out, Option_t *option="") override
Save an vertical 3D line as a C++ statement(s) on output stream out.
Definition TG3DLine.cxx:107
void DrawBorder() override
draw border
Definition TG3DLine.cxx:97
ROOT GUI Window base class.
Definition TGWindow.h:23