Warning, file /include/root/TGLLightSetEditor.h was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifndef ROOT_TGLLightSetEditor_H
0013 #define ROOT_TGLLightSetEditor_H
0014
0015 #include <TGedFrame.h>
0016
0017 class TGButton;
0018 class TGLLightSet;
0019
0020 class TGLLightSetSubEditor : public TGVerticalFrame
0021 {
0022 private:
0023 TGLLightSetSubEditor(const TGLLightSetSubEditor&) = delete;
0024 TGLLightSetSubEditor& operator=(const TGLLightSetSubEditor&) = delete;
0025
0026 protected:
0027 TGLLightSet *fM;
0028
0029 TGGroupFrame *fLightFrame;
0030 TGButton *fTopLight;
0031 TGButton *fRightLight;
0032 TGButton *fBottomLight;
0033 TGButton *fLeftLight;
0034 TGButton *fFrontLight;
0035
0036 TGButton *fSpecularLight;
0037
0038 TGButton* MakeLampButton(const char* name, Int_t wid, TGCompositeFrame* parent);
0039
0040 public:
0041 TGLLightSetSubEditor(const TGWindow* p);
0042 ~TGLLightSetSubEditor() override {}
0043
0044 void SetModel(TGLLightSet* m);
0045
0046 void Changed();
0047
0048 void DoButton();
0049
0050 ClassDefOverride(TGLLightSetSubEditor, 0)
0051 };
0052
0053
0054 class TGLLightSetEditor : public TGedFrame
0055 {
0056 private:
0057 TGLLightSetEditor(const TGLLightSetEditor&) = delete;
0058 TGLLightSetEditor& operator=(const TGLLightSetEditor&) = delete;
0059
0060 protected:
0061 TGLLightSet *fM;
0062 TGLLightSetSubEditor *fSE;
0063
0064 public:
0065 TGLLightSetEditor(const TGWindow *p = nullptr, Int_t width=170, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
0066 ~TGLLightSetEditor() override;
0067
0068 void SetModel(TObject* obj) override;
0069
0070 ClassDefOverride(TGLLightSetEditor, 0);
0071 };
0072
0073 #endif