Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:11:37

0001 // @(#)root/ged:$Id$
0002 // Author: Ilka  Antcheva, Otto Schaile 15/12/04
0003 
0004 /*************************************************************************
0005  * Copyright (C) 1995-2004, 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_TCurlyArcEditor
0013 #define ROOT_TCurlyArcEditor
0014 
0015 
0016 #include "TGedFrame.h"
0017 
0018 class TGNumberEntry;
0019 class TCurlyArc;
0020 
0021 class TCurlyArcEditor : public TGedFrame {
0022 
0023 protected:
0024    TCurlyArc            *fCurlyArc;         ///< CurlyArc object
0025    TGNumberEntry        *fRadiusEntry;      ///< radius entry
0026    TGNumberEntry        *fPhiminEntry;      ///< Phimin entry
0027    TGNumberEntry        *fPhimaxEntry;      ///< Phimax entry
0028    TGNumberEntry        *fCenterXEntry;     ///< center x entry
0029    TGNumberEntry        *fCenterYEntry;     ///< center y entry
0030 
0031    virtual void   ConnectSignals2Slots();
0032 
0033 public:
0034    TCurlyArcEditor(const TGWindow *p = nullptr,
0035                 Int_t width = 140, Int_t height = 30,
0036                 UInt_t options = kChildFrame,
0037                 Pixel_t back = GetDefaultFrameBackground());
0038    ~TCurlyArcEditor() override;
0039 
0040    void   SetModel(TObject* obj) override;
0041    virtual void   DoRadius();
0042    virtual void   DoPhimin();
0043    virtual void   DoPhimax();
0044    virtual void   DoCenterXY();
0045 
0046    ClassDefOverride(TCurlyArcEditor,0)  // GUI for editing arrow attributes
0047 };
0048 
0049 #endif