Commit Graph

2112 Commits

Author SHA1 Message Date
dumblob 56000faecf
Merge pull request #501 from dczheng/master
nuklear.h: fix minor typo
2022-09-22 20:11:33 +02:00
dczheng a74061af6d Fix typo 2022-09-23 00:27:48 +08:00
Rob Loach b9591053ef
Merge pull request #497 from Immediate-Mode-UI/apple-silicon
Fix Apple Silicon with incorrect NK_SITE_TYPE and NK_POINTER_TYPE
2022-09-17 20:45:12 -04:00
Rob Loach ce1c94d84b
Fix Apple Silicon with incorrect NK_SITE_TYPE and NK_POINTER_TYPE 2022-09-11 13:53:59 -04:00
Rob Loach c55fd8cc62
Merge branch 'master' of github.com:Immediate-Mode-UI/Nuklear into tex_null 2022-08-03 13:59:10 -04:00
Rob Loach 93a057b3fe
Merge pull request #486 from Immediate-Mode-UI/shift-end
Fix Shift + End in nk_edit
2022-08-03 13:41:39 -04:00
Rob Loach e57ee582ab
Update NK_MIN() call to save a line of code 2022-08-03 13:00:54 -04:00
opsJson df86105c69 Fix tabs 2022-08-01 16:19:45 -03:00
opsJson c7c3069dc2 following the read me 2022-08-01 15:33:42 -03:00
opsJson 9f0a601395
Update nuklear_text_editor.c 2022-07-30 21:36:01 -03:00
opsJson d28d145732
Fixed cursor position overflow 2022-07-30 21:33:46 -03:00
Rob Loach ca49016428
Rename more null variables to tex_null 2022-07-30 17:45:12 -04:00
Rob Loach 54fd67bddd
Rename additional .null variables 2022-07-30 17:43:46 -04:00
Rob Loach ec4acc7cf4
Rename the null variable to tex_null 2022-07-30 17:38:10 -04:00
opsJson 3b5009255e
Fix Shift + End in nk_edit 2022-07-25 20:07:20 -03:00
dumblob 0bbb235c7e
Merge pull request #474 from Immediate-Mode-UI/x11-xfree
x11 opengl: Free XVisualInfo after use
2022-07-12 17:06:41 +02:00
Rob Loach 7597cc7a09
x11: Free XVisualInfo after use
Fixes #473
2022-07-09 17:18:21 -04:00
ryuukk ed3ff76d0e rename null texture field to tex_null 2022-06-27 00:15:14 +02:00
dumblob 11d8acfd4f
Merge pull request #463 from tcdude/fix_regression
window movement: Fix regression introduced in #448
2022-06-02 10:07:35 +02:00
Ludwig Füchsl adeb2a720f Added wWinMain comment 2022-05-30 22:49:12 +02:00
Ludwig Füchsl 50277a1c39 Changed windows include to lowercase 2022-05-29 01:47:00 +02:00
tcdude 5bb591b0fb Rename function 2022-05-27 21:28:34 +02:00
tcdude a931a8d499 Fix regression introduced in #448
This adds a new `nk_input_has_mouse_click_in_rect_button` function that
is being used only by buttons. This allows
`nk_input_has_mouse_click_in_rect` to act as its name suggests while
still allowing for the behavior introduced in #448
2022-05-27 04:12:11 +02:00
Rob Loach 0a77211844
Merge pull request #459 from bmuessig/master
Added working filled and outlined arc drawing to GDI binding
2022-05-12 11:00:39 -04:00
Benedikt Müssig dca0f6fcfc
Corrected the fill bugs in the GDI binding 2022-05-12 13:30:18 +02:00
Benedikt Müssig 628cc61263
Added the wingdi header to the GDI binding 2022-05-12 13:04:42 +02:00
Benedikt Müssig e698bb1531
Added the GDI arc drawing commands to the dispatch switch-case 2022-05-12 12:54:03 +02:00
Benedikt Müssig 321badb389
Implemented select all for GDI 2022-05-12 12:52:44 +02:00
Benedikt Müssig cacdf6baa4
Added the arc methods to the GDI binding 2022-05-12 12:52:05 +02:00
Rob Loach a51d9eec96
Merge pull request #427 from kbolino/fix-sdl-hidpi-rendering
Fix high-DPI scaling in sdl_renderer
2022-04-20 13:51:59 -04:00
Rob Loach b71eb8dafb
Merge pull request #446 from crazyBaboon/ImproveFileBrowser
file_browser.c - remove #include <string.h>
2022-04-19 21:19:10 -04:00
Rob Loach 200032f0c2
Merge branch 'master' of github.com:Immediate-Mode-UI/Nuklear into horizontal_rule 2022-04-18 23:28:25 -04:00
Rob Loach b00c8e2c86
Merge pull request #448 from tcdude/master
Button behavior `NK_BUTTON_TRIGGER_ON_RELEASE`
2022-04-18 23:26:46 -04:00
tcdude 068ae5fc33 Button behavior `NK_BUTTON_TRIGGER_ON_RELEASE`
This modifies the trigger behavior of buttons to only activate when the
mouse was also over the same button on the mouse button down event.

Side note:
I also modified my version of Nuklear I use to apply the same logic for
hover, because I use Nuklear for touch input devices where traditional
hover behavior tends to be misleading. I left this out for now because
I can imagine that this could be seen as wrong/faulty behavior by some.
2022-04-18 17:55:45 +02:00
crazyBaboon 4f2738d067
Merge pull request #1 from RobLoach/filebrowser-string
file_browser: Bring string.h to the top
2022-04-16 17:34:26 +01:00
Rob Loach c9d3a3fd20
file_browser: Bring string.h to the top 2022-04-15 17:20:20 -04:00
Wladislav ヴラド Artsimovich cb0e05beea Forgot the semicolon in nuklear.h 2022-04-15 13:35:13 +09:00
Wladislav ヴラド Artsimovich 398e338bff Forgot to regenerate nuklear.h 2022-04-15 13:27:39 +09:00
Wladislav ヴラド Artsimovich 5a75b319e4 Added nk_rule_horizontal() widget 2022-04-15 13:19:10 +09:00
crazyBaboon f58114e45e
file_browser.c - remove #include <string.h>
It is no longer necessary, since string comparison is now carried out by Nuklear API.
2022-04-13 22:44:14 +01:00
dumblob e5c44b7182
Merge pull request #445 from crazyBaboon/ImproveFileBrowser
demo: ignore case when sorting strings alphabetically in filebrowser
2022-04-13 09:43:06 +02:00
crazyBaboon e5100bcef6
Ignore case when sorting strings alphabetically 2022-04-13 01:07:41 +01:00
Rob Loach 9a244564be
Merge pull request #442 from crazyBaboon/ImproveFileBrowser
file_browser.c - Display files and folders by alphabetical order
2022-04-12 01:19:39 -04:00
crazyBaboon e3cec3b6b1
Forgot to include <string.h> 2022-04-03 15:53:49 +01:00
crazyBaboon 0163faffed
file_browser.c - Display files and folders by alphabetical order 2022-04-03 12:40:14 +01:00
Rob Loach 64c6f73630
Merge pull request #436 from crazyBaboon/ImproveFileBrowser
Further improve file_browser.c
2022-04-02 23:07:01 -04:00
crazyBaboon 8f2ccedfa4
Change dialog action from "Save" to "Open"
This is because there is yet no text box for the user to write the file name.
2022-03-29 21:00:45 +01:00
crazyBaboon 8377f9147a
Use local static variable instead of global 2022-03-26 19:34:40 +00:00
crazyBaboon a1df0c4f57
Further improve file_browser.c
-Adds visible boundary to file icon box;
-Adds a 'cancel' button that closes the file dialog;
-Adds a 'save' button that should be used for the save() routine defined by the user;
2022-03-26 18:28:49 +00:00
Rob Loach ceee8839ab
glfw_gl3: Cast the void* to a struct nk_glfw* (#434)
While it doesn't fix the issue @tree786isback in #434, it is a good thing to cast the void*'s correctly.
2022-03-22 11:22:22 -04:00