/** SGX

The   sss    gggg x   x   
     s      g      x x    Engine
      sss   g  gg   x
         s  g   g  x x          Copyright 1995-2008.
     ssss    gggg x   x         Steven Goodwin. All Rights Reserved.
    
This version has been released under the GNU Public License v2.0.

Please see the license files for details.

File: include/sgx/gui/hotspot.hpp

*/

#ifndef SGX_CORE_GUI_HOTSPOT_HPP
#define SGX_CORE_GUI_HOTSPOT_HPP	1

class sgxGUIHotSpotParams {
public:
	tUINT32		m_Width, m_Height;

	sgxGUIHotSpotParams(const tUINT32 w=128, const tUINT32 h=128);
};

class sgxGUIHotSpot : public sgxWidget {
public:
	virtual void	getArea(sgxRect2i &rc) const;
	virtual tBOOL	onPressed(const sgxVector2 &position);

protected:
	sgxGUIHotSpot(const tINT32 x, const tINT32 y, const sgxGUIHotSpotParams &params);

	sgxGUIHotSpotParams		m_SetupParams;

	friend class CSGXGUI;
};

#endif /* SGX_CORE_GUI_HOTSPOT_HPP */
