A first step toward multiple windows in : popup menus that live outside the main window.

On Mac/Windows it makes more sense to use native menus for this, but everywhere else a platform-agnostic method is needed, and this one is purely based on SDL-managed borderless windows.

Follow

Managed to get context menus working via NSMenu on macOS. It did need a minor tweak in SDL to make it realize the right mouse button has been released after the menu goes away.

Sign in to participate in the conversation
skyjake.fi

skyjake's personal Mastodon instance