93 fLabel->SetBackgroundColor(
fClient->GetResourcePool()->GetTipBgndColor());
94 fLabel->SetTextColor(
fClient->GetResourcePool()->GetTipFgndColor());
128 fLabel->SetBackgroundColor(
fClient->GetResourcePool()->GetTipBgndColor());
129 fLabel->SetTextColor(
fClient->GetResourcePool()->GetTipFgndColor());
161 fLabel->SetBackgroundColor(
fClient->GetResourcePool()->GetTipBgndColor());
162 fLabel->SetTextColor(
fClient->GetResourcePool()->GetTipFgndColor());
192 fLabel->SetBackgroundColor(
fClient->GetResourcePool()->GetTipBgndColor());
193 fLabel->SetTextColor(
fClient->GetResourcePool()->GetTipFgndColor());
242 Emit(
"Show(Int_t,Int_t)", args);
289 Int_t x = 0,
y = 0, px1 = 0, px2 = 0, py1 = 0;
299 px1 =
fPad->XtoAbsPixel(
fBox->GetX1());
300 px2 =
fPad->XtoAbsPixel(
fBox->GetX2());
301 py1 =
fPad->YtoAbsPixel(
fBox->GetY1());
304 px1 =
fPad->XtoAbsPixel(
fPad->GetX1());
305 px2 =
fPad->XtoAbsPixel(
fPad->GetX2());
306 py1 =
fPad->YtoAbsPixel(
fPad->GetY1());
311 px1 + ((px2-px1) >> 1), py1,
326 dum1, dum2, mx, my, mx, my, mask);
328 fLabel->SetWrapLength(-1);
333 fLabel->SetWrapLength((screenW/2)-15);
354 else if (my +
fHeight+15 < screenH)
359 else if (move == 2) {
360 if (mx +
fWidth+15 < screenW)
370 else if (mx +
fWidth+15 < screenW)
const Mask_t kWAOverrideRedirect
const Mask_t kWASaveUnder
Handle_t Window_t
Window handle.
int Int_t
Signed integer 4 bytes (int).
long Longptr_t
Integer large enough to hold a pointer (platform-dependent).
unsigned int UInt_t
Unsigned integer 4 bytes (unsigned int).
long Long_t
Signed long integer 4 bytes (long). Size depends on architecture.
bool Bool_t
Boolean (0=false, 1=true) (bool).
TGDimension GetDefaultSize() const override
std::cout << fWidth << "x" << fHeight << std::endl;
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=nullptr)
Add frame to the composite frame using the specified layout hints.
void MapSubwindows() override
Map all sub windows that are part of the composite frame.
TGCompositeFrame(const TGCompositeFrame &)=delete
static const TGGC & GetBlackGC()
Get black graphics context.
void Resize(UInt_t w=0, UInt_t h=0) override
Resize the frame.
TGFrame(const TGFrame &)=delete
UInt_t fHeight
frame height
void SetBackgroundColor(Pixel_t back) override
Set background color (override from TGWindow base class).
void MapWindow() override
map window
void Move(Int_t x, Int_t y) override
Move frame.
void UnmapWindow() override
unmap window
static const TGGC & GetShadowGC()
Get shadow color graphics context.
This class handles GUI labels.
This class describes layout hints used by the layout classes.
TGClient * fClient
Connection to display server.
Handle_t fId
X11/Win32 Window identifier.
Bool_t Contains(Int_t px, Int_t py) const
TGString wraps a TString and adds some graphics routines like drawing, size of string on screen depen...
const TGWindow * GetParent() const
virtual void RaiseWindow()
raise window
void Emit(const char *signal, const T &arg)
Activate signal with single parameter.
Handles synchronous and a-synchronous timer events.
void Reset()
Reset the timer.
TTimer(const TTimer &)=delete
Bool_t Notify() override
Notify when timer times out and reset the timer.
TTipDelayTimer(TGToolTip *tip, Long_t ms)
TVirtualPad is an abstract base class for the Pad and Canvas classes.
void box(Int_t pat, Double_t x1, Double_t y1, Double_t x2, Double_t y2)
Attributes that can be used when creating or changing a window.
Bool_t fOverrideRedirect
boolean value for override-redirect
Mask_t fMask
bit mask specifying which fields are valid
Bool_t fSaveUnder
should bits under be saved (popups)?