2016-03-04 23:03:47 +00:00
|
|
|
#include "specter/Control.hpp"
|
2015-12-06 01:24:51 +00:00
|
|
|
|
2019-08-30 09:55:46 +00:00
|
|
|
#include <hecl/CVar.hpp>
|
|
|
|
|
2018-12-08 05:24:02 +00:00
|
|
|
namespace specter {
|
2015-12-06 01:24:51 +00:00
|
|
|
|
2019-08-30 09:55:46 +00:00
|
|
|
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)
|
2015-12-10 03:14:38 +00:00
|
|
|
: 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;
|
2015-12-06 01:24:51 +00:00
|
|
|
|
2018-12-08 05:24:02 +00:00
|
|
|
} // namespace specter
|