8#ifndef HAL_FEATURES_HIST_STYLES_FILLSTYLE_H_
9#define HAL_FEATURES_HIST_STYLES_FILLSTYLE_H_
11#include <RtypesCore.h>
21 static const unsigned short int kColor;
22 static const unsigned short int kStyle;
25 void SetColor(Int_t val);
27 void SetStyle(Int_t val);
29 Int_t GetColor()
const;
31 Int_t GetStyle()
const;
33 void ExportToXML(
XMLNode* node)
const;
35 void ImportFromXML(
XMLNode* node);
38 void Apply(T& x)
const;
47inline void Hal::FillStyle::Apply(T& x)
const {
48 if (
Find(kColor)) x.SetFillColor(GetI(kColor));
49 if (
Find(kStyle)) x.SetFillStyle(GetI(kStyle));
Bool_t Find(Int_t bit) const