Commit Graph

1870 Commits

Author SHA1 Message Date
Richard Gill
14531a23a5 fixed rect multi color 2021-05-13 01:00:19 +02:00
Richard Gill
ef9fef2189 last xcb try 2021-05-06 21:35:36 +02:00
Richard Gill
596e5d76d9 try to impl rect multicolor command with cairo 2021-05-01 20:50:31 +02:00
Richard Gill
1ae558aa7f added style selector in demo 2021-05-01 17:48:17 +02:00
Richard Gill
24594c8f75 working
from https://github.com/griebd/nuklear_xcb
2021-05-01 17:38:55 +02:00
marcinzelent
d829ff1ef1 Fixed copy and paste in glfw_opengl3 demo 2021-04-08 17:36:07 +02:00
Michael Aganier
6e80e2a646 Fix nk_property hover bug 2021-03-19 18:08:20 +01:00
Komari Spaghetti
0a2b04bfaa
Merge pull request #275 from aganm/property_bool
Update documentation for nk_bool return functions and change nk_propertyi back to int
2021-03-17 16:29:54 +01:00
Michael Aganier
5cec8b15ab Update dates in last 2 minor versions 2021-03-16 12:33:29 -04:00
Michael Aganier
93cbaca6da Regen nuklear.h and bump version in package.json 2021-03-16 11:51:34 -04:00
Michael Aganier
5c6dcf6cd4 Change nk_propertyi back to int 2021-03-15 12:32:22 -04:00
Michael Aganier
f78b010c03 Update documentation for functions that now return nk_bool 2021-03-15 12:30:52 -04:00
Michael Aganier
04d4ee1089 Bump changelog in single header file 2021-03-15 12:26:37 -04:00
Komari Spaghetti
4a749821c4
Merge pull request #237 from Hecklezz/D3D11_Index_Buffer_Format_Fix
Made D3D11 implementation work when using NK_UINT_DRAW_INDEX
2020-12-29 13:07:13 +01:00
Hecklezz
ff7f929e38 Made D3D11 implementation work when using NK_UINT_DRAW_INDEX 2020-12-29 15:08:47 +10:00
Komari Spaghetti
daecaaa5af
Merge pull request #232 from riskpeep/issue-231-iso-ansi-pedantic-compilation-error
Fix C89 compilation errors
2020-12-24 15:46:43 +01:00
Robert Kerr
fc5dc44d8e Bumping version for PR to resolve issue 231 2020-12-20 00:02:02 -05:00
Robert Kerr
d2e6047c60 Fix C89 compilation errors 2020-12-19 16:49:07 -05:00
Komari Spaghetti
ed45455c5d
Merge pull request #216 from wuhanstudio/fix-error-C90-comment
[fix][error] C++ style comments are not allowed in ISO C90
2020-11-10 17:53:08 +00:00
Wu Han
74a4df4eb9 update changelog and package.json for errors in nuklear_font.c 2020-11-10 17:19:56 +00:00
Wu Han
e2278ed3f5 fix C++ style comments error in nuklear_font.c 2020-11-10 17:17:51 +00:00
Wu Han
ec697f3123 [fix][error] C++ style comments are not allowed in ISO C90 2020-11-10 11:12:46 +00:00
dumblob
d2550448f3
Merge pull request #199 from aganm/nk_combo_fix
nuklear.h: fix nk_combo return type wrongly changed to nk_bool
2020-10-07 11:59:17 +02:00
dumblob
5570172553
Merge pull request #200 from wziard/master
backend: add a rawfb backend which uses SDL_Surface's for output
2020-10-07 11:55:33 +02:00
Martijn Versteegh
7fea82f534 Properly cleanup all resources and remove some obsolete comments. 2020-10-07 11:43:40 +02:00
Martijn Versteegh
dc635effbc Don't show the grid demo, since it doesn't work that well without keyboard handling. 2020-10-07 11:42:45 +02:00
Martijn Versteegh
737bb49754 Remove overly spammy printf.\n 2020-10-07 11:37:45 +02:00
Martijn Versteegh
b5faf09c4f Add a rawfb backend which uses SDL_Surface's for output.
The other sdl  demo backends all use OpenGL, which defeats the
purpose of using SDL_Renderer for portabilty.
This is maybe not as good as a full SDL_Renderer backend, but it
is more flexible. For most applications software rendering of the
UI is more than fast enough.
2020-10-07 11:18:20 +02:00
Michael Aganier
2d33c92bb4 Merge master 2020-10-07 05:03:14 -04:00
Michael Aganier
f7b0e1f19f Bump version 2020-10-07 04:58:57 -04:00
Michael Aganier
9460ba34fb Fix nk_combo return type wrongly changed to nk_bool 2020-10-07 03:39:08 -04:00
dumblob
6b2c5c4e4c
Merge pull request #186 from 2asoft/stbtt_memory_management_through_allocator
memory allocation: stb_truetype memory management through the nk_font_atlas allocator (otherwise nuklear.h will not build when NK_INCLUDE_DEFAULT_ALLOCATOR is not defined)
2020-10-05 17:43:45 +02:00
Anton Afanasyev
d30e07f497 Remove trailing spaces 2020-10-02 22:49:02 -07:00
Anton Afanasyev
ea3bb68e2a Use the nk_font_atlas's allocator for stb_truetype memory management by default
And allow the consumer to customize by redefining STBTT_malloc/STBTT_free
2020-10-02 22:48:57 -07:00
Anton Afanasyev
48ab7b2a7c paq: Pipe output to file 2020-10-02 22:35:12 -07:00
dumblob
7022a95c2b
Merge pull request #185 from aganm/nk_bool
Change booleans from int to nk_bool
2020-09-08 17:47:07 +02:00
Michael Aganier
76f430c969 Change nk_bool static assert to >= 2 2020-09-08 07:26:06 -04:00
Michael Aganier
1e21ef2285 Replace every boolean int by nk_bool 2020-09-04 08:29:43 -04:00
Michael Aganier
60ed2a5aa5 Add nk_bool and NK_INCLUDE_STANDARD_BOOL 2020-09-04 08:14:43 -04:00
Michael Aganier
fabf4d616d Ignore vim temp files 2020-09-04 05:03:59 -04:00
Patrick McMorris
d9ddd1810f
fix bugs in computing pooled allocation sizes (#151) 2020-07-01 14:58:33 +02:00
dumblob
1b1224a230
Merge pull request #152 from lockie/master
backends: allegro5 event processing now returns bool (event was/was_not processed)
2020-06-17 11:51:56 +02:00
Andrew Kravchuk
264abf4af1
Added processed event flag as a return value in allegro5 backend 2020-06-16 19:03:50 +03:00
dumblob
5bc1c2956c
Merge pull request #150 from pmcmorris/master
fix incorrect memset size in glfw demo shutdown
2020-06-12 08:59:52 +02:00
Patrick McMorris
c1e7be31bd fix incorrect memset size in shutdown for glfw demo 2020-06-11 23:03:38 -07:00
dumblob
1407308b88
Merge pull request #142 from zgcrowno/master
Make nk_combo header symbols ("icon" etc.) optional.
2020-06-11 21:51:27 +02:00
Komari Spaghetti
ad8c1ca091
Merge pull request #149 from wyattscarpenter/patch-1
use integer for integer bound
2020-06-11 14:45:45 +02:00
wyattscarpenter
9812c131b4
use integer for integer bound
I got a warning about this from my compiler (cl.exe). I tested it both ways, and the behavior is the same, except for the compiler warning no longer occurs after my change.
2020-06-11 07:08:43 -05:00
Zachary Crownover
5a1bacb6e6 Made combo header symbols truly optional. 2020-06-09 16:01:39 -05:00
Komari Spaghetti
1ea4c0233e
Merge pull request #145 from lockie/master
Added ability to use user fonts after initialization in allegro5 backend
2020-06-07 13:51:14 +02:00