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.
include TDocParser_001 C image html pict1_TDocParser_001 png width
char * Form(const char *fmt,...)
void SetLabelWidth(Int_t w)
void SetNELength(Int_t l)
Composite GUI element for single value selection (supports label, number-entry and 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 Build(Bool_t connect=kTRUE)
Create sub-components (label, number entry, slider).
virtual void SetValue(Float_t v, Bool_t emit=kFALSE)
Set value, optionally emit signal.
void DoFontMode()
Slot for setting FTGL attributes.
virtual void SetModel(TObject *obj)
Set model object.
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 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
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...
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=0)
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.
virtual UInt_t GetDefaultHeight() const
virtual void Resize(UInt_t w=0, UInt_t h=0)
Resize the frame.
static FontSizeVec_t * GetFontSizeArray()
Get valid font size vector.
static TObjArray * GetFontFileArray()
Get id to file name map.
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.
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