00001 /*************************************************************************** 00002 V_Format.h - description 00003 ------------------- 00004 begin : Tue Jan 29 2002 00005 copyright : (C) 2002 by Christian Tusche 00006 email : christian.tusche@stud.uni-goettingen.de 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 #ifndef V_FORMAT_H 00019 #define V_FORMAT_H 00020 00021 00027 class V_Format { 00028 public: 00029 V_Format(); 00030 V_Format( V_Format &format ); 00031 V_Format( int x, int y ); 00032 virtual ~V_Format(); 00033 00036 virtual int Width( void ) { return breite; } 00037 00040 virtual int Height( void ) { return hoehe; } 00041 00042 V_Format &operator =(V_Format format); 00043 protected: 00044 int breite, hoehe; // Bildabmessungen 00045 }; 00046 00047 #endif