mirror of
https://github.com/geode-sdk/geode.git
synced 2024-12-03 04:36:55 -05:00
98684a62e5
internal header & source + regex match validation for string settings + further work on settings UI now featuring a cooler reset button
16 lines
449 B
C++
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;
|
|
}
|