21 lines
433 B
C++
21 lines
433 B
C++
#include "cButtonEvent.hpp"
|
|
|
|
#include "../../MathEngine/cInside.hpp"
|
|
|
|
using GUIEventEngine::cButtonEvent;
|
|
|
|
/// protected:
|
|
cButtonEvent::cButtonEvent( const unsigned int id )
|
|
: cGUIEvent(GUIHelpers::eEventType::BUTTON, id)
|
|
{}
|
|
|
|
/*virtual*/ cButtonEvent::~cButtonEvent()
|
|
{}
|
|
|
|
/// public:
|
|
/*virtual*/ void cButtonEvent::OnLButtonDown( int mX, int mY )
|
|
{
|
|
// if (MathEngine::cInside::isInside(mX, mY, m_button->getArea()) == true)
|
|
// ;
|
|
}
|