77 b->
Connect(
"Clicked()",
"TGLLightSetSubEditor",
this,
"DoButton()");
138 fSE->Connect(
"Changed()",
"TGLLightSetEditor",
this,
"Update()");
void DoButton()
Lights radio button was clicked.
void SetLight(ELight light, Bool_t on)
Set a light on/off.
R__EXTERN void * gTQSender
Encapsulates a set of lights for OpenGL.
TGButton * MakeLampButton(const char *name, Int_t wid, TGCompositeFrame *parent)
Create a button for given lamp and set it up.
void Changed()
Data in sub-editor has been changed, emit "Changed()" signal.
Sub-editor for TGLLightSet.
TGButton * fSpecularLight
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...
virtual void SetModel(TObject *obj)
SetModel ... forward to sub-editor.
void SetModel(TGLLightSet *m)
New model was set, refresh data.
virtual ~TGLLightSetEditor()
Destructor.
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=0)
Add frame to the composite frame using the specified layout hints.
std::string MakeTitle(std::string_view version, std::string_view histname, std::string_view title, std::string_view axis)
Mother of all ROOT objects.
Bool_t GetUseSpecular() const
you should not use this method at all Int_t Int_t Double_t Double_t Double_t Int_t Double_t Double_t Double_t Double_t b
TGLLightSetSubEditor(const TGLLightSetSubEditor &)
void Emit(const char *signal, const T &arg)
Activate signal with single parameter.