30 fLightFrame (nullptr),
32 fRightLight (nullptr),
33 fBottomLight (nullptr),
35 fFrontLight (nullptr),
36 fSpecularLight (nullptr)
70 b->Connect(
"Clicked()",
"TGLLightSetSubEditor",
this,
"DoButton()");
131 fSE->
Connect(
"Changed()",
"TGLLightSetEditor",
this,
"Update()");
ULong_t Pixel_t
Pixel value.
winID h TVirtualViewer3D TVirtualGLPainter p
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize wid
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t height
R__EXTERN void * gTQSender
The base class for composite widgets (menu bars, list boxes, etc.).
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=nullptr)
Add frame to the composite frame using the specified layout hints.
A composite frame with a border and a title.
virtual void SetTitlePos(ETitlePos pos=kLeft)
A composite frame that layout their children in horizontal way.
void SetModel(TObject *obj) override
SetModel ... forward to sub-editor.
TGLLightSetEditor(const TGLLightSetEditor &)=delete
TGLLightSetSubEditor * fSE
~TGLLightSetEditor() override
Destructor.
Sub-editor for TGLLightSet.
void SetModel(TGLLightSet *m)
New model was set, refresh data.
TGGroupFrame * fLightFrame
void DoButton()
Lights radio button was clicked.
TGButton * MakeLampButton(const char *name, Int_t wid, TGCompositeFrame *parent)
Create a button for given lamp and set it up.
TGButton * fSpecularLight
TGLLightSetSubEditor(const TGLLightSetSubEditor &)=delete
void Changed()
Data in sub-editor has been changed, emit "Changed()" signal.
Encapsulates a set of lights for OpenGL.
Bool_t GetUseSpecular() const
void SetLight(ELight light, Bool_t on)
Set a light on/off.
This class describes layout hints used by the layout classes.
A composite frame that layout their children in vertical way.
ROOT GUI Window base class.
Base frame for implementing GUI - a service class.
virtual void MakeTitle(const char *title)
Create attribute frame title.
Mother of all ROOT objects.
void Emit(const char *signal, const T &arg)
Activate signal with single parameter.
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.