47 fAutoLighting(nullptr)
55 fText->
Connect(
"TextChanged(const char *)",
"TEveTextEditor",
this,
"DoText(const char *)");
61 for(
Int_t i= 0; i< nums; i++)
65 fSize->
Connect(
"Selected(Int_t)",
"TEveTextEditor",
this,
"DoFontSize()");
78 fFile->
Connect(
"Selected(Int_t)",
"TEveTextEditor",
this,
"DoFontFile()");
88 fMode->
Connect(
"Selected(Int_t)",
"TEveTextEditor",
this,
"DoFontMode()");
97 fExtrude->
Connect(
"ValueSet(Double_t)",
"TEveTextEditor",
this,
"DoExtrude()");
112 fLighting->
Connect(
"Toggled(Bool_t)",
"TEveTextEditor",
this,
"DoLighting()");
ULong_t Pixel_t
Pixel value.
winID h TVirtualViewer3D TVirtualGLPainter p
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t height
char * Form(const char *fmt,...)
Formats a string in a circular formatting buffer.
void SetLabelWidth(Int_t w)
void SetNELength(Int_t l)
Composite GUI element for single value selection (supports label, number-entry and slider).
void Build(Bool_t connect=kTRUE) override
Create sub-components (label, number entry, slider).
void SetToolTip(const char *tip)
Set the tooltip of the number-entry.
void SetLimits(Int_t min, Int_t max)
Set limits of the represented value for integer values.
virtual void SetValue(Float_t v, Bool_t emit=kFALSE)
Set value, optionally emit signal.
void DoFontMode()
Slot for setting FTGL attributes.
TGCheckButton * fLighting
void DoText(const char *)
Slot for setting text.
void DoFontFile()
Slot for setting FTGL attributes.
TGCheckButton * fAutoLighting
void DoLighting()
Slot for enabling/disabling GL lighting.
void DoAutoLighting()
Slot for enabling/disabling defaults.
void SetModel(TObject *obj) override
Set model object.
void DoFontSize()
Slot for setting FTGL attributes.
void DoExtrude()
Slot for setting an extrude depth.
TEveTextEditor(const TEveTextEditor &)
TGComboBox * MakeLabeledCombo(const char *name)
Helper function. Creates TGComboBox with fixed size TGLabel.
TEveElement class used for displaying FreeType GL fonts.
Float_t GetExtrude() const
const char * GetText() const
void SetAutoLighting(Bool_t isOn)
void SetFontFile(Int_t file)
Bool_t GetAutoLighting() const
void SetFontMode(Int_t mode)
Set FTFont class ID.
void SetFontSize(Int_t size, Bool_t validate=kTRUE)
Set valid font size.
Bool_t GetLighting() const
void SetLighting(Bool_t isOn)
Int_t GetFontSize() const
Int_t GetFontFile() const
void SetText(const char *t)
void SetExtrude(Float_t x)
Int_t GetFontMode() const
A combobox (also known as a drop down listbox) allows the selection of one item out of a list of item...
virtual Int_t GetSelected() const
virtual void AddEntry(TGString *s, Int_t id)
virtual void Select(Int_t id, Bool_t emit=kTRUE)
Make the selected item visible in the combo box window and emit signals according to the second param...
The base class for composite widgets (menu bars, list boxes, etc.).
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=nullptr)
Add frame to the composite frame using the specified layout hints.
virtual void ShowFrame(TGFrame *f)
Show sub frame.
virtual void HideFrame(TGFrame *f)
Hide sub frame.
void Resize(UInt_t w=0, UInt_t h=0) override
Resize the frame.
virtual UInt_t GetDefaultHeight() const
A horizontal 3D line is a line that typically separates a toolbar from the menubar.
A composite frame that layout their children in horizontal way.
static FontSizeVec_t * GetFontSizeArray()
Get valid font size vector.
static TObjArray * GetFontFileArray()
Get id to file name map.
This class handles GUI labels.
This class describes layout hints used by the layout classes.
A TGTextEntry is a one line text input widget.
const char * GetText() const
virtual void SetText(const char *text, Bool_t emit=kTRUE)
Sets text entry to text, clears the selection and moves the cursor to the end of the line.
ROOT GUI Window base class.
Base frame for implementing GUI - a service class.
virtual void MakeTitle(const char *title)
Create attribute frame title.
virtual void Update()
Update the current pad when an attribute is changed via GUI.
Collectable string class.
const TString & GetString() const
Mother of all ROOT objects.
Bool_t Connect(const char *signal, const char *receiver_class, void *receiver, const char *slot)
Non-static method is used to connect from the signal of this object to the receiver slot.
const char * Data() const