策略抽离

This commit is contained in:
2026-08-02 16:02:15 +08:00
parent dda25f9038
commit ffaca5b05f
55 changed files with 1431 additions and 886 deletions
+2 -1
View File
@@ -84,7 +84,8 @@ std::shared_ptr<Constellation_Diagram> Constellation_Diagram::Builder::build() {
auto ret = renderive::make_shared<Constellation_Diagram>();
ret->init(parent);
Constellation_Diagram_Private* pd = ret->d();
Constellation_Diagram_State* sc = reinterpret_cast<Constellation_Diagram_State*>(pd->edit_state());
Render_Edit_Lease<Constellation_Diagram_Private, Constellation_Diagram_State> edit(pd);
Constellation_Diagram_State* sc = edit.operator->();
PROP_R(std::weak_ptr<Axis>, i_axis)
PROP_R(std::weak_ptr<Axis>, q_axis)
PROP_R(Range, i_range)