umbrello API Documentation

simplecanvas.h

00001 /*
00002  *  copyright (C) 2005
00003  *  Umbrello UML Modeller Authors <uml-devel @uml.sf.net>
00004  */
00005 
00006 /***************************************************************************
00007  *                                                                         *
00008  *   This program is free software; you can redistribute it and/or modify  *
00009  *   it under the terms of the GNU General Public License as published by  *
00010  *   the Free Software Foundation; either version 2 of the License, or     *
00011  *   (at your option) any later version.                                   *
00012  *                                                                         *
00013  ***************************************************************************/
00014 
00015 #ifndef AUTOLAYOUTSIMPLECANVAS_H
00016 #define AUTOLAYOUTSIMPLECANVAS_H
00017 
00018 #include "canvas.h"
00019 #include <qrect.h>
00020 namespace Autolayout {
00021 
00025 class SimpleCanvas: public Canvas
00026 {
00027 public:
00028     SimpleCanvas(int i, int j):max_x(i),max_y(j){}
00029     virtual ~SimpleCanvas() {}
00030     virtual int getMaxX(){return max_x;}
00031     virtual int getMaxY(){return max_y;}
00032     virtual int getBaseX(){return 0;}
00033     virtual int getBaseY(){return 0;}
00034     int max_x,max_y;
00035 };
00036 
00037 }
00038 
00039 #endif
KDE Logo
This file is part of the documentation for umbrello Version 3.1.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Jun 26 08:08:00 2007 by doxygen 1.4.1 written by Dimitri van Heesch, © 1997-2003