/usr/include/root/TGLLightSetEditor.h is in libroot-graf3d-gl-dev 5.34.19+dfsg-1.2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 | // @(#)root/gl:$Id$
// Author: Matevz Tadel, Feb 2007
/*************************************************************************
* Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* *
* For the licensing terms see $ROOTSYS/LICENSE. *
* For the list of contributors see $ROOTSYS/README/CREDITS. *
*************************************************************************/
#ifndef ROOT_TGLLightSetEditor_H
#define ROOT_TGLLightSetEditor_H
#include <TGedFrame.h>
class TGButton;
class TGLLightSet;
class TGLLightSetSubEditor : public TGVerticalFrame
{
private:
TGLLightSetSubEditor(const TGLLightSetSubEditor&); // Not implemented
TGLLightSetSubEditor& operator=(const TGLLightSetSubEditor&); // Not implemented
protected:
TGLLightSet *fM;
TGGroupFrame *fLightFrame;
TGButton *fTopLight;
TGButton *fRightLight;
TGButton *fBottomLight;
TGButton *fLeftLight;
TGButton *fFrontLight;
TGButton *fSpecularLight;
TGButton* MakeLampButton(const char* name, Int_t wid, TGCompositeFrame* parent);
public:
TGLLightSetSubEditor(const TGWindow* p);
virtual ~TGLLightSetSubEditor() {}
void SetModel(TGLLightSet* m);
void Changed(); //*SIGNAL*
void DoButton();
ClassDef(TGLLightSetSubEditor, 0) // Sub-editor for TGLLightSet.
};
class TGLLightSetEditor : public TGedFrame
{
private:
TGLLightSetEditor(const TGLLightSetEditor&); // Not implemented
TGLLightSetEditor& operator=(const TGLLightSetEditor&); // Not implemented
protected:
TGLLightSet *fM; // fModel dynamic-casted to TGLLightSetEditor
TGLLightSetSubEditor *fSE;
public:
TGLLightSetEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
virtual ~TGLLightSetEditor();
virtual void SetModel(TObject* obj);
ClassDef(TGLLightSetEditor, 1) // Editor for TGLLightSet.
}; // endclass TGLLightSetEditor
#endif
|