/*  $Id: image_generic.h,v 1.7 2004/03/28 00:13:14 sphair Exp $
	
	ClanGUI, copyrights by various people. Have a look in the CREDITS file.
	
	This sourcecode is distributed using the Library GNU Public Licence,
	version 2 or (at your option) any later version. Please read LICENSE
	for details.
*/

#ifndef header_image_generic
#define header_image_generic

#if _MSC_VER > 1000
#pragma once
#endif

#include "API/GUI/image.h"

class CL_Image_Generic
{
//! Construction:
public:
	CL_Image_Generic(CL_Image *self, CL_Surface *surface, bool delete_surface);
	~CL_Image_Generic();

//! Attributes:
public:
	CL_Surface *surface;
	bool delete_surface;
	
	CL_Image::Mode mode;

//! Implementation:
private:
	CL_Image *image;

	CL_Slot slot_set_options;

	void on_set_options(const CL_DomElement &options);
};  

#endif
