25 #define GW_LEVEL_H Gw_Level
66 static void SetStylePalette(Style_t* pal) { ::memcpy(fgDefaultStyle, pal, fgkMaxStyle*
sizeof(Style_t)); }
67 static void SetColorPalette(Color_t* pal) { ::memcpy(fgDefaultColor, pal, fgkMaxColor*
sizeof(Color_t)); }
72 static Bool_t
IsMovable() {
return fgMovable ==
true; }
75 static const Short_t fgkMaxLevelLabel;
76 static const Int_t fgkMaxColor;
77 static const Int_t fgkMaxStyle;
79 static Style_t fgDefaultStyle[];
80 static Color_t fgDefaultColor[];
81 static Color_t fgDefaultLabelColor;
82 static Float_t fgDefaultLabelSize;
83 static Bool_t fgMovable;
131 virtual void SetLabels(
const char *l0,
const char *l1,
const char *l2,
const char *l3) ;
134 virtual void ExtraLine(Bool_t extra =
true);
158 virtual const char*
GetLabel0() {
return fLabel0.GetTitle(); }
159 virtual const char*
GetLabel1() {
return fLabel1.GetTitle(); }
160 virtual const char*
GetLabel2() {
return fLabel2.GetTitle(); }
161 virtual const char*
GetLabel3() {
return fLabel3.GetTitle(); }
167 virtual void SetLabel(
const char *, Int_t);
173 virtual void SetX1(Double_t);
175 virtual void SetX2(Double_t);
177 virtual void SetY1(Double_t);
179 virtual void SetY2(Double_t);
188 virtual Int_t
Compare(
const TObject *)
const;
197 virtual void Paint(Option_t* option =
"");
198 virtual void Draw(Option_t* option =
"");
201 virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py);
252 void Delete(
const Option_t* =
"") {
return; }
virtual const char * GetLabel0()
Get labels title.
virtual void DeSelected()
unselected link
static Color_t GetDefaultColor(EDefaultColor d)
virtual Bool_t IsVisible()
return visible
virtual void SetDY(Float_t dy)
virtual void SetUnmdified()
Set link unvisble.
static Style_t GetDefaultStyle(EDefaultStyle d)
virtual void SetColor(EDefaultColor color)
Set color.
ClassDef(Level, 4)
Root dictionary related.
virtual Bool_t IsSelected()
return selection
virtual void Paint(Option_t *option="")
used to paint a level
virtual void SetLabelsColor(Color_t color)
set all labels color
static void SetStylePalette(Style_t *pal)
virtual EDefaultStyle GetDefaultStyle()
return default style
virtual void SetLabelsSize(Float_t size)
set all labels size
static void SetDefaultLabelSize(Float_t size)
virtual EDefaultColor GetDefaultColor()
return default color
Base class for a Log message.
void SetExtraLineX2(Double_t)
virtual void SetModified()
Set link modified.
virtual void SetVisible()
Set link visible.
header file for GwLogMessage.cpp
virtual void ExtraLine(Bool_t extra=true)
Set extraline drawning.
virtual void Draw(Option_t *option="")
virtual const char * GetLabel3()
virtual void SetUnvisible()
Set link unvisble.
virtual const char * GetLabel1()
virtual const char * GetLabel2()
virtual Bool_t IsSortable() const
Set Sortable true.
virtual Bool_t HasExtraLine()
check if extra line
static Float_t GetDefaultLabelSize()
virtual TLatex & GetLabel(Int_t)
All labels are shifted when moving a level to another position.
virtual void SetDefaultLabels()
Set default labels.
virtual void SetPosLabel(const char *)
set position for levels
virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py)
to execute an event for this level
virtual void SetX2(Double_t)
All labels are shifted when moving a level to another position.
virtual void SetY1(Double_t)
All labels are shifted when moving a level to another position.
virtual void SetLabels(const char *l0, const char *l1, const char *l2, const char *l3)
set label titles
virtual Int_t Compare(const TObject *) const
used to sort a list of levels
static Bool_t IsMovable()
virtual TLine & GetExtraLine()
Get extra line.
virtual void SetVisLabel(const char *)
Used to determine which label should be drawn.
virtual const char * GetVisLabel()
Used to determine which label should be drawn.
virtual void SetLabel(const char *, Int_t)
to set labels
virtual void SetX1(Double_t)
All labels are shifted when moving a level to another position.
static void SetColorPalette(Color_t *pal)
virtual const char * GetPosLabel()
Used to determine the position of labels.
void Delete(const Option_t *="")
Delete, redifined to avoid appearence in Menu.
Bool_t fIsSelected
log message
virtual void SetY2(Double_t)
All labels are shifted when moving a level to another position.
void SetExtraLine(Double_t, Double_t)
extra line
virtual void SetStyle(EDefaultStyle style)
Set style.
virtual Bool_t IsModified()
return modified
virtual void Selected()
Selected link.
static Color_t GetDefaultLabelColor()
void SetExtraLineX1(Double_t)
static void DisableMove()
static void SetDefaultLabelColor(Color_t color)
Base class describing a general level.