2015-12-06 01:24:51 +00:00
|
|
|
#include "Specter/Control.hpp"
|
|
|
|
|
|
|
|
namespace Specter
|
|
|
|
{
|
|
|
|
|
|
|
|
Control::Control(ViewResources& res, View& parentView,
|
2015-12-10 03:14:38 +00:00
|
|
|
IControlBinding* controlBinding)
|
|
|
|
: View(res, parentView), m_controlBinding(controlBinding) {}
|
2015-12-06 01:24:51 +00:00
|
|
|
|
2015-12-10 03:14:38 +00:00
|
|
|
IControlBinding* Control::setControlBinding(IControlBinding* controlBinding)
|
2015-12-06 01:24:51 +00:00
|
|
|
{
|
2015-12-10 03:14:38 +00:00
|
|
|
IControlBinding* ret = m_controlBinding;
|
|
|
|
m_controlBinding = controlBinding;
|
|
|
|
return ret;
|
2015-12-06 01:24:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void Control::mouseDown(const boo::SWindowCoord&, boo::EMouseButton, boo::EModifierKey)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void Control::mouseUp(const boo::SWindowCoord&, boo::EMouseButton, boo::EModifierKey)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void Control::mouseEnter(const boo::SWindowCoord&)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void Control::mouseLeave(const boo::SWindowCoord&)
|
|
|
|
{
|
|
|
|
}
|
2015-12-27 22:42:45 +00:00
|
|
|
|
|
|
|
std::recursive_mutex ITextInputView::m_textInputLk;
|
2015-12-06 01:24:51 +00:00
|
|
|
|
|
|
|
}
|