准备改adminive

This commit is contained in:
2026-08-12 00:59:34 +08:00
parent abd1b595c7
commit 75795e43bf
14 changed files with 1285 additions and 1698 deletions
+6
View File
@@ -71,6 +71,12 @@ protected:
Properties properties() const {
return Base::read([](const Properties& value) { return value; });
}
void replace_properties(Properties value) {
Base::update([&value](Properties& current) {
current = std::move(value);
});
this->changed();
}
const Properties& render_properties(const Render_State_View& state) const noexcept {
return state.get(static_cast<const Base&>(*this));
}