Commit Graph

46 Commits

Author SHA1 Message Date
Rob Loach 18f7e7a948
demo: Add headers to overview.c (#684)
This adds the required C headers directly to the top of the overview.c demo so that they don't need to be added in the renders themselves.
2024-09-08 12:34:09 -04:00
Rob Loach 458112efd3
demo: Add time.h to overview.c
This adds the `time.h` include to the top of overview.c so that the renders don't need to include it manually.
2024-09-02 14:15:44 -04:00
Rob Loach f7847e6024
Add delta_time_seconds to a few renderers (#628) 2024-08-29 22:22:55 -04:00
Rob Loach 29b7be6de0
knob: Add color styles 2024-08-27 11:43:39 -04:00
PROP 65 820eca5858
Update overview.c 2024-08-19 01:03:06 +00:00
PROP 65 c048d6fbc3
add knobs 2024-08-19 00:44:47 +00:00
Rob Loach 0319c0ff3b
Add triangle outline symbols (#654) 2024-06-30 13:30:17 -04:00
Rob Loach 37e54da201
property: Allow optional labels for properties with # (#634) 2024-04-28 02:42:54 -04:00
Rob Loach 7e9da57c09
Add Dracula style (#621)
This introduces a new Dracula color style inspired by the [Dracula theme](https://draculatheme.com).
2024-04-28 01:02:34 -04:00
Rob Loach 86da26fbc1
Have the height of the style dropdown be automatic 2024-04-25 16:39:17 -04:00
Rob Loach 2f2474af45
Clean up the style dropdown 2024-04-25 16:22:36 -04:00
Rob Loach 3a7f458499
Merge branch 'master' into xcb-cairo 2024-04-17 15:19:53 -04:00
Rob Loach 31b5729d66
[overview] Fix show_markers boolean type (#633) 2024-04-09 14:00:50 -04:00
Rob Loach a46521c099
Fix overview mixed declarations 2024-04-04 13:25:45 -04:00
Rob Loach 34ea8bb042
Merge pull request #602 from brianwatling/optional-chart-boxes
Add a style option to disable point markers on charts
2024-04-04 13:17:17 -04:00
Brian Watling 254dfc2120 s/hide_markers/show_markers/ 2024-02-26 22:58:44 -05:00
Rob Loach 8f1ce6f0c1
demo: Fix overview's nk_bool type usage
The overview demo uses some `nk_bool`s that are typed as `int`s. While things still do function, if you're using `NK_INCLUDE_STANDARD_BOOL`, it breaks compilation. This change fixes the `nk_bool`s to be actual `nk_bool`s.
2024-01-26 15:14:04 -05:00
Rob Loach 4344d5e945
Merge pull request #592 from yukyduky/offical/align_widgets
Add Text Alignment Options to Checkboxes and Radios
2024-01-08 16:43:37 -05:00
Brian Watling f31cb7f7e5 Add a style option to disable point markers on charts
Fixes #594
2024-01-04 21:24:02 -05:00
Richard Gill 544009db92
Merge pull request #588 from ccawley2011/new-stb-image
Integrated implementation of stb_image updated to 2.28
2023-12-12 19:42:20 +01:00
Jacob Ahnstedt 9af3869728 Made the PR not break current API 2023-11-28 09:52:30 +01:00
Jacob Ahnstedt 657e525ff8 Added all alignments to toggleables 2023-11-26 14:29:25 +01:00
Jacob Ahnstedt c5ee9a58ed Added text alignment to toggleables 2023-11-26 10:25:36 +01:00
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
Cameron Cawley d09ff8935e Update to a newer version of stb_image 2023-11-16 17:01:56 +00: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
Richard Gill 93174aaadc Merge commit '93a057b3fe305254ce087ff1dbde34bc663c5bc8' into xcb-cairo 2022-08-04 20:50:27 +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