94 fLabel->SetBackgroundColor(
fClient->GetResourcePool()->GetTipBgndColor());
95 fLabel->SetTextColor(
fClient->GetResourcePool()->GetTipFgndColor());
129 fLabel->SetBackgroundColor(
fClient->GetResourcePool()->GetTipBgndColor());
130 fLabel->SetTextColor(
fClient->GetResourcePool()->GetTipFgndColor());
162 fLabel->SetBackgroundColor(
fClient->GetResourcePool()->GetTipBgndColor());
163 fLabel->SetTextColor(
fClient->GetResourcePool()->GetTipFgndColor());
193 fLabel->SetBackgroundColor(
fClient->GetResourcePool()->GetTipBgndColor());
194 fLabel->SetTextColor(
fClient->GetResourcePool()->GetTipFgndColor());
243 Emit(
"Show(Int_t,Int_t)", args);
290 Int_t x = 0,
y = 0, px1 = 0, px2 = 0, py1 = 0;
300 px1 =
fPad->XtoAbsPixel(
fBox->GetX1());
301 px2 =
fPad->XtoAbsPixel(
fBox->GetX2());
302 py1 =
fPad->YtoAbsPixel(
fBox->GetY1());
305 px1 =
fPad->XtoAbsPixel(
fPad->GetX1());
306 px2 =
fPad->XtoAbsPixel(
fPad->GetX2());
307 py1 =
fPad->YtoAbsPixel(
fPad->GetY1());
312 px1 + ((px2-px1) >> 1), py1,
329 fLabel->SetWrapLength(-1);
334 fLabel->SetWrapLength((screenW/2)-15);
351 if (
rect.Contains(
mx, my)) {
355 else if (my +
fHeight+15 < screenH)
360 else if (move == 2) {
const Mask_t kWAOverrideRedirect
Handle_t Window_t
Window handle.
const Mask_t kWASaveUnder
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t mask
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t rect
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t attr
Option_t Option_t TPoint TPoint const char text
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char mx
R__EXTERN TSystem * gSystem
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.
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.