Logo ROOT   6.30.04
Reference Guide
 All Namespaces Files Pages
TGuiBldGeometryFrame.h
Go to the documentation of this file.
1 // @(#)root/guibuilder:$Id$
2 // Author: Valeriy Onuchin, Lucie Flekova 12/09/04
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. *
6  * All rights reserved. *
7  * *
8  * For the licensing terms see $ROOTSYS/LICENSE. *
9  * For the list of contributors see $ROOTSYS/README/CREDITS. *
10  *************************************************************************/
11 
12 #ifndef ROOT_TGuiBldGeometryFrame
13 #define ROOT_TGuiBldGeometryFrame
14 
15 
16 //////////////////////////////////////////////////////////////////////////
17 // //
18 // TGuiBldGeometryFrame //
19 // //
20 //////////////////////////////////////////////////////////////////////////
21 
22 
23 #include "TGFrame.h"
24 
25 
26 class TGuiBldEditor;
27 class TGNumberEntry;
28 class TGFrame;
29 class TRootGuiBuilder;
30 class TGuiBldDragManager;
31 
32 
33 //////////////////////////////////////////////////////////////////////////
34 class TGuiBldGeometryFrame : public TGVerticalFrame {
35 
36 friend class TGuiBldDragManager;
37 
38 private:
39  TGuiBldEditor *fEditor;
40  TRootGuiBuilder *fBuilder;
41  TGuiBldDragManager *fDragManager;
42  TGNumberEntry *fNEWidth;
43  TGNumberEntry *fNEHeight;
44  TGFrame *fSelected;
45 
46 public:
47  TGuiBldGeometryFrame(const TGWindow *p, TGuiBldEditor *editor);
48  virtual ~TGuiBldGeometryFrame() { }
49 
50  void ResizeSelected();
51  void ChangeSelected(TGFrame *frame);
52 
53  ClassDef(TGuiBldGeometryFrame, 0) // frame geometry editor
54 };
55 
56 #endif
57 
58