mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 23:47:42 +00:00
Restructuring for CVar-enabled controls
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
#include "Specter/Control.hpp"
|
||||
|
||||
namespace Specter
|
||||
{
|
||||
|
||||
Control::Control(ViewResources& res, View& parentView,
|
||||
std::unique_ptr<IControlBinding>&& controlBinding)
|
||||
: View(res, parentView), m_controlBinding(std::move(controlBinding)) {}
|
||||
|
||||
void Control::setControlBinding(std::unique_ptr<IControlBinding>&& controlBinding)
|
||||
{
|
||||
m_controlBinding = std::move(controlBinding);
|
||||
}
|
||||
|
||||
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&)
|
||||
{
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user