Rob Loach
4cfea49522
Remove STYLE_ defines as we have the style dropdown
2024-04-25 16:37:07 -04:00
paccer
e3b0f24626
Fix missed grab state changes in SDL demos
...
Move grab handling out of `nk_sdl_handle_event` to `nk_sdl_handle_grab`,
which is now called outside of the event loop.
This change makes the logic similar to the GLFW demos and fixes issues
with missed grab state changes and mouse cursor disappearing.
2024-02-10 03:03:16 +01:00
Richard Gill
54cd692d17
added comment on ifdefs to use styles in demos
2022-10-13 11:51:50 +02:00
Richard Gill
fc5ce1c495
demos: set style with defines
...
To avoid having to modify the demo code,
conditionnally include a predefined style
2022-10-12 21:19:58 +02:00
crazyBaboon
f0dccaeeec
Integrate file browser with glfw opengl2 demo ( #400 ) and restructure demo/ directory accordingly
2022-03-14 20:46:44 +01:00
Cameron Cawley
459ba9c48c
Integrate the canvas example with the demos
2021-12-16 20:26:26 +00:00
Cameron Cawley
60c52adfaf
Enable and fix most GCC warnings ( #377 )
...
Co-authored-by: Rob Loach <robloach@gmail.com>
2021-12-16 20:44:00 +01:00
Cameron Cawley
9af0103cac
Build all demos as C89
2021-12-14 20:14:34 +00:00
crazyBaboon
4f6b838748
Remove duplicated #include <math.h>
2020-03-09 21:51:08 +00:00
vurtun
2891c6afbc
Update demos to new color picker API
2018-01-05 13:09:27 +01:00
DeXP
e57e0149f3
Emscripten support
2017-10-08 21:26:33 +02:00
DeXP
cc8556533f
Open GL ES 2 demo
...
Can be used on: Linux, Mac OS X, Android, Emscripten
2017-10-01 14:10:57 +02:00