metaforce/specter/lib/Control.cpp

17 lines
542 B
C++
Raw Normal View History

2016-03-04 23:03:47 +00:00
#include "specter/Control.hpp"
#include <hecl/CVar.hpp>
2018-12-08 05:24:02 +00:00
namespace specter {
std::string_view CVarControlBinding::name([[maybe_unused]] const Control* control) const { return m_cvar->name(); }
std::string_view CVarControlBinding::help([[maybe_unused]] const Control* control) const { return m_cvar->rawHelp(); }
2018-12-08 05:24:02 +00:00
Control::Control(ViewResources& res, View& parentView, IControlBinding* controlBinding)
: View(res, parentView), m_controlBinding(controlBinding) {}
2018-12-08 05:24:02 +00:00
2015-12-27 22:42:45 +00:00
std::recursive_mutex ITextInputView::m_textInputLk;
2018-12-08 05:24:02 +00:00
} // namespace specter