Warning, file /include/root/TAttLineEditor.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_TAttLineEditor
0013 #define ROOT_TAttLineEditor
0014
0015
0016 #include "TGedFrame.h"
0017
0018 class TGLineStyleComboBox;
0019 class TGLineWidthComboBox;
0020 class TGColorSelect;
0021 class TAttLine;
0022 class TGNumberEntryField;
0023
0024 class TAttLineEditor : public TGedFrame {
0025
0026 protected:
0027 TAttLine *fAttLine;
0028 TGLineStyleComboBox *fStyleCombo;
0029 TGLineWidthComboBox *fWidthCombo;
0030 TGColorSelect *fColorSelect;
0031 TGHSlider *fAlpha;
0032 TGNumberEntryField *fAlphaField;
0033
0034 virtual void ConnectSignals2Slots();
0035
0036 public:
0037 TAttLineEditor(const TGWindow *p = nullptr,
0038 Int_t width = 140, Int_t height = 30,
0039 UInt_t options = kChildFrame,
0040 Pixel_t back = GetDefaultFrameBackground());
0041 ~TAttLineEditor() override;
0042
0043 void SetModel(TObject* obj) override;
0044 virtual void DoLineColor(Pixel_t color);
0045 virtual void DoLineAlphaColor(ULongptr_t p);
0046 virtual void DoLineStyle(Int_t style);
0047 virtual void DoLineWidth(Int_t width);
0048 virtual void DoAlpha();
0049 virtual void DoAlphaField();
0050 virtual void DoLiveAlpha(Int_t a);
0051 virtual void GetCurAlpha();
0052
0053 ClassDefOverride(TAttLineEditor,0)
0054 };
0055
0056 #endif