12#ifndef ROOT_TGLAnnotation
13#define ROOT_TGLAnnotation
#define ClassDefOverride(name, id)
Option_t Option_t TPoint TPoint const char text
static Color_t fgBackColor
TGLAnnotation(const TGLAnnotation &)=delete
Bool_t MouseEnter(TGLOvlSelectRecord &selRec) override
Mouse has entered overlay area.
Bool_t Handle(TGLRnrCtx &rnrCtx, TGLOvlSelectRecord &selRec, Event_t *event) override
Handle overlay event.
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)
TGLAnnotation & operator=(const TGLAnnotation &)=delete
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
void SetTransparency(Char_t x)
void SetUseColorSet(Bool_t x)
Color_t GetTextColor() const
Char_t GetLineTransparency() const
Returns transparency of annotation outline.
void SetTextAlign(TGLFont::ETextAlignH_e a)
~TGLAnnotation() override
Destructor.
void MouseLeave() override
Mouse has left overlay area.
void SetTextSize(Float_t x)
EDrag fDrag
last mouse position
void Render(TGLRnrCtx &rnrCtx) override
Render the annotation.
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
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.
Defines top level windows that interact with the system Window Manager.
A TGTextEdit is a specialization of TGTextView.