Library

wui v1.5.261116

Versionv1.5.261116
Stars★ 91
Released2026-11-16

Window User Interface Library :: libWUI offical repo

Release notes

WUI 1.5 brings optional native media devices on macOS, UI-thread timers on Windows and Linux, and responsive long lists.

### Changes

- **macOS media, opt-in:** persistent device IDs, microphone capture, PCM playback, camera and primary-display capture. Camera startup negotiates supported frame rates and preserves output dimensions. Enable `WUI_ENABLE_MEDIA=ON`; media remains experimental and macOS-only. Screen capture requires macOS 12.3+.
- **UI dispatch:** Windows timer callbacks run on the creating message-loop thread; Linux callbacks run on the X11 event thread. Stale callbacks and stop/restart/lifetime cases are covered by tests. The Windows scrollbar no longer owns a worker thread.
- **Responsiveness:** Linux redraw/resize requests are coalesced, macOS redraws return to the main thread, and list rendering/hit testing avoids repeated prefix scans. Long-list regressions cover variable/nonpositive heights and real pointer events.
- **Input and graphics:** explicit caret positioning, immediate caret display on focus, rounded radio/switch geometry fixes, X11 threading initialization and standard cursor names.
- **Builds and documentation:** Windows CMake source selection and Boost.Nowide linking fixes; Windows and Linux CI; refreshed roadmap and native media guides in English and Russian.

### Updating

**Cleanly rebuild WUI and every consuming application with headers and libraries from the same revision.** The internal layout of `timer` and `scroll` changed. Mixing old headers with a new archive can corrupt memory.

Create Windows timers on a thread that owns a message loop. Linux timer callbacks now execute on the X11 UI thread. Media callbacks execute on device threads and must hand UI work off through the event mechanism.

```sh
git clone https://github.com/intent-garden/wui.git
cd wui
git checkout v1.5.261116
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build --parallel
```

Install the documented platform dependencies first. For Windows Visual Studio builds, use `wui.sln`.

### Validation

- MSVC 2022: Debug/Release × Win32/x64, examples and integration tests.
- Linux Ubuntu 24.04/Xvfb: Release and ASan/UBSan.
- macOS: Release with examples, integration tests and media enabled; all six CTest checks passed.
- English and Russian documentation built in strict mode.

macOS and WebAssembly remain experimental backends. See the [roadmap](https://github.com/intent-garden/wui/blob/main/ROADMAP.md) for verified configurations and remaining work, and [documentation](https://libwui.org/doc/) for API contracts.

Полностью пересоберите WUI и приложение с заголовками и библиотекой одной версии: изменился layout таймеров и scrollbar. Устройства macOS включаются отдельно; этот API пока экспериментальный. [Документация на русском](https://libwui.org/doc_ru/).

Share this resource


Discovered 2026-11-17 Source GitHub Archive 2026-11 →