00001 // @(#)root/graf:$Id: TFrame.h 20882 2007-11-19 11:31:26Z rdm $ 00002 // Author: Rene Brun 31/10/96 00003 00004 /************************************************************************* 00005 * Copyright (C) 1995-2000, 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_TFrame 00013 #define ROOT_TFrame 00014 00015 00016 ////////////////////////////////////////////////////////////////////////// 00017 // // 00018 // TFrame // 00019 // // 00020 // TFrame A TWbox for drawing histogram frames. // 00021 // // 00022 ////////////////////////////////////////////////////////////////////////// 00023 00024 #ifndef ROOT_TWbox 00025 #include "TWbox.h" 00026 #endif 00027 00028 00029 class TFrame : public TWbox { 00030 00031 00032 public: 00033 TFrame(); 00034 TFrame(Double_t x1, Double_t y1,Double_t x2 ,Double_t y2); 00035 TFrame(const TFrame &frame); 00036 virtual ~TFrame(); 00037 void Copy(TObject &frame) const; 00038 virtual void Draw(Option_t *option=""); 00039 virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py); 00040 virtual void Paint(Option_t *option=""); 00041 virtual void Pop(); 00042 virtual void SavePrimitive(ostream &out, Option_t *option = ""); 00043 virtual void UseCurrentStyle(); // *MENU* 00044 00045 ClassDef(TFrame,1) //Pad graphics frame 00046 }; 00047 00048 #endif 00049