secene 接入 多继承链

This commit is contained in:
2026-08-15 00:23:52 +08:00
parent 12e46b4c21
commit 2c7c8abd4f
15 changed files with 1011 additions and 355 deletions
+2 -2
View File
@@ -1013,7 +1013,7 @@ private:
};
write_web_performance_log(line.dump());
}
void build_axes(::Scene_Base::Attach_Builder& attach) {
void build_axes(::Scene_2D_Base::Attach_Builder& attach) {
constexpr Color axis_color{118, 145, 184, 255};
Range coordinate_range{88'000'000.0, 108'000'000.0};
if (case_id_ == "sweep_spectrum")
@@ -1098,7 +1098,7 @@ private:
if (case_id_ == "axis_lab")
style(time_axis_);
}
void build_primary(::Scene_Base::Attach_Builder& attach) {
void build_primary(::Scene_2D_Base::Attach_Builder& attach) {
if (case_id_ == "axis_lab") {
primary_ = renderive_static_owner_cast<Renderable>(frequency_domain_axis_);
return;