TCurlyArcEditor.h

Go to the documentation of this file.
00001 // @(#)root/ged:$Id: TCurlyArcEditor.h 20882 2007-11-19 11:31:26Z rdm $
00002 // Author: Ilka  Antcheva, Otto Schaile 15/12/04
00003 
00004 /*************************************************************************
00005  * Copyright (C) 1995-2004, Rene Brun and Fons Rademakers.               *
00006  * All rights reserved.                                                  *
00007  *                                                                       *
00008  * For the licensing terms see $ROOTSYS/LICENSE.                         *
00009  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
00010  *************************************************************************/
00011 
00012 #ifndef ROOT_TCurlyArcEditor
00013 #define ROOT_TCurlyArcEditor
00014 
00015 //////////////////////////////////////////////////////////////////////////
00016 //                                                                      //
00017 //  TCurlyArcEditor                                                     //
00018 //                                                                      //
00019 //  Implements GUI for editing CurlyArc attributes: radius, phi1, phi2. //                                             //
00020 //                                                                      //
00021 //////////////////////////////////////////////////////////////////////////
00022 
00023 #ifndef ROOT_TGedFrame
00024 #include "TGedFrame.h"
00025 #endif
00026 
00027 class TGNumberEntry;
00028 class TCurlyArc;
00029 
00030 class TCurlyArcEditor : public TGedFrame {
00031 
00032 protected:
00033    TCurlyArc            *fCurlyArc;         // CurlyArc object
00034    TGNumberEntry        *fRadiusEntry;      // radius entry
00035    TGNumberEntry        *fPhiminEntry;      // Phimin entry
00036    TGNumberEntry        *fPhimaxEntry;      // Phimax entry
00037    TGNumberEntry        *fCenterXEntry;     // center x entry
00038    TGNumberEntry        *fCenterYEntry;     // center y entry
00039 
00040    virtual void   ConnectSignals2Slots();
00041 
00042 public:
00043    TCurlyArcEditor(const TGWindow *p = 0,
00044                 Int_t width = 140, Int_t height = 30,
00045                 UInt_t options = kChildFrame,
00046                 Pixel_t back = GetDefaultFrameBackground());
00047    virtual ~TCurlyArcEditor();
00048 
00049    virtual void   SetModel(TObject* obj);
00050    virtual void   DoRadius();
00051    virtual void   DoPhimin();
00052    virtual void   DoPhimax();
00053    virtual void   DoCenterXY();
00054 
00055    ClassDef(TCurlyArcEditor,0)  // GUI for editing arrow attributes
00056 };
00057 
00058 #endif

Generated on Tue Jul 5 14:19:24 2011 for ROOT_528-00b_version by  doxygen 1.5.1