所有权添加完成

This commit is contained in:
2026-08-13 06:20:13 +08:00
parent 3e9b924776
commit a517804d27
51 changed files with 1961 additions and 1108 deletions
@@ -110,7 +110,8 @@ void Selection_Rectangle_Overlay_Control::publish() {
impl_->interaction.publish();
}
void Selection_Rectangle_Overlay_Control::prepare_frame(
const Render_State_View& view, const Scene_Render_Context&) {
const Prepare_Render_Context& context) {
const auto& view = context.frame.render_state;
const auto& state = render_properties(view);
const auto& interaction = view.get(impl_->interaction);
const auto horizontal = impl_->horizontal_axis->transform(view);
@@ -133,9 +134,9 @@ void Selection_Rectangle_Overlay_Control::prepare_frame(
interaction.selection_current.y - interaction.selection_start.y};
}
void Selection_Rectangle_Overlay_Control::paint(
Painter& painter, const Scene_Render_Context&) {
Painter& painter, const Paint_Render_Context& context) {
const auto& output = impl_->prepare_buffer;
const auto view = render_state_view();
const auto& view = context.frame.render_state;
const auto& state = render_properties(view);
for (const auto& region : output.regions) {
painter.rect(region.pixels, state.selection_border_pen,