00001 // @(#)root/guibuilder:$Id: TGuiBldGeometryFrame.h 30063 2009-09-08 12:15:59Z bellenot $ 00002 // Author: Valeriy Onuchin, Lucie Flekova 12/09/04 00003 00004 /************************************************************************* 00005 * Copyright (C) 1995-2004, 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_TGuiBldGeometryFrame 00013 #define ROOT_TGuiBldGeometryFrame 00014 00015 00016 ////////////////////////////////////////////////////////////////////////// 00017 // // 00018 // TGuiBldGeometryFrame // 00019 // // 00020 ////////////////////////////////////////////////////////////////////////// 00021 00022 00023 #ifndef ROOT_TGFrame 00024 #include "TGFrame.h" 00025 #endif 00026 00027 00028 class TGuiBldEditor; 00029 class TGNumberEntry; 00030 class TGFrame; 00031 class TRootGuiBuilder; 00032 class TGuiBldDragManager; 00033 00034 00035 ////////////////////////////////////////////////////////////////////////// 00036 class TGuiBldGeometryFrame : public TGVerticalFrame { 00037 00038 friend class TGuiBldDragManager; 00039 00040 private: 00041 TGuiBldEditor *fEditor; 00042 TRootGuiBuilder *fBuilder; 00043 TGuiBldDragManager *fDragManager; 00044 TGNumberEntry *fNEWidth; 00045 TGNumberEntry *fNEHeight; 00046 TGFrame *fSelected; 00047 00048 public: 00049 TGuiBldGeometryFrame(const TGWindow *p, TGuiBldEditor *editor); 00050 virtual ~TGuiBldGeometryFrame() { } 00051 00052 void ResizeSelected(); 00053 void ChangeSelected(TGFrame *frame); 00054 00055 ClassDef(TGuiBldGeometryFrame, 0) // frame geometry editor 00056 }; 00057 00058 #endif 00059 00060