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
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
Wladislav ヴラド Artsimovich
7384f0ed67
Regenerate Nuklear.h
2023-10-17 11:41:11 +09:00
Wladislav ヴラド Artsimovich
2ec96be4b9
Add horizontal rule demo
2023-10-17 11:37:30 +09:00
Wladislav ヴラド Artsimovich
894f2776f7
Merge remote-tracking branch 'upstream/master' into horizontal_rule
2023-10-17 11:17:55 +09:00
Andrew Kravchuk
6319e8f787
Fixed broken link in Allegro5 backend readme
2023-10-16 14:01:07 +02:00
Yukyduky
25cda15319
Fixed two copy paste mistakes
2023-10-13 11:56:14 +02:00
Yukyduky
8016ff334d
Added feature to disable widgets
2023-10-11 21:27:52 +02:00
Rob Loach
a14e55f536
Merge pull request #576 from nyaruku/master
...
gdi: Fix for GDI and GDI+ example
2023-09-16 19:41:16 -04:00
Thomas Fitzsimmons
83df3367b4
Use __PPC64__ macro for GCC detection
2023-09-12 16:26:17 -04:00
nyaruku
036f8226bb
Fixed Transparent Text Background for GDI
...
Co-authored-by: Rob Loach <robloach@gmail.com>
2023-09-12 18:47:27 +03:00
nyaruku
0435477a91
Fix Copy/Paste/Select All for Text Input
2023-09-08 16:29:21 +03:00
nyaruku
1aae7b555a
Update nuklear_gdi.h
2023-09-06 05:00:45 +03:00
nyaruku
24ceaad002
Add files via upload
2023-09-06 04:47:25 +03:00
Rob Loach
614abce05b
Merge pull request #563 from FrostKiwi/fix_click-drag_on_touch
...
Fix click drag on touch + WebBrowsers
2023-08-03 11:50:52 -04:00
Rob Loach
12d4e2b257
Merge pull request #545 from vabenil/fix_doc_variable
...
fix variable name in docs
2023-08-03 11:46:43 -04:00
Rob Loach
e3c5384a0e
Merge pull request #558 from riri/fix-demo-titlebar-options
...
Fixfixed titlebar options in overview demo
2023-08-03 11:45:36 -04:00
Rob Loach
017f27be5b
Merge pull request #531 from dulingzhi/fix/incorrect-font-bake
...
Fix incorrect glyph index in nk_font_bake
2023-08-02 03:21:52 -04:00
dumblob
b4b94b0486
Merge pull request #564 from Immediate-Mode-UI/remove-doc-binary
...
documentation: Remove the "doc" binary from repo (it is being rebuilt on demand anyway)
2023-07-10 10:40:05 +02:00
Rob Loach
351e5d7296
doc: Add clean up, and git ignore the binary
2023-07-09 22:18:20 -04:00
Rob Loach
4848a03282
Remove doc binary
2023-07-09 22:17:11 -04:00