Commit Graph

2234 Commits

Author SHA1 Message Date
Rob Loach
7607ec7988
Merge pull request #589 from ccawley2011/patch-1
Build more demos with CI
2024-01-13 20:14:00 -05:00
Rob Loach
0f4c368351
ci: Fix create-tag 2024-01-13 19:59:24 -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
7c2fa16c26
Merge pull request #596 from waywardmonkeys/ci-update-checkout-action
ci: Update to `actions/checkout@v4`.
2023-12-20 19:06:43 +01:00
Bruce Mitchener
16336450bb Fix typos. 2023-12-20 00:41:52 -05:00
Bruce Mitchener
029b558f57 ci: Update to actions/checkout@v4.
This brings changes to keep up with the GitHub Actions internals
(among other changes). This will remove some of the deprecation
warnings in the GitHub Actions UI.
2023-12-19 20:18:36 -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
319f79f177 Built nuklear.h 2023-12-12 16:35:38 +01:00
Jacob Ahnstedt
de3bf05b40 Replaced tabs with spaces 2023-12-12 15:30:13 +01:00
Jacob Ahnstedt
0a7b4eec8e Fixed missed removed alignment params 2023-11-28 09:58:43 +01:00
Jacob Ahnstedt
9af3869728 Made the PR not break current API 2023-11-28 09:52:30 +01:00
Jacob Ahnstedt
44bd238502 Fixed typo 2023-11-27 17:03:10 +01:00
Jacob Ahnstedt
8af4468cce Fixed centered not being quite in the center 2023-11-26 14:45:06 +01:00
Jacob Ahnstedt
657e525ff8 Added all alignments to toggleables 2023-11-26 14:29:25 +01:00
Jacob Ahnstedt
8abee24513 Added changes to changelog and bumped clib.json 2023-11-26 11:22:28 +01:00
Jacob Ahnstedt
aa99592045 Applied toggleable alignment to example skinning 2023-11-26 11:08:05 +01:00
Jacob Ahnstedt
9614f5f99d Applied toggleable alignment to example extended 2023-11-26 11:04:52 +01:00
Jacob Ahnstedt
6c0f814c4e Applied toggleable alignment to demos 2023-11-26 11:01:02 +01:00
Jacob Ahnstedt
2a52826392 Removed widget alignment for the draw functions of toggleables 2023-11-26 10:44:37 +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
Richard Gill
d052dd68de
Merge pull request #580 from yukyduky/disable-widgets
Added feature to disable widgets

Check nk_widget_disable_begin() and nk_widget_disable_end(), plus added styles for disable widgets.
2023-11-24 20:16:14 +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
39e2ee3ce4 Removed color factoring for item colored selectables 2023-11-20 14:02:12 +01:00
Jacob Ahnstedt
afbd133914 Fixed missing color factoring for widget disabling 2023-11-20 14:01:22 +01:00
Jacob Ahnstedt
304856e71e Made disable widget example run on more types of widgets 2023-11-20 13:57:45 +01:00
Jacob Ahnstedt
df13a41ada Fixed C90 compliance issue 2023-11-20 13:56:19 +01:00
Jacob Ahnstedt
aaff4f014a Merge branch 'master' of https://github.com/Immediate-Mode-UI/Nuklear into disable-widgets
# Conflicts:
#	clib.json
2023-11-20 12:55:39 +01:00
Cameron Cawley
2e918ed004 Build more demos with CI 2023-11-16 20:09:44 +00:00
Cameron Cawley
d09ff8935e Update to a newer version of stb_image 2023-11-16 17:01:56 +00:00
Rob Loach
141d3cf9c6
Merge pull request #586 from mackron/button_text_alignment
Fix button text alignment
2023-11-16 02:10:25 -06:00
David Reid
42e4c54954 Bump patch version in clib.json. 2023-11-14 18:02:22 +10:00
David Reid
a668105390 Fix button text alignment error.
When calculating the width and height of the content rect of a button,
only the border of one side is being taken into account. Instead the
border width needs to be multiplied by two before subtracting from the
bounds. This is being done for padding and rounding, but not border,
which is resulting in text being misaligned, most notably when using
buttons with thick borders.
2023-11-14 15:39:10 +10:00
Richard Gill
a18175cff0
Merge pull request #583 from m0ppers/vulkan
add vulkan demo
2023-11-13 10:02:50 +01:00
Andreas Streichardt
a3f0da05ab make vulkan validation layers optional 2023-11-13 09:17:17 +01:00
Yukyduky
f88d7b58bb Fixed tabs not being shown as disabled properly 2023-10-29 10:18:09 +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
Andreas Streichardt
e67d078b75 🔥 remove compiled spv files 2023-10-22 12:08:57 +02:00
Andreas Streichardt
b65f1aa28e add vulkan demo 2023-10-22 12:03:27 +02:00
Yukyduky
b1fcf9244f Changed a false to an nk_false 2023-10-18 22:33:05 +02:00
Yukyduky
5a6569a2c9 Added disabled factor & performance improvement
Added NK_WIDGET_DISABLED_FACTOR, global factor for disabled color
2023-10-17 20:04:14 +02: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
Rob Loach
bed81e2f4e
Allow disabling STB_*_IMPLEMENTATION (#578)
When having stb_rect_pack or stb_truetype used elsewhere in your project, Nuklear could cause conflicts. This change adds `NK_NO_STB_RECT_PACK_IMPLEMENTATION` or `NK_NO_STB_TRUETYPE_IMPLEMENTATION` to allow disabling adding `STB_RECT_PACK_IMPLEMENTATION` or `STB_TRUETYPE_IMPLEMENTATION`.
2023-10-17 01:57:25 -04:00
Rob Loach
7478cd77e5
Merge pull request #577 from fitzsim/ppc64-1
Use __PPC64__ macro for GCC detection
2023-10-16 23:44:39 -04:00
Rob Loach
83e1ebb965
Merge pull request #582 from lockie/master
Fixed broken link in Allegro5 backend readme
2023-10-16 23:30:57 -04:00
Rob Loach
a2c541877e
Merge pull request #447 from FrostKiwi/horizontal_rule
Horizontal rule
2023-10-16 23:00:03 -04:00
Wladislav ヴラド Artsimovich
57d1f21056 Fix demo typo 2023-10-17 11:43:21 +09:00