52 class TTipDelayTimer :
public TTimer {
63 Bool_t TTipDelayTimer::Notify()
102 fDelay =
new TTipDelayTimer(
this, delayms);
136 fDelay =
new TTipDelayTimer(
this, delayms);
169 fDelay =
new TTipDelayTimer(
this, delayms);
202 fDelay =
new TTipDelayTimer(
this, delayms);
239 Emit(
"Show(Int_t,Int_t)", args);
286 Int_t x = 0,
y = 0, px1 = 0, px2 = 0, py1 = 0;
308 px1 + ((px2-px1) >> 1), py1,
323 dum1, dum2, mx, my, mx, my, mask);
333 if (x +
fWidth > screenW) {
351 else if (my +
fHeight+15 < screenH)
356 else if (move == 2) {
357 if (mx +
fWidth+15 < screenW)
367 else if (mx +
fWidth+15 < screenW)
virtual void Resize(UInt_t w=0, UInt_t h=0)
Resize the frame.
void Reset()
Reset the timer.
const TGString * GetText() const
Bool_t Contains(Int_t px, Int_t py) const
const TGResourcePool * GetResourcePool() const
Pixel_t GetTipFgndColor() const
void SetWrapLength(Int_t wl)
void box(Int_t pat, Double_t x1, Double_t y1, Double_t x2, Double_t y2)
virtual Double_t GetX1() const =0
UInt_t GetDisplayWidth() const
Get display width.
virtual void SetText(TGString *newText)
Set new text in label.
Pixel_t GetTipBgndColor() const
virtual void SetBackgroundColor(Pixel_t back)
Set background color (override from TGWindow base class).
TVirtualPad is an abstract base class for the Pad and Canvas classes.
virtual Bool_t Notify()
Notify when timer times out.
R__EXTERN TSystem * gSystem
const Mask_t kWASaveUnder
virtual TGDimension GetDefaultSize() const
std::cout << fWidth << "x" << fHeight << std::endl;
virtual Int_t XtoAbsPixel(Double_t x) const =0
Handles synchronous and a-synchronous timer events.
virtual Int_t GetCanvasID() const =0
static const TGGC & GetBlackGC()
Get black graphics context.
static constexpr double ms
virtual Double_t GetY1() const =0
virtual void Move(Int_t x, Int_t y)
Move frame.
virtual Int_t YtoAbsPixel(Double_t y) const =0
virtual void RaiseWindow()
const Mask_t kWAOverrideRedirect
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=0)
Add frame to the composite frame using the specified layout hints.
UInt_t GetDisplayHeight() const
Get display height.
const TGWindow * GetParent() const
virtual void MapSubwindows()
Map all sub windows that are part of the composite frame.
virtual void UnmapWindow()
virtual void AddTimer(TTimer *t)
Add timer to list of system timers.
virtual Double_t GetX2() const =0
void Emit(const char *signal, const T &arg)
Activate signal with single parameter.
static const TGGC & GetShadowGC()
Get shadow color graphics context.
void SetTime(Long_t milliSec)