From 52c93ba285d8964f4f0fa73b415c8de7b0c77418 Mon Sep 17 00:00:00 2001 From: Andre Weissflog Date: Mon, 1 Sep 2025 13:43:58 +0200 Subject: update changelog and readme (https://github.com/floooh/sokol/pull/1321) --- CHANGELOG.md | 12 ++++++++++++ README.md | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fb1d6457..a8751447 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ ## Updates +### 01-Sep-2025 + +- sokol_app.h: it's now possible to define custom mouse cursors via two new functions: + - `void sapp_bind_mouse_cursor_image(sapp_mouse_cursor cursor, const sapp_image_desc* desc)` + - `void sapp_unbind_mouse_cursor_image(sapp_mouse_cursor cursor)` + + For example code see the new sample [cursor-sapp](https://floooh.github.io/sokol-html5/cursor-sapp.html). + + Many thanks to @Seb-degraff for the PR (https://github.com/floooh/sokol/pull/1309) and sample, but also + see the merge-branch PR for additional implementation details (https://github.com/floooh/sokol/pull/1321). + + ### 29-Aug-2025 - sokol_imgui.h: Fixed a high-dpi font blurriness regression in sokol_imgui.h which diff --git a/README.md b/README.md index 096a8578..d1d522d5 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ # Sokol -[**See what's new**](https://github.com/floooh/sokol/blob/master/CHANGELOG.md) (**23-Aug-2025**: the big breaking 'resource view update') +[**See what's new**](https://github.com/floooh/sokol/blob/master/CHANGELOG.md) (**01-Sep-2025**: custom mouse cursors in sokol_app.h) [![Build](/../../actions/workflows/main.yml/badge.svg)](/../../actions/workflows/main.yml) [![Bindings](/../../actions/workflows/gen_bindings.yml/badge.svg)](/../../actions/workflows/gen_bindings.yml) [![build](https://github.com/floooh/sokol-zig/actions/workflows/main.yml/badge.svg)](https://github.com/floooh/sokol-zig/actions/workflows/main.yml) [![build](https://github.com/floooh/sokol-nim/actions/workflows/main.yml/badge.svg)](https://github.com/floooh/sokol-nim/actions/workflows/main.yml) [![Odin](https://github.com/floooh/sokol-odin/actions/workflows/main.yml/badge.svg)](https://github.com/floooh/sokol-odin/actions/workflows/main.yml)[![Rust](https://github.com/floooh/sokol-rust/actions/workflows/main.yml/badge.svg)](https://github.com/floooh/sokol-rust/actions/workflows/main.yml)[![Dlang](https://github.com/kassane/sokol-d/actions/workflows/build.yml/badge.svg)](https://github.com/kassane/sokol-d/actions/workflows/build.yml)[![C3](https://github.com/floooh/sokol-c3/actions/workflows/build.yml/badge.svg)](https://github.com/floooh/sokol-c3/actions/workflows/build.yml) -- cgit v1.2.3