Commit Graph
830 Commits
Author SHA1 Message Date
Rob Loach 7408af0b82 Merge pull request #785 from rswinkle/support_sdl_right_control
Add support for right control to sdl backends
2025-03-04 18:37:25 -05:00
Robert Winkler fd2c65efef Fix stupid copy-pasta typos 2025-02-28 22:25:40 -07:00
Robert Winkler 1c825c437a Did glfw_vulkan and added fb_scale too 2025-02-28 22:25:40 -07:00
Robert Winkler 05309665e9 Do glfw_opengl2 and 4, some more improvements 2025-02-28 22:25:40 -07:00
Robert Winkler a2af701759 Fix GLFW repeat behavior correctly this time 2025-02-28 22:25:40 -07:00
Robert Winkler 6126312df3 Add support for right control to sdl backends 2025-02-28 22:18:12 -07:00
Rob Loach c98aa9247b Merge pull request #782 from ccawley2011/rawfb-color2int
Call nk_rawfb_color2int once per command
2025-02-28 12:24:13 -05:00
Mario Aichinger 6277b61175 Remove unnecessary indirection in glfe_opengl4 demo 2025-02-27 22:11:57 +01:00
Rob Loach 2cb379b5cb Merge pull request #781 from rswinkle/support_numpad_enter2
Add NumPad Enter to other backends
2025-02-26 12:41:23 -05:00
Cameron Cawley fa52f343ee Call nk_rawfb_color2int once per command 2025-02-23 20:10:24 +00:00
Mario Aichinger a15e34f4af Fix glfw_opengl4 bindless textures 2025-02-22 12:19:23 -05:00
Robert Winkler f3d9f45b8d Add Numpad Enter support for windows backends... 2025-02-21 23:24:47 -07:00
Robert Winkler e3ae224891 Add numpad enter to allegro demo 2025-02-21 23:13:58 -07:00
Robert Winkler 033cb84d50 Fix allegro5 demo font path 2025-02-21 23:11:10 -07:00
Robert Winkler ff976c2296 Add numpad enter to xcb_cairo backend...
SFML seems to already treat both regular Return and Numpad
Enter as sf:Keyboard:Enter (which I changed because sf:Keyboard:Return
is deprecated.  But SFML seems to have some other weird input bug.
2025-02-21 23:04:36 -07:00
Robert Winkler 793a795dec Add numpad enter to x11 backends 2025-02-21 22:23:29 -07:00
Robert Winkler 706a56aadc Add numpad enter to GLFW backends...
GL4 demo is crashing for me but it's nothing to do with my change
2025-02-21 21:47:46 -07:00
Cameron Cawley a7ea5ba9d1 Remove checked in executables 2025-02-20 11:31:33 -05:00
Rob Loach 153fc52e06 sdl: Fix SD_GetClipboardText memory leak 2025-02-06 12:50:00 -05:00
Rob Loach c09aaa5185 Merge pull request #762 from jagannathhari/demo-select-all
Add select-all text handling in demo
2025-02-06 12:35:56 -05:00
Robert Winkler 9246fdf391 Support numpad Enter with SDL backends 2025-02-02 09:40:18 -07:00
Jagannath Hari 22482039cc Add select-all text handling in demo 2025-01-18 21:14:23 +05:30
Rob Loach 5dd782cb79 Merge pull request #748 from Immediate-Mode-UI/style-configurator-all-demos
add conditional style configurator to all demos
2024-12-07 12:57:25 -05:00
beatwise 4c1272ff1c sets xcb window's title 2024-11-30 14:19:53 +01:00
beatwise 225edd3cb3 removed -g flag 2024-11-28 13:45:14 -05:00
beatwise 688a791d85 cpp-friendly 2024-11-28 13:45:14 -05:00
Richard Gill b5477a4c84 add conditional style configurator to all demos 2024-11-26 12:00:51 +01:00
Robert Winkler 0f90945214 Fix/update 2024-11-25 23:59:26 -07:00
Robert Winkler 2282b6c4a5 Fix copy-paste error 2024-11-25 23:59:26 -07:00
Robert Winkler 8a9d5dbec7 Compile as C89 -pedantic -Wall with no warnings 2024-11-25 23:59:26 -07:00
Robert Winkler cc98290283 rebase 2024-11-25 23:59:26 -07:00
Robert Winkler 2327f81a7d Pass color array in as a parameter 2024-11-25 23:59:26 -07:00
Robert Winkler a444e04745 Added additional button text alignments 2024-11-25 23:59:26 -07:00
Robert Winkler e0685b656c rename and improve style_colors to style_global_colors
Now it only updates the colors after one of the dropdowns has been
clicked, not every frame that the tree/tab is expanded
2024-11-25 23:59:26 -07:00
Robert Winkler ab6aee42d8 Remove unnecessary comments 2024-11-25 23:59:26 -07:00
Robert Winkler b51d4ac564 Make symbols array static global 2024-11-25 23:59:26 -07:00
Robert Winkler fb462a31e6 Finished style_vec2 2024-11-25 23:59:26 -07:00
Robert Winkler 2a09e519f3 Finished style_item_color 2024-11-25 23:59:26 -07:00
Robert Winkler d7d6280033 Finished using style_rgb, started style_item_color 2024-11-25 23:59:26 -07:00
Robert Winkler ec430918d5 First draft 2024-11-25 23:59:26 -07:00
beatwise d97efedac4 xkbcommon support 2024-11-23 14:29:20 +01:00
Richard Gill 628fa6339c fix #735 2024-11-18 12:02:24 -05:00
Rob Loach 9e6f55d6f2 Merge branch 'master' of github.com:Immediate-Mode-UI/Nuklear into demo-disable-optimization 2024-11-17 15:46:18 -05:00
Richard Gill 01d78280d8 Merge pull request #710 from RobLoach/enable-overview
demo: Enable Overview by default
2024-11-17 13:09:59 +01:00
Alexander W. Schultz b6a7791d13 disables intrinsics on SDL demos
SDL library has an issue where it expects intrinsics headers to be
provided, but intrinsics are not exactly part of a standard, so there is
no guarantee that they will be available. As such, the library allows
you to turn them off. I am disabling them to allow for better
portability and ease of compilation.
2024-10-20 23:17:02 -04:00
Antti Keränen 6566d9075d Improve Vulkan demo (#717)
* demo: fix errors and warnings in GLFW Vulkan demo

* demo: improve resize handling in GLFW Vulkan demo

On my machine (x86_64 Linux, Wayland) VK_SUBOPTIMAL or
VK_OUT_OF_DATE_KHR were never returned so the resizing of the swapchain
never happened.

Fix by using GLFW's resize callback to detect a window resize and a
swapchain recreation. Vulkan tutorial uses the same approach.

fb_scale was never used in the Vulkan backend, so it was removed.

* demo: fix copy&paste typo in GLFW Vulkan demo

* demo: sync nuklear_glfw_vulkan.in.h with nuklear_glfw_vulkan.h

Over time people have not been noticing that the expected workflow is to
build nuklear_glfw_vulkan.h from nuklear_glfw_vulkan.in.h
2024-10-19 04:04:28 -04:00
Antti Keränen b2ffce5131 demo/backend: add vulkan SDL backend and demo
Based on other SDL demos and GLFW Vulkan demo.
2024-10-19 04:03:54 -04:00
Stephen-Zulauf 03198a016b Add Catppucin color styles (#695) 2024-10-02 23:08:10 -04:00
Rob Loach 8f45d37cf6 demo: Rename zahnrad binaries to demo 2024-10-02 23:02:35 -04:00
JS Deck e360f267ed add up/down/ctrl-b/ctrl-e key handling to d3d11 demo 2024-10-02 12:12:51 -04:00