File indexing completed on 2025-01-18 10:11:37
0001
0002
0003
0004
0005
0006
0007
0008
0009
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;
0025 TGNumberEntry *fRadiusEntry;
0026 TGNumberEntry *fPhiminEntry;
0027 TGNumberEntry *fPhimaxEntry;
0028 TGNumberEntry *fCenterXEntry;
0029 TGNumberEntry *fCenterYEntry;
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)
0047 };
0048
0049 #endif