Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/root/TG3DLine.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 // @(#)root/gui:$Id$
0002 // Author: Fons Rademakers   6/09/2000
0003 
0004 /*************************************************************************
0005  * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *
0006  * All rights reserved.                                                  *
0007  *                                                                       *
0008  * For the licensing terms see $ROOTSYS/LICENSE.                         *
0009  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
0010  *************************************************************************/
0011 
0012 #ifndef ROOT_TG3DLine
0013 #define ROOT_TG3DLine
0014 
0015 
0016 #include "TGFrame.h"
0017 
0018 class TGHorizontal3DLine : public TGFrame {
0019 
0020 public:
0021    TGHorizontal3DLine(const TGWindow *p = nullptr, UInt_t w = 4, UInt_t h = 2,
0022                       UInt_t options = kChildFrame,
0023                       Pixel_t back = GetDefaultFrameBackground());
0024 
0025    void DrawBorder() override;
0026 
0027    void SavePrimitive(std::ostream &out, Option_t *option = "") override;
0028 
0029    ClassDefOverride(TGHorizontal3DLine,0)  //A horizontal 3D separator line
0030 };
0031 
0032 
0033 class TGVertical3DLine : public TGFrame {
0034 
0035 public:
0036    TGVertical3DLine(const TGWindow *p = nullptr, UInt_t w = 2, UInt_t h = 4,
0037                     UInt_t options = kChildFrame,
0038                     Pixel_t back = GetDefaultFrameBackground());
0039 
0040    void DrawBorder() override;
0041 
0042    void SavePrimitive(std::ostream &out, Option_t *option = "") override;
0043 
0044    ClassDefOverride(TGVertical3DLine,0)  //A vertical 3D separator line
0045 };
0046 
0047 #endif