58 fText->
Connect(
"TextChanged(const char *)",
"TEveTextEditor",
this,
"DoText(const char *)");
64 for(
Int_t i= 0; i< nums; i++)
68 fSize->
Connect(
"Selected(Int_t)",
"TEveTextEditor",
this,
"DoFontSize()");
81 fFile->
Connect(
"Selected(Int_t)",
"TEveTextEditor",
this,
"DoFontFile()");
91 fMode->
Connect(
"Selected(Int_t)",
"TEveTextEditor",
this,
"DoFontMode()");
100 fExtrude->
Connect(
"ValueSet(Double_t)",
"TEveTextEditor",
this,
"DoExtrude()");
115 fLighting->
Connect(
"Toggled(Bool_t)",
"TEveTextEditor",
this,
"DoLighting()");
Int_t GetFontFile() const
virtual void HideFrame(TGFrame *f)
Hide sub frame.
virtual void Resize(UInt_t w=0, UInt_t h=0)
Resize the frame.
void SetAutoLighting(Bool_t isOn)
Float_t GetExtrude() const
void DoExtrude()
Slot for setting an extrude depth.
ClassImp(TSeqCollection) Int_t TSeqCollection TIter next(this)
Return index of object in collection.
Collectable string class.
virtual void SetValue(Float_t v, Bool_t emit=kFALSE)
Set value, optionally emit signal.
Bool_t GetAutoLighting() const
Int_t GetFontMode() const
virtual void ShowFrame(TGFrame *f)
Show sub frame.
void DoText(const char *)
Slot for setting text.
void SetToolTip(const char *tip)
Set the tooltip of the number-entry.
TGComboBox * MakeLabeledCombo(const char *name)
Helper function. Creates TGComboBox with fixed size TGLabel.
virtual void SetModel(TObject *obj)
Set model object.
void DoLighting()
Slot for enabling/disabling GL lighting.
Composite GUI element for single value selection (supports label, number-entry and slider)...
void SetText(const char *t)
const char * Data() const
void DoAutoLighting()
Slot for enabling/disabling defaults.
const char * GetText() const
virtual void Update()
Update the current pad when an attribute is changed via GUI.
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...
TGCompositeFrame(const TGCompositeFrame &)
void DoFontMode()
Slot for setting FTGL attributes.
virtual Int_t GetSelected() const
TGCheckButton * fLighting
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...
TString GetString() const
TEveTextEditor(const TEveTextEditor &)
void SetNELength(Int_t l)
char * Form(const char *fmt,...)
Bool_t GetLighting() const
const char * GetText() const
virtual void Build(Bool_t connect=kTRUE)
Create sub-components (label, number entry, slider).
virtual void AddEntry(TGString *s, Int_t id)
void SetExtrude(Float_t x)
void SetFontSize(Int_t size, Bool_t validate=kTRUE)
Set valid font size.
TEveElement class used for displaying FreeType GL fonts.
void SetFontMode(Int_t mode)
Set FTFont class ID.
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=0)
Add frame to the composite frame using the specified layout hints.
Mother of all ROOT objects.
void SetFontFile(Int_t file)
Int_t GetFontSize() const
virtual UInt_t GetDefaultHeight() const
void DoFontFile()
Slot for setting FTGL attributes.
void SetLabelWidth(Int_t w)
void DoFontSize()
Slot for setting FTGL attributes.
static FontSizeVec_t * GetFontSizeArray()
Get valid font size vector.
static TObjArray * GetFontFileArray()
Get id to file name map.
void SetLimits(Int_t min, Int_t max)
Set limits of the represented value for integer values.
void SetLighting(Bool_t isOn)
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.
TGCheckButton * fAutoLighting