Commit Graph

21 Commits

Author SHA1 Message Date
Jacob Ahnstedt
208dbc506e Merge branch 'master' of https://github.com/Immediate-Mode-UI/Nuklear into offical/align_widgets
# Conflicts:
#	demo/common/overview.c
#	nuklear.h
#	src/nuklear_toggle.c
2023-11-26 00:19:09 +01:00
Jacob Ahnstedt
060dbf9641 Fixed the overview example for option & checkbox alignment right 2023-11-24 16:57:50 +01:00
Jacob Ahnstedt
e782760da3 Added option alignment right 2023-11-24 16:33:16 +01:00
Jacob Ahnstedt
f187c39283 Added checkbox alignment right 2023-11-24 16:24:20 +01:00
Jacob Ahnstedt
304856e71e Made disable widget example run on more types of widgets 2023-11-20 13:57:45 +01:00
Yukyduky
4545d184d3 Separated color_factor for button into text and background
Tree node button background looked out of place when disabled, so I made the background not be affected by being disabled.
2023-10-29 10:16:17 +01:00
Yukyduky
2b7f047f15 Merge branch 'master' of https://github.com/Immediate-Mode-UI/Nuklear into disable-widgets 2023-10-17 08:13:06 +02:00
Wladislav ヴラド Artsimovich
57d1f21056 Fix demo typo 2023-10-17 11:43:21 +09:00
Wladislav ヴラド Artsimovich
2ec96be4b9 Add horizontal rule demo 2023-10-17 11:37:30 +09:00
Yukyduky
8016ff334d Added feature to disable widgets 2023-10-11 21:27:52 +02:00
Richard Gill
77490e155c fixed titlebar options in overview demo 2023-05-16 09:21:51 +02:00
Rob Loach
c9d3a3fd20
file_browser: Bring string.h to the top 2022-04-15 17:20:20 -04: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
crazyBaboon
e5100bcef6
Ignore case when sorting strings alphabetically 2022-04-13 01:07:41 +01: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
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
crazyBaboon
ec14ad2a30
Better Display file icons in the filebrowser
Icons are now displayed in a "Compact list view" rather than a "icon view"
2022-03-19 22:17:33 +00:00
crazyBaboon
f0dccaeeec
Integrate file browser with glfw opengl2 demo (#400) and restructure demo/ directory accordingly 2022-03-14 20:46:44 +01:00