/***************************************************************************
 * size.h  -  header for the corresponding cpp file
 *
 * Copyright (C) 2008 Florian Richter
 ***************************************************************************/
/*
   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; either version 3 of the License, or
   (at your option) any later version.
   
   You should have received a copy of the GNU General Public License
   along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/

#ifndef SMC_SIZE_H
#define SMC_SIZE_H

#include "../../core/globals.h"

/* *** *** *** *** *** *** *** cSize_Int *** *** *** *** *** *** *** *** *** *** */

// class for width and height in int
class cSize_Int
{
public:
	cSize_Int( void )
	{ m_width = 0; m_height = 0; }
	cSize_Int( int width, int height)
	: m_width( width ), m_height( height ) {}

	bool operator == ( const cSize_Int& other ) const;
	bool operator != ( const cSize_Int& other ) const;

	int m_width, m_height;
};

/* *** *** *** *** *** *** *** cSize_Float *** *** *** *** *** *** *** *** *** *** */

// class for width and height in float
class cSize_Float
{
public:
	cSize_Float( void )
	{ m_width = 0; m_height = 0; }
	cSize_Float( float width, float height)
	: m_width( width ), m_height( height ) {}

	bool operator == ( const cSize_Float& other ) const;
	bool operator != ( const cSize_Float& other ) const;

	float m_width, m_height;
};

#endif
