// @(#)root/ged:$Id: TCurlyArcEditor.h 20882 2007-11-19 11:31:26Z rdm $
// Author: Ilka  Antcheva, Otto Schaile 15/12/04

/*************************************************************************
 * Copyright (C) 1995-2004, Rene Brun and Fons Rademakers.               *
 * All rights reserved.                                                  *
 *                                                                       *
 * For the licensing terms see $ROOTSYS/LICENSE.                         *
 * For the list of contributors see $ROOTSYS/README/CREDITS.             *
 *************************************************************************/

#ifndef ROOT_TCurlyArcEditor
#define ROOT_TCurlyArcEditor

//////////////////////////////////////////////////////////////////////////
//                                                                      //
//  TCurlyArcEditor                                                     //
//                                                                      //
//  Implements GUI for editing CurlyArc attributes: radius, phi1, phi2. //                                             //
//                                                                      //
//////////////////////////////////////////////////////////////////////////

#ifndef ROOT_TGedFrame
#include "TGedFrame.h"
#endif

class TGNumberEntry;
class TCurlyArc;

class TCurlyArcEditor : public TGedFrame {

protected:
   TCurlyArc            *fCurlyArc;         // CurlyArc object
   TGNumberEntry        *fRadiusEntry;      // radius entry
   TGNumberEntry        *fPhiminEntry;      // Phimin entry
   TGNumberEntry        *fPhimaxEntry;      // Phimax entry
   TGNumberEntry        *fCenterXEntry;     // center x entry
   TGNumberEntry        *fCenterYEntry;     // center y entry

   virtual void   ConnectSignals2Slots();

public:
   TCurlyArcEditor(const TGWindow *p = 0,
                Int_t width = 140, Int_t height = 30,
                UInt_t options = kChildFrame,
                Pixel_t back = GetDefaultFrameBackground());
   virtual ~TCurlyArcEditor();

   virtual void   SetModel(TObject* obj);
   virtual void   DoRadius();
   virtual void   DoPhimin();
   virtual void   DoPhimax();
   virtual void   DoCenterXY();

   ClassDef(TCurlyArcEditor,0)  // GUI for editing arrow attributes
};

#endif

Last update: Thu Jan 17 08:47:35 2008

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.