Warning, file /include/root/TTextEditor.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_TTextEditor
0013 #define ROOT_TTextEditor
0014
0015 #include "TGedFrame.h"
0016
0017 class TText;
0018 class TGTextEntry;
0019 class TGNumberEntry;
0020
0021 class TTextEditor : public TGedFrame {
0022
0023 private:
0024 TText *fEditedText;
0025
0026 protected:
0027 TGTextEntry *fText;
0028 TGNumberEntry *fAngle;
0029 TGNumberEntry *fSize;
0030 TGNumberEntry *fXpos;
0031 TGNumberEntry *fYpos;
0032
0033 void ConnectSignals2Slots();
0034
0035 public:
0036 TTextEditor(const TGWindow *p = nullptr,
0037 Int_t width = 140, Int_t height = 30,
0038 UInt_t options = kChildFrame,
0039 Pixel_t back = GetDefaultFrameBackground());
0040 ~TTextEditor() override;
0041
0042 void SetModel(TObject *) override;
0043
0044 void DoAngle();
0045 void DoSize();
0046 void DoText(const char*);
0047 void DoXpos();
0048 void DoYpos();
0049
0050 ClassDefOverride(TTextEditor,0)
0051 };
0052
0053 #endif
0054