55 fText->Connect(
"TextChanged(const char *)",
"TEveTextEditor",
this,
"DoText(const char *)");
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()");
96 fExtrude->SetToolTip(
"Extrusion depth.");
97 fExtrude->Connect(
"ValueSet(Double_t)",
"TEveTextEditor",
this,
"DoExtrude()");
109 fAutoLighting->Connect(
"Toggled(Bool_t)",
"TEveTextEditor",
this,
"DoAutoLighting()");
112 fLighting->Connect(
"Toggled(Bool_t)",
"TEveTextEditor",
this,
"DoLighting()");
145 if (strcmp(
fM->GetText(),
fText->GetText()))
156 if (
fM->GetAutoLighting()) {
198 fM->SetFontFile(
fFile->GetSelected());
206 fM->SetFontMode(
fMode->GetSelected());
ULong_t Pixel_t
Pixel value.
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.
Composite GUI element for single value selection (supports label, number-entry and slider).
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.
A combobox (also known as a drop down listbox) allows the selection of one item out of a list of item...
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=nullptr)
Add frame to the composite frame using the specified layout hints.
TGCompositeFrame(const TGCompositeFrame &)=delete
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.
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.
ROOT GUI Window base class.
TGedFrame(const TGedFrame &)=delete
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.
const char * Data() const