Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

GuiAxis.h

Go to the documentation of this file.
00001 
00002 //
00003 // $Id: GuiAxis.h,v 1.3 2002/11/14 20:10:37 bv Exp $
00004 //
00005 // GuiAxis
00006 //
00007 // Package: MIDAD
00008 //
00009 // Turn an axis into a Gui element
00010 //
00011 // Contact: bv@bnl.gov
00012 //
00013 // Created on: Fri Oct  5 15:36:53 2001
00014 //
00016 
00017 #ifndef GUIAXIS_H
00018 #define GUIAXIS_H
00019 
00020 #include <Midad/Gui/GuiCanvas.h>
00021 #include <Midad/Util/Range.h>
00022 #include <TGaxis.h>
00023 
00024 class GuiAxis : public GuiCanvas
00025 {
00026 
00027 public:
00028 
00029     GuiAxis(TGWindow& parent, unsigned int options = kVerticalFrame);
00030     virtual ~GuiAxis();
00031 
00032     void UseRange(RangeDouble* r);
00033 
00034 private:
00035 
00036     void ApplyRange();
00037 
00038     TGaxis* fAxis;
00039     SigC::Ptr<RangeDouble> fRange;
00040     SigC::Connection fCon;
00041 };                              // end of class GuiAxis
00042 
00043 
00044 #endif  // GUIAXIS_H

Generated on Sat Nov 7 01:25:57 2009 for loon by  doxygen 1.3.9.1