GSI Object Oriented Online Offline (Go4)  GO4-6.1.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TWebGuiFactoryFull.cxx
Go to the documentation of this file.
1 // Author: Sergey Linev, GSI 7/12/2016
2 
3 /*************************************************************************
4  * Copyright (C) 1995-2018, Rene Brun and Fons Rademakers. *
5  * All rights reserved. *
6  * *
7  * For the licensing terms see $ROOTSYS/LICENSE. *
8  * For the list of contributors see $ROOTSYS/README/CREDITS. *
9  *************************************************************************/
10 
12 // //
13 // TWebGuiFactory //
14 // //
15 // This class is a factory for Web GUI components. It overrides //
16 // the member functions of the abstract TGuiFactory. //
17 // //
19 
20 #include "TWebGuiFactoryFull.h"
21 
22 #include "TWebCanvasFull.h"
23 
27 
29  TWebGuiFactory()
30 {
31 }
32 
34 
35 TCanvasImp *TWebGuiFactoryFull::CreateCanvasImp(TCanvas *c, const char *title, UInt_t width, UInt_t height)
36 {
37  return new TWebCanvasFull(c, title, 0, 0, width, height);
38 }
39 
41 
42 TCanvasImp *TWebGuiFactoryFull::CreateCanvasImp(TCanvas *c, const char *title, Int_t x, Int_t y, UInt_t width, UInt_t height)
43 {
44  return new TWebCanvasFull(c, title, x, y, width, height);
45 }
virtual TCanvasImp * CreateCanvasImp(TCanvas *c, const char *title, UInt_t width, UInt_t height)