MCPcopy Create free account
hub / github.com/PerroEngine/Perro / refresh_scene_pane_view

Function refresh_scene_pane_view

perro_editor/res/scripts/ui/editor_ui.rs:292–299  ·  view source on GitHub ↗
(ctx: &mut ScriptContext<'_, API>, view: &EditorView)

Source from the content-addressed store, hash-verified

290 set_button_fill(
291 ctx,
292 "distraction_free_button",
293 if view.distraction_free { theme::ACCENT } else { theme::BG_WIDGET },
294 );
295 set_label(
296 ctx,
297 "project_status",
298 &format!("{} {}", view.project_name, view.project_root),
299 );
300 set_label(ctx, "status_bar", &view.status);
301 set_label(ctx, "log_text", &view.log);
302 set_label(ctx, "bottom_log_label", &format!("Output {}", view.output_count));

Callers 3

refresh_allFunction · 0.85
refresh_scene_panelFunction · 0.85
refresh_selection_panelsFunction · 0.85

Calls 6

apply_scene_list_layoutFunction · 0.85
set_scene_tree_listFunction · 0.85
apply_viewport_modeFunction · 0.85
apply_editor_gizmosFunction · 0.85

Tested by

no test coverage detected