77 b->
Connect(
"Clicked()",
"TGLLightSetSubEditor",
this,
"DoButton()");
134 MakeTitle(
"TGLLightSet");
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.
Bool_t GetUseSpecular() const
Sub-editor for TGLLightSet.
TGButton * fSpecularLight
void Emit(const char *signal)
Acitvate signal without args.
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.
TGLLightSetSubEditor * fSE
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=0)
Add frame to the composite frame using the specified layout hints.
Mother of all ROOT objects.
ClassImp(TGLLightSetSubEditor) TGLLightSetSubEditor