Warning, file /include/root/TArrowEditor.h was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifndef ROOT_TArrowEditor
0013 #define ROOT_TArrowEditor
0014
0015
0016 #include "GuiTypes.h"
0017 #include "TGedFrame.h"
0018 #include "TGFrame.h"
0019
0020 class TGComboBox;
0021 class TGNumberEntry;
0022 class TArrow;
0023
0024 class TArrowEditor : public TGedFrame {
0025
0026 protected:
0027 TArrow *fArrow;
0028 TGComboBox *fOptionCombo;
0029 TGNumberEntry *fAngleEntry;
0030 TGNumberEntry *fSizeEntry;
0031
0032 virtual void ConnectSignals2Slots();
0033 TGComboBox *BuildOptionComboBox(TGFrame* parent, Int_t id);
0034 Int_t GetShapeEntry(Option_t *opt);
0035
0036 public:
0037 TArrowEditor(const TGWindow *p = nullptr,
0038 Int_t width = 140, Int_t height = 30,
0039 UInt_t options = kChildFrame,
0040 Pixel_t back = GetDefaultFrameBackground());
0041 ~TArrowEditor() override;
0042
0043 void SetModel(TObject* obj) override;
0044 virtual void DoAngle();
0045 virtual void DoOption(Int_t id);
0046 virtual void DoSize();
0047
0048 ClassDefOverride(TArrowEditor,0)
0049 };
0050
0051 #endif