geode/loader/src/load/SettingNode.cpp
HJfod 98684a62e5 add touch dispatcher fix + move built-in settings' nodes to their own
internal header & source + regex match validation for string settings +
further work on settings UI now featuring a cooler reset button
2022-09-19 00:07:08 +03:00

16 lines
449 B
C++

#include <Geode/loader/SettingNode.hpp>
#include <Geode/utils/cocos.hpp>
USE_GEODE_NAMESPACE();
void SettingNodeDelegate::settingValueChanged(SettingNode* node) {}
void SettingNodeDelegate::settingValueCommitted(SettingNode* node) {}
bool SettingNode::init(std::shared_ptr<Setting> setting) {
m_setting = setting;
return true;
}
void SettingNode::setDelegate(SettingNodeDelegate* delegate) {
m_delegate = delegate;
}