File indexing completed on 2024-11-15 09:56:50
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifndef ROOT_TAttMarkerEditor
0013 #define ROOT_TAttMarkerEditor
0014
0015
0016 #include "TGedFrame.h"
0017
0018 class TGNumberEntry;
0019 class TGColorSelect;
0020 class TGedMarkerSelect;
0021 class TAttMarker;
0022 class TGNumberEntryField;
0023
0024 class TAttMarkerEditor : public TGedFrame {
0025
0026 protected:
0027 TAttMarker *fAttMarker;
0028 TGNumberEntry *fMarkerSize;
0029 TGColorSelect *fColorSelect;
0030 TGedMarkerSelect *fMarkerType;
0031 Bool_t fSizeForText;
0032 TGHSlider *fAlpha;
0033 TGNumberEntryField *fAlphaField;
0034
0035 virtual void ConnectSignals2Slots();
0036
0037 public:
0038 TAttMarkerEditor(const TGWindow *p = nullptr,
0039 Int_t width = 140, Int_t height = 30,
0040 UInt_t options = kChildFrame,
0041 Pixel_t back = GetDefaultFrameBackground());
0042 ~TAttMarkerEditor() override;
0043
0044 void SetModel(TObject* obj) override;
0045 virtual void DoMarkerColor(Pixel_t color);
0046 virtual void DoMarkerAlphaColor(ULongptr_t p);
0047 virtual void DoMarkerSize();
0048 virtual void DoMarkerStyle(Style_t style);
0049 virtual void DoAlpha();
0050 virtual void DoAlphaField();
0051 virtual void DoLiveAlpha(Int_t a);
0052 virtual void GetCurAlpha();
0053
0054 ClassDefOverride(TAttMarkerEditor,0)
0055 };
0056
0057 #endif