aboutsummaryrefslogtreecommitdiff
path: root/src/ui/workspace.h
diff options
context:
space:
mode:
authorhachem <im@hachem.wtf>2026-08-24 18:28:39 +0200
committerhachem <im@hachem.wtf>2026-08-24 18:28:39 +0200
commita34c49f103c8950a57687ea3d866c244d95b4414 (patch)
treeff268f4a7f52769a252443d6f2822c9814e3bb1c /src/ui/workspace.h
parent06398a7a176e123506de6e8851866a8bec0b3427 (diff)
[docs]: added a few comments cause i wont be able to read this in a week's time
Diffstat (limited to 'src/ui/workspace.h')
-rw-r--r--src/ui/workspace.h8
1 files changed, 4 insertions, 4 deletions
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
{