Squashed 'deps/nostalgia/' changes from ab11b885..3fe62464
3fe62464 [nostalgia/sample_project] Add NS_Logo32 db55fc72 [nostalgia/player] Cleanup 20944508 [studio] Cleanup 889bec04 [nostalgia/gfx/studio/tilesheet] Cleanup ac1e34d4 [nostalgia] Update release notes 55ed75f4 [nostalgia/gfx/studio/tilesheet] Fix selection clearing to work when clicking outside image 2751872c [nostalgia] Cleanup file-to-cpp output 2a3cd35c [nostalgia] Fix release notes version, add d2025.02.1 b66f459f [nostalgia] Cleanup icon rsrc generation 3910f4e7 [nostalgia] Fix debug and gba-run commands in Makefile c0e96216 [turbine] Make accessor functions take const ref to Context f9512d72 [turbine/glfw] Fix implicit conversion b7f2c169 [nostalgia/studio/gfx] Fix typo 1e5057d6 [nostalgia] Add app icon note to release notes c6255e32 [nostalgia/studio] Add icon 16 src 02230ef6 [turbine,studio,nostalgia/studio] Add support for window icon scaling, expand icons sizes for Nostalgia Studio 9b6b60e4 [turbine] Cleanup b9a26ab6 [turbine] Fix GLFWimage member init order a521887d [studio,turbine] Add support for window icons 5ca7e2f2 [ox/fs] Cleanup 125a235d [ox/fs] Cleanup 91a7129f [nostalgia/gfx/keel] Cleanup df48a232 [nostalgia/studio] Add icon to Windows executable git-subtree-dir: deps/nostalgia git-subtree-split: 3fe62464c3ee45055e8c732840f949cdf373ae2a
This commit is contained in:
@@ -32,11 +32,15 @@ static void keyEventHandler(turbine::Context &ctx, turbine::Key key, bool down)
|
||||
sctx->ui.handleKeyEvent(key, down);
|
||||
}
|
||||
|
||||
[[nodiscard]]
|
||||
ox::Vector<ox::SpanView<uint8_t>> WindowIcons() noexcept;
|
||||
|
||||
static ox::Error runApp(
|
||||
ox::StringViewCR appName,
|
||||
ox::StringViewCR projectDataDir,
|
||||
ox::UPtr<ox::FileSystem> &&fs) noexcept {
|
||||
OX_REQUIRE_M(ctx, turbine::init(std::move(fs), appName));
|
||||
oxLogError(turbine::setWindowIcon(*ctx, WindowIcons()));
|
||||
turbine::setWindowTitle(*ctx, keelCtx(*ctx).appName);
|
||||
turbine::setKeyEventHandler(*ctx, keyEventHandler);
|
||||
turbine::setRefreshWithin(*ctx, 0);
|
||||
|
@@ -71,12 +71,6 @@ class SelectionTracker {
|
||||
return m_selectionOngoing;
|
||||
}
|
||||
|
||||
constexpr void startSelection(ox::Point cursor) noexcept {
|
||||
m_pointA = cursor;
|
||||
m_pointB = cursor;
|
||||
m_selectionOngoing = true;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param cursor
|
||||
|
Reference in New Issue
Block a user