Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/root/TEveViewerListEditor.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 // @(#)root/eve:$Id$
0002 // Authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
0003 
0004 /*************************************************************************
0005  * Copyright (C) 1995-2007, Rene Brun and Fons Rademakers.               *
0006  * All rights reserved.                                                  *
0007  *                                                                       *
0008  * For the licensing terms see $ROOTSYS/LICENSE.                         *
0009  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
0010  *************************************************************************/
0011 
0012 #ifndef ROOT_TEveViewerListEditor
0013 #define ROOT_TEveViewerListEditor
0014 
0015 #include "TGedFrame.h"
0016 
0017 class TEveGValuator;
0018 class TEveViewerList;
0019 
0020 class TEveViewerListEditor : public TGedFrame
0021 {
0022 private:
0023    TEveViewerListEditor(const TEveViewerListEditor&);            // Not implemented
0024    TEveViewerListEditor& operator=(const TEveViewerListEditor&); // Not implemented
0025 
0026 protected:
0027    TEveViewerList            *fM; // Model object.
0028 
0029    TEveGValuator             *fBrightness;
0030    TGTextButton              *fColorSet;
0031 
0032 public:
0033    TEveViewerListEditor(const TGWindow *p = nullptr, Int_t width=170, Int_t height=30,
0034          UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
0035    ~TEveViewerListEditor() override {}
0036 
0037    void SetModel(TObject* obj) override;
0038 
0039    // Declare callback/slot methods
0040    void DoBrightness();
0041    void SwitchColorSet();
0042 
0043    ClassDefOverride(TEveViewerListEditor, 0); // GUI editor for TEveViewerList.
0044 };
0045 
0046 #endif