73 const char *lbl1 =
"",
const char *lbl2 =
"",
74 const char *dsp1 =
"",
const char *dsp2 =
"",
int id = -1);
94 void SetLabelText(
const char *text1,
const char *text2 =
"");
#define ClassDef(name, id)
void NeedRedraw(TGWindow *w, Bool_t force=kFALSE)
Set redraw flags.
void SetOdoValue(Int_t val)
Set actual value of odo meter.
virtual ~TGSpeedo()
TGSpeedo widget Destructor.
Float_t GetScaleMin() const
void StepScale(Float_t step)
Increment/decrement scale (needle position) of "step" value.
EGlowColor fThresholdColor[3]
void SetDisplayText(const char *text1, const char *text2="")
Set small display text (two lines).
virtual void DoRedraw()
Redraw speedo widget.
Bool_t IsThresholdActive()
void Glow(EGlowColor col=kGreen)
Make speedo glowing.
void SetMinMaxScale(Float_t min, Float_t max)
Set min and max scale values.
const TGPicture * GetPicture() const
Float_t GetPeakVal() const
virtual Bool_t HandleButton(Event_t *event)
Handle mouse button event.
void DrawText()
Draw text in speedo widget.
void SetThresholds(Float_t th1=0.0, Float_t th2=0.0, Float_t th3=0.0)
void SetThresholdColors(EGlowColor col1, EGlowColor col2, EGlowColor col3)
virtual TGDimension GetDefaultSize() const
Return default dimension of the widget.
void Translate(Float_t val, Float_t angle, Int_t *x, Int_t *y)
Translate distance from center and angle to xy coordinates.
void SetLabelText(const char *text1, const char *text2="")
Set main label text (two lines).
void SetScaleValue(Float_t val)
Set actual scale (needle position) value.
void SetMeanValue(Float_t mean)
Float_t GetScaleMax() const
TImage * GetImage() const
void Build()
Build TGSpeedo widget.
void DrawNeedle()
Draw needle in speedo widget.
TGSpeedo(const TGWindow *p=0, int id=-1)
TGSpeedo widget constructor.
An abstract interface to image processing library.
void Emit(const char *signal, const T &arg)
Activate signal with single parameter.