Skip to content

Add character input event and foreign window attach/detach support

Choose a tag to compare

@nichcode nichcode released this 22 Oct 17:04
· 51 commits to master since this release
a4b4de0

[1.2.0] - 2025-10-22

Features

  • Video: Added palGetInstance() to retrieve the native display or instance handle.
  • Video: Added palAttachWindow() for attaching foreign windows to PAL.
  • Video: Added palDetachWindow() for detaching foreign windows from PAL.
  • Event: Added PAL_EVENT_KEYCHAR to PalEventType enum.
  • Event: Added documentation for event bits(payload) layout.

Naming Update

  • PAL now stands for Prime Abstraction Layer,
    reflecting its role as the primary explicit foundation for OS and graphics abstraction.
  • All API remains unchanged — this is an identity update only.

Tests

  • Added multi-threaded OpenGL example: demonstrating Multi-Threaded OpenGL Rendering. see multi_thread_opengl_test.c.
  • Added attaching and detach foreign windows example. see attach_window_test.c
  • Added key character example. see char_event_test.c