Example 32 - platform / OS integration (Track 1 quick wins).
← All examples32_platform
Exercises the OS-integration APIs: - Displays: enumerated + printed at startup (mk_display_*) - Cursors: number keys 1-9/0 cycle system cursor shapes (mk_cursor_*) - Window ctrl: F=fullscreen, M=minimize, X=maximize, R=restore, arrows move the window, +/- change opacity (mk_window_*) - Dialogs: B=message box, U=open a URL (mk_message_box / mk_open_url) - Drag & drop: drop files onto the window to list them (mk_dropped_file*)

Runs the WebAssembly build on this page. Click the canvas to give it keyboard focus.
- Number
- 32
- Tags
- Source
examples/32_platform/main.c
Build and run
./scripts/build-linux.sh release --target=32_platform --run