Warning, file /include/root/TStructNodeProperty.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_TStructNodeProperty
0013 #define ROOT_TStructNodeProperty
0014
0015 #include <TNamed.h>
0016 #include <TColor.h>
0017 #include <TGColorSelect.h>
0018
0019 class TStructNodeProperty : public TNamed {
0020
0021 private:
0022 TColor fColor;
0023
0024 public:
0025 TStructNodeProperty(const char * name, Int_t color);
0026 TStructNodeProperty(const char * name, Pixel_t pixel);
0027 ~TStructNodeProperty() override;
0028
0029 TColor GetColor() const;
0030 Pixel_t GetPixel() const;
0031 void SetColor(const TColor & color);
0032 void SetColor(Pixel_t pixel);
0033 void SetColor(Int_t color);
0034 Int_t Compare(const TObject* obj) const override;
0035 Bool_t IsSortable() const override;
0036
0037 ClassDefOverride(TStructNodeProperty, 1);
0038 };
0039
0040 #endif