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