ROOT logo
// @(#)root/ged:$Id$
// 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
 TCurlyArcEditor.h:1
 TCurlyArcEditor.h:2
 TCurlyArcEditor.h:3
 TCurlyArcEditor.h:4
 TCurlyArcEditor.h:5
 TCurlyArcEditor.h:6
 TCurlyArcEditor.h:7
 TCurlyArcEditor.h:8
 TCurlyArcEditor.h:9
 TCurlyArcEditor.h:10
 TCurlyArcEditor.h:11
 TCurlyArcEditor.h:12
 TCurlyArcEditor.h:13
 TCurlyArcEditor.h:14
 TCurlyArcEditor.h:15
 TCurlyArcEditor.h:16
 TCurlyArcEditor.h:17
 TCurlyArcEditor.h:18
 TCurlyArcEditor.h:19
 TCurlyArcEditor.h:20
 TCurlyArcEditor.h:21
 TCurlyArcEditor.h:22
 TCurlyArcEditor.h:23
 TCurlyArcEditor.h:24
 TCurlyArcEditor.h:25
 TCurlyArcEditor.h:26
 TCurlyArcEditor.h:27
 TCurlyArcEditor.h:28
 TCurlyArcEditor.h:29
 TCurlyArcEditor.h:30
 TCurlyArcEditor.h:31
 TCurlyArcEditor.h:32
 TCurlyArcEditor.h:33
 TCurlyArcEditor.h:34
 TCurlyArcEditor.h:35
 TCurlyArcEditor.h:36
 TCurlyArcEditor.h:37
 TCurlyArcEditor.h:38
 TCurlyArcEditor.h:39
 TCurlyArcEditor.h:40
 TCurlyArcEditor.h:41
 TCurlyArcEditor.h:42
 TCurlyArcEditor.h:43
 TCurlyArcEditor.h:44
 TCurlyArcEditor.h:45
 TCurlyArcEditor.h:46
 TCurlyArcEditor.h:47
 TCurlyArcEditor.h:48
 TCurlyArcEditor.h:49
 TCurlyArcEditor.h:50
 TCurlyArcEditor.h:51
 TCurlyArcEditor.h:52
 TCurlyArcEditor.h:53
 TCurlyArcEditor.h:54
 TCurlyArcEditor.h:55
 TCurlyArcEditor.h:56
 TCurlyArcEditor.h:57
 TCurlyArcEditor.h:58