sleeptightAnsiC and Robert Winkler
c4e370b4f0
Fix(nk_property): property widget not updating 'win->edit.active' state
...
Other "editable" widgets are updating the its window 'edit.active' state,
but not nk_property. SDL3 demo needs this in order to hook SDL_SetTextInput.
This patch was initially proposed by https://github.com/rswinkle
The only thing I changed in it, was a removal of 'edit.name' update,
nk_property is not using the name hash, so there is no reason to set it.
Origin: https://github.com/Immediate-Mode-UI/Nuklear/pull/852#issuecomment-3518277340
Co-authored-by: Robert Winkler <rob121618@gmail.com >
2025-11-15 21:09:09 +01:00
Rob Loach
fcd64f85e5
Add nk_input_is_mouse_moved() ( #632 )
...
* Add nk_input_is_mouse_moved()
* Move the nk_input_is_mouse_moved() declaration
2025-10-25 10:03:01 -04:00
Rob Loach
86178a8aa4
Merge pull request #844 from Immediate-Mode-UI/fix_insert_replace_reset
...
Fix Insert Replace Reset
2025-10-25 09:46:18 -04:00
Rob Loach
dfe2ab78fb
Delete demo/x11_xft/nuklear_xlib.h
2025-10-25 09:43:42 -04:00
Rob Loach
530100f938
Merge branch 'master' of github.com:Immediate-Mode-UI/Nuklear into fix_insert_replace_reset
2025-10-25 09:42:46 -04:00
Rob Loach
831f8d7f19
Merge pull request #807 from uintmax/demo-rawfb-wl-context
...
Fix Rawfb Wayland Demo
2025-10-25 09:40:09 -04:00
Rob Loach
3d0f61bac8
Merge pull request #843 from Immediate-Mode-UI/merge-x11-xft-fix-conflict
...
Build the X11 and XFT demos from the same sources
2025-10-25 09:38:30 -04:00
Rob Loach
8fe6f13e6b
Merge branch 'master' of github.com:Immediate-Mode-UI/Nuklear into fix-hovered-unicode4
2025-10-25 09:37:03 -04:00
Rob Loach
82193274ea
Merge branch 'master' of github.com:Immediate-Mode-UI/Nuklear into merge-x11-xft
2025-10-25 09:32:07 -04:00
Rob Loach
242f35efa0
Merge pull request #836 from sleeptightAnsiC/fix__nk_widget_text__default_align
...
nk_widget_text: use left alignment by default instead of silent failing + small refactor
4.12.8
2025-10-25 09:29:41 -04:00
Rob Loach
9851a51300
Merge pull request #837 from lockie/hover-in-popup
...
Correctly handle hover in popup windows
2025-10-25 09:27:56 -04:00
Andrew Kravchuk
1374197ec2
Update source code too
2025-10-22 07:49:36 +02:00
Andrew Kravchuk
e562d1b21f
Correctly handle hover in popup windows
2025-10-10 12:11:35 +02:00
sleeptightAnsiC
6af4e06683
refactor(nk_widget_text): code for X and Y alignment now looks the same
...
Small refactor in nk_widget_text that makes the code look the same
for X and Y axis alignment. Before it was unconditionally setting
the label.y/.h values for NK_TEXT_ALIGN_TOP, instead of doing it
inside of the branch (unlike the other axis), which was quite
confusing and probably the reason why the bug existed here
in the first place (see previous commit for reference)
2025-10-08 18:03:56 +02:00
sleeptightAnsiC
83233e8eb9
fix(nk_widget_text): use left align by default, instead of silent fail
...
Fix nk_widget_text to use NK_TEXT_ALIGN_LEFT by default,
instead of silently failing when no x-axis alignment is provided.
For comparison, y-axis does not have this issue and defaults to TOP.
2025-10-08 17:32:15 +02:00
PavelSharp
c2f210a26e
Update CHANGELOG and Rebuild nuklear.h
2025-09-12 03:09:50 +03:00
PavelSharp
109e9bde19
fix: use ctx->current->flags instead of ctx->begin->flags when checking state in nk_window_is_hovered
...
fix: allow len == NK_UTF_SIZE in nk_utf_decode by adjusting NK_BETWEEN upper bound
2025-09-12 03:09:29 +03:00
invalidpagefault
16a6303319
Fix rawfb Wayland demo
2025-05-17 10:37:19 +02:00
Robert Winkler
b150778150
Allow switching between INSERT and REPLACE modes, remove useless check
2025-04-28 17:10:44 -07:00
Robert Winkler
6161712a6a
Fix allegro backend key event issues
2025-04-28 16:50:15 -07:00
Robert Winkler
c5f4ee59e4
Add insert/overwrite/reset to allegro backend
2025-04-28 14:55:35 -07:00
Robert Winkler
9c3dbb1647
Add insert/overwrite/reset to windows backends
2025-04-28 12:30:36 -07:00
Robert Winkler
369b5b9e15
Add insert/overwrite/reset to glfw backends
2025-04-27 13:43:32 -07:00
Robert Winkler
b4c29958b2
Add insert/overwrite/reset to x11 backends
2025-04-27 12:40:15 -07:00
Robert Winkler
35777ae72d
Add insert/overwrite/reset to SDL backends
2025-04-27 12:05:32 -07:00
Rob Loach
171090c8e2
Merge pull request #798 from oflebbe/precise
...
fix: use precise mouse wheel info in demos
2025-04-21 17:24:23 -06:00
Rob Loach
8868050f71
Merge pull request #801 from rswinkle/fix_text_input_behavior
...
Fix text input behavior
4.12.7
2025-04-06 23:14:44 -04:00
Robert Winkler
912a52c391
Fix error causing crash and only scroll if hovered
...
I could see text input being a special case of always eating scroll if
you're active and have the visible cursor in there but I think it makes more
sense to match other subpanels and that's especially true when the text
box doesn't even have enough text to have a scrollbar; it's already a
bit odd that it eats scroll when that's true if you *are* hovering but
I think that's still understandable.
Also remove dead line of code.
2025-04-06 00:26:04 -07:00
Robert Winkler
31bad19d49
Leave a clean workspace
2025-04-05 23:26:21 -07:00
Rob Loach
d93f4e0b56
Updater to v4.12.7
2025-04-06 00:41:00 -04:00
Robert Winkler
ba56482b44
Fix scrolling with mouse and arrows
2025-04-05 00:54:44 -07:00
Robert Winkler
2ebc533f53
Use whitespace as default word boundaries
2025-04-04 15:25:46 -07:00
Robert Winkler
ef5c596866
Fix word movement (CTRL+LEFT/RIGHT)
2025-04-04 15:18:43 -07:00
Olaf Flebbe
1c9bed79bb
fix: use precise mouse wheel info
2025-03-30 20:17:03 +02:00
Rob Loach
e5e427030f
Merge pull request #797 from oflebbe/glyph
...
fix: unintialized data in glyph
4.12.6
2025-03-29 23:12:09 -04:00
Olaf Flebbe
f5287f8c94
fix: unintialized data in glyph
2025-03-29 11:49:56 +01:00
Rob Loach
b0fbe40b94
Merge pull request #789 from rswinkle/fix_knob_scrolling
...
Fix knob scrolling and remove some dead code
4.12.5
2025-03-07 17:58:34 -05:00
Robert Winkler
91a6e773a1
Fix knob scrolling and remove some dead code
2025-03-05 13:55:15 -07:00
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
Rob Loach
76b10f07c4
Merge pull request #786 from rswinkle/fix_glfw_repeat_behavior
...
Fix glfw repeat behavior
2025-03-04 18:36:49 -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
Rob Loach
73ee62815f
Merge pull request #784 from aichingm/master
...
Remove unnecessary indirection in glfe_opengl4 demo
2025-02-28 12:22:00 -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