From a34c49f103c8950a57687ea3d866c244d95b4414 Mon Sep 17 00:00:00 2001 From: hachem Date: Mon, 24 Aug 2026 18:28:39 +0200 Subject: [docs]: added a few comments cause i wont be able to read this in a week's time --- src/ui/workspace.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/ui/workspace.h') diff --git a/src/ui/workspace.h b/src/ui/workspace.h index 16dff2a..5beedeb 100644 --- a/src/ui/workspace.h +++ b/src/ui/workspace.h @@ -7,8 +7,8 @@ namespace Donut { class Scene; - // App-level actions the UI can request (window/device changes it can't do - // itself). The Application implements this — it owns the window and device. + // app-level actions the UI can request (window/device changes it can't do + // itself). the Application implements this — it owns the window and device. struct AppActions { virtual ~AppActions() = default; @@ -18,12 +18,12 @@ namespace Donut virtual auto set_ui_scale(float scale) -> void = 0; virtual auto get_window_size(int& w, int& h) const -> void = 0; virtual auto is_fullscreen() const -> bool = 0; - // Renders the requested channels off-screen and writes files; returns the + // renders the requested channels off-screen and writes files; returns the // number written (0 on failure). virtual auto export_frame(const ExportConfig& cfg) -> int = 0; }; - // What the UI panels get each frame. `scene` is mutable — panels edit the + // what the UI panels get each frame. `scene` is mutable — panels edit the // document through it; `actions` performs app-level changes. struct UIContext { -- cgit v1.3