GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
TGo4Label Class Reference

Text label that knows its author. More...

#include <TGo4LabelPainter.h>

+ Inheritance diagram for TGo4Label:

Public Member Functions

 TGo4Label ()
 
 TGo4Label (Double_t x1, Double_t y1, Double_t x2, Double_t y2, Option_t *option="br")
 
virtual ~TGo4Label ()
 
void ExecuteEvent (Int_t event, Int_t px, Int_t py) override
 
void Paint (Option_t *opt="") override
 
void SetOwner (TObject *ob)
 

Static Public Attributes

static const void * fxLastDeleted = nullptr
 set this to pointer of last deleted instance before
 

Private Attributes

TObject * fxOwner {nullptr}
 the owner of this label
 

Detailed Description

Text label that knows its author.

Required to suppress orphaned copies of marker and condition labels after canvas reconstruction by streamer.

Since
8/2004
Author
J. Adamczewski

Definition at line 27 of file TGo4LabelPainter.h.

Constructor & Destructor Documentation

◆ TGo4Label() [1/2]

TGo4Label::TGo4Label ( )
inline

Definition at line 30 of file TGo4LabelPainter.h.

References fxOwner.

◆ TGo4Label() [2/2]

TGo4Label::TGo4Label ( Double_t x1,
Double_t y1,
Double_t x2,
Double_t y2,
Option_t * option = "br" )
inline

Definition at line 32 of file TGo4LabelPainter.h.

References fxOwner.

◆ ~TGo4Label()

virtual TGo4Label::~TGo4Label ( )
inlinevirtual

Definition at line 38 of file TGo4LabelPainter.h.

References fxLastDeleted.

Member Function Documentation

◆ ExecuteEvent()

void TGo4Label::ExecuteEvent ( Int_t event,
Int_t px,
Int_t py )
override

Definition at line 216 of file TGo4LabelPainter.cxx.

References TGo4LabelPainter::DisplayToFront(), and fxOwner.

◆ Paint()

void TGo4Label::Paint ( Option_t * opt = "")
override

Definition at line 201 of file TGo4LabelPainter.cxx.

References fxOwner.

◆ SetOwner()

void TGo4Label::SetOwner ( TObject * ob)
inline

Definition at line 40 of file TGo4LabelPainter.h.

References fxOwner.

Field Documentation

◆ fxLastDeleted

const void * TGo4Label::fxLastDeleted = nullptr
static

set this to pointer of last deleted instance before

Definition at line 47 of file TGo4LabelPainter.h.

Referenced by ~TGo4Label(), and TGo4LabelPainter::CheckLabel().

◆ fxOwner

TObject* TGo4Label::fxOwner {nullptr}
private

the owner of this label

Definition at line 51 of file TGo4LabelPainter.h.

Referenced by TGo4Label(), TGo4Label(), ExecuteEvent(), Paint(), and SetOwner().


The documentation for this class was generated from the following files: