12#ifndef ROOT_TGLAnnotation
13#define ROOT_TGLAnnotation
#define ClassDef(name, id)
static Color_t fgBackColor
static Color_t fgTextColor
void SetTextColor(Color_t x)
void MakeEditor()
Show the annotation editor.
void UpdateText()
Modify the annotation text from the text-edit widget.
void SetText(const TString &x)
Float_t GetTextSize() const
Color_t GetBackColor() const
TGLFont::ETextAlignH_e GetTextAlign() const
Bool_t GetAllowClose() const
void CloseEditor()
Close the annotation editor.
TGLFont::ETextAlignH_e fTextAlign
virtual ~TGLAnnotation()
Destructor.
void SetTransparency(Char_t x)
void SetUseColorSet(Bool_t x)
virtual Bool_t MouseEnter(TGLOvlSelectRecord &selRec)
Mouse has entered overlay area.
Color_t GetTextColor() const
virtual void Render(TGLRnrCtx &rnrCtx)
Render the annotation.
Char_t GetLineTransparency() const
Returns transparency of annotation outline.
TGLAnnotation(const TGLAnnotation &)
void SetTextAlign(TGLFont::ETextAlignH_e a)
void SetTextSize(Float_t x)
virtual void MouseLeave()
Mouse has left overlay area.
EDrag fDrag
last mouse position
Float_t fTextSizeDrag
width and height when drawing
void SetAllowClose(Bool_t x)
Char_t GetTransparency() const
Bool_t GetUseColorSet() const
const TString & GetText() const
virtual Bool_t Handle(TGLRnrCtx &rnrCtx, TGLOvlSelectRecord &selRec, Event_t *event)
Handle overlay event.
TGLAnnotation & operator=(const TGLAnnotation &)
void SetBackColor(Color_t x)
TGLVector3 fPointer
text-size at start of drag
A wrapper class for FTFont.
Selection record for overlay objects.
The TGLRnrCtx class aggregates data for a given redering context as needed by various parts of the RO...
3 component (x/y/z) vector class.
Base class for GL viewers.
Base GL viewer object - used by both standalone and embedded (in pad) GL.