wip: add clipboard support

This commit is contained in:
2026-04-09 20:44:52 +02:00
parent b7b810e2a4
commit 906828f3ec
11 changed files with 582 additions and 0 deletions
+2
View File
@@ -7,6 +7,7 @@
#include "desktop_internal.hpp"
#include <montauk/config.h>
#include <montauk/user.h>
#include <gui/clipboard.hpp>
// ============================================================================
// App Manifest Scanning
@@ -187,6 +188,7 @@ void gui::desktop_init(DesktopState* ds) {
montauk::memset(&ds->mouse, 0, sizeof(Montauk::MouseState));
montauk::set_mouse_bounds(ds->screen_w - 1, ds->screen_h - 1);
gui::clipboard_clear();
// Load SVG icons — scalable (colorful) for app menu, symbolic for toolbar/panel
Color defColor = colors::ICON_COLOR;