00001 // @(#)root/eve:$Id: TEveStraightLineSetEditor.h 21310 2007-12-10 19:05:45Z matevz $ 00002 // Authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007 00003 00004 /************************************************************************* 00005 * Copyright (C) 1995-2007, Rene Brun and Fons Rademakers. * 00006 * All rights reserved. * 00007 * * 00008 * For the licensing terms see $ROOTSYS/LICENSE. * 00009 * For the list of contributors see $ROOTSYS/README/CREDITS. * 00010 *************************************************************************/ 00011 00012 #ifndef ROOT_TEveStraightLineSetEditor 00013 #define ROOT_TEveStraightLineSetEditor 00014 00015 #include "TGedFrame.h" 00016 00017 class TGCheckButton; 00018 class TGNumberEntry; 00019 class TGColorSelect; 00020 00021 class TEveStraightLineSet; 00022 00023 class TEveStraightLineSetEditor : public TGedFrame 00024 { 00025 private: 00026 TEveStraightLineSetEditor(const TEveStraightLineSetEditor&); // Not implemented 00027 TEveStraightLineSetEditor& operator=(const TEveStraightLineSetEditor&); // Not implemented 00028 00029 protected: 00030 TEveStraightLineSet* fM; // fModel dynamic-casted to TEveStraightLineSetEditor 00031 00032 // Declare widgets 00033 TGCheckButton* fRnrMarkers; 00034 TGCheckButton* fRnrLines; 00035 00036 public: 00037 TEveStraightLineSetEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30, UInt_t options = kChildFrame, Pixel_t back=GetDefaultFrameBackground()); 00038 virtual ~TEveStraightLineSetEditor() {} 00039 00040 virtual void SetModel(TObject* obj); 00041 00042 // Declare callback/slot methods 00043 void DoRnrMarkers(); 00044 void DoRnrLines(); 00045 00046 ClassDef(TEveStraightLineSetEditor, 1); // Editor for TEveStraightLineSet class. 00047 }; 00048 00049 #endif