// @(#)root/qtgsi:$Id$
// Author: Denis Bertini, M. Al-Turany  01/11/2000

/*************************************************************************
 * Copyright (C) 1995-2006, Rene Brun and Fons Rademakers.               *
 * All rights reserved.                                                  *
 *                                                                       *
 * For the licensing terms see $ROOTSYS/LICENSE.                         *
 * For the list of contributors see $ROOTSYS/README/CREDITS.             *
 *************************************************************************/


//////////////////////////////////////////////////////////////////////////
//                                                                      //
// ABC describing GUI independent main window (with menubar, scrollbars //
// and a drawing area).                                                 //
//                                                                      //
//////////////////////////////////////////////////////////////////////////

#include "TQCanvasImp.h"
#include "TQRootCanvas.h"

ClassImp(TQCanvasImp)

//______________________________________________________________________________
TQCanvasImp::TQCanvasImp(TCanvas *c, const char *name, UInt_t width, UInt_t height)
{
   //  TQCanvasImp ctor

   //  @param c (ptr to ROOT TCanvas)
   //  @param name (title for canvas)
   //  @param width
   //  @param height

   Build(c,name,10,10,width,height);
}

//______________________________________________________________________________
TQCanvasImp::TQCanvasImp(TCanvas *c, const char *name, Int_t x, Int_t y, UInt_t width, UInt_t height)
{
   //   TQCanvasImp ctor

   //   @param c (ptr to ROOT TCanvas)
   //   @param name (title for canvas)
   //   @param x
   //   @param y
   //   @param width
   //   @param height

   Build(c,name,x,y,width,height);
}

//______________________________________________________________________________
TQCanvasImp::TQCanvasImp(TCanvas* /*v*/) : TCanvasImp()
{
   // TQCanvasImp ctor

   fQCanvas = 0;
}

//______________________________________________________________________________
void TQCanvasImp::Build(TCanvas *c, const char *name, Int_t /*x*/, Int_t /*y*/, UInt_t /*width*/,
                        UInt_t /*height*/)
{
   // Build the TQRootCanvas

   fQCanvas = new TQRootCanvas(0,name,c);
   fCanvas = fQCanvas->GetCanvas();
}

//______________________________________________________________________________
TQCanvasImp::~TQCanvasImp()
{
   // dtor
}
 TQCanvasImp.cxx:1
 TQCanvasImp.cxx:2
 TQCanvasImp.cxx:3
 TQCanvasImp.cxx:4
 TQCanvasImp.cxx:5
 TQCanvasImp.cxx:6
 TQCanvasImp.cxx:7
 TQCanvasImp.cxx:8
 TQCanvasImp.cxx:9
 TQCanvasImp.cxx:10
 TQCanvasImp.cxx:11
 TQCanvasImp.cxx:12
 TQCanvasImp.cxx:13
 TQCanvasImp.cxx:14
 TQCanvasImp.cxx:15
 TQCanvasImp.cxx:16
 TQCanvasImp.cxx:17
 TQCanvasImp.cxx:18
 TQCanvasImp.cxx:19
 TQCanvasImp.cxx:20
 TQCanvasImp.cxx:21
 TQCanvasImp.cxx:22
 TQCanvasImp.cxx:23
 TQCanvasImp.cxx:24
 TQCanvasImp.cxx:25
 TQCanvasImp.cxx:26
 TQCanvasImp.cxx:27
 TQCanvasImp.cxx:28
 TQCanvasImp.cxx:29
 TQCanvasImp.cxx:30
 TQCanvasImp.cxx:31
 TQCanvasImp.cxx:32
 TQCanvasImp.cxx:33
 TQCanvasImp.cxx:34
 TQCanvasImp.cxx:35
 TQCanvasImp.cxx:36
 TQCanvasImp.cxx:37
 TQCanvasImp.cxx:38
 TQCanvasImp.cxx:39
 TQCanvasImp.cxx:40
 TQCanvasImp.cxx:41
 TQCanvasImp.cxx:42
 TQCanvasImp.cxx:43
 TQCanvasImp.cxx:44
 TQCanvasImp.cxx:45
 TQCanvasImp.cxx:46
 TQCanvasImp.cxx:47
 TQCanvasImp.cxx:48
 TQCanvasImp.cxx:49
 TQCanvasImp.cxx:50
 TQCanvasImp.cxx:51
 TQCanvasImp.cxx:52
 TQCanvasImp.cxx:53
 TQCanvasImp.cxx:54
 TQCanvasImp.cxx:55
 TQCanvasImp.cxx:56
 TQCanvasImp.cxx:57
 TQCanvasImp.cxx:58
 TQCanvasImp.cxx:59
 TQCanvasImp.cxx:60
 TQCanvasImp.cxx:61
 TQCanvasImp.cxx:62
 TQCanvasImp.cxx:63
 TQCanvasImp.cxx:64
 TQCanvasImp.cxx:65
 TQCanvasImp.cxx:66
 TQCanvasImp.cxx:67
 TQCanvasImp.cxx:68
 TQCanvasImp.cxx:69
 TQCanvasImp.cxx:70
 TQCanvasImp.cxx:71
 TQCanvasImp.cxx:72
 TQCanvasImp.cxx:73
 TQCanvasImp.cxx:74
 TQCanvasImp.cxx:75