aboutsummaryrefslogtreecommitdiff
path: root/src/ui/workspace.h
diff options
context:
space:
mode:
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
{