diff options
| author | hachem <im@hachem.wtf> | 2026-08-24 18:28:39 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2026-08-24 18:28:39 +0200 |
| commit | a34c49f103c8950a57687ea3d866c244d95b4414 (patch) | |
| tree | ff268f4a7f52769a252443d6f2822c9814e3bb1c /src/core/application.h | |
| parent | 06398a7a176e123506de6e8851866a8bec0b3427 (diff) | |
[docs]: added a few comments cause i wont be able to read this in a week's time
Diffstat (limited to 'src/core/application.h')
| -rw-r--r-- | src/core/application.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/application.h b/src/core/application.h index f1e40c8..bb88919 100644 --- a/src/core/application.h +++ b/src/core/application.h @@ -15,10 +15,10 @@ namespace Donut { - // Thin shell: owns the window, the RHI device, the Scene (document), the - // RenderPath (device-side rendering) and the UILayer (tabbed workspaces), and - // runs the frame loop that wires them together. All the rendering lives in the - // RHI + shared renderers; all the editing lives in the Scene + workspaces. + // thin shell: owns the window, the RHI device, the Scene (document), the + // RenderPath (device-side rendering) and the UILayer (docking UI), and runs + // the frame loop that wires them together. all the rendering lives in the + // RHI + shared renderers; all the editing lives in the Scene + UI panels. class Application : public AppActions { public: @@ -32,7 +32,7 @@ namespace Donut auto get_window() -> Window& { return *m_window; } static auto get() -> Application& { return *s_instance; } - // AppActions — window/device changes requested by the Setup workspace. + // AppActions — window/device changes requested by the Settings panel. auto set_resolution(int w, int h) -> void override; auto set_fullscreen(bool on) -> void override; auto set_vsync(bool on) -> void override; |
