/*  $Id: label_generic.h,v 1.14 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_label_generic
#define header_label_generic

#if _MSC_VER > 1000
#pragma once
#endif

#include "API/GUI/label.h"

class CL_Label_Generic
{
//! Construction:
public:
	CL_Label_Generic(CL_Label *self, const std::string &text);

//! Attributes:
public:
	std::string text;

	CL_Origin alignment;

//! Implementation:
private:
	CL_Label *label;

	CL_Slot slot_set_options;

	void on_set_options(const CL_DomElement &options);
};  

#endif
