00001 // @(#)root/eve:$Id: TEveWindowEditor.h 26561 2008-12-01 17:35:55Z matevz $ 00002 // Author: Matevz Tadel 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_TEveWindowEditor 00013 #define ROOT_TEveWindowEditor 00014 00015 #include "TGedFrame.h" 00016 00017 class TGButton; 00018 class TGCheckButton; 00019 class TGNumberEntry; 00020 class TGColorSelect; 00021 00022 class TEveWindow; 00023 00024 class TEveWindowEditor : public TGedFrame 00025 { 00026 private: 00027 TEveWindowEditor(const TEveWindowEditor&); // Not implemented 00028 TEveWindowEditor& operator=(const TEveWindowEditor&); // Not implemented 00029 00030 protected: 00031 TEveWindow *fM; // Model object. 00032 00033 TGCheckButton *fShowTitleBar; 00034 00035 public: 00036 TEveWindowEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30, 00037 UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground()); 00038 virtual ~TEveWindowEditor() {} 00039 00040 virtual void SetModel(TObject* obj); 00041 00042 void DoShowTitleBar(); 00043 00044 ClassDef(TEveWindowEditor, 0); // GUI editor for TEveWindow. 00045 }; 00046 00047 #endif