Commit Graph

2112 Commits

Author SHA1 Message Date
Cameron Cawley 48334b8ba6 Implement arcs with GDI+ 2021-12-16 21:15:23 +00:00
Cameron Cawley a12c158ad4 Add more shapes to the canvas demo 2021-12-16 20:26:26 +00:00
Cameron Cawley 459ba9c48c Integrate the canvas example with the demos 2021-12-16 20:26:26 +00:00
Rob Loach 24912785b7
Merge pull request #379 from ccawley2011/allegro5
Fix rendering issues with Allegro
2021-12-16 14:51:45 -05:00
Cameron Cawley 60c52adfaf
Enable and fix most GCC warnings (#377)
Co-authored-by: Rob Loach <robloach@gmail.com>
2021-12-16 20:44:00 +01:00
Cameron Cawley c5d18493a4 Correctly implement arcs with Allegro 2021-12-16 18:57:08 +00:00
Cameron Cawley 291ce9b609 Fix rendering polygons and polylines with Allegro 2021-12-16 18:56:07 +00:00
Rob Loach fb88f6c6fc
Merge branch 'master' of github.com:Immediate-Mode-UI/Nuklear into stb-updates 2021-12-16 11:55:29 -05:00
dumblob fe2c63bb67
Merge pull request #374 from Immediate-Mode-UI/clib-mit
clib: Add licensing information
2021-12-16 10:29:06 +01:00
Rob Loach 368e184ebc
clib: Add Unlicense 2021-12-16 00:59:09 -05:00
Rob Loach 146676d376
utils: Add EditorConfig to manage editor whitespace (#376)
[EditorConfig](https://editorconfig.org) is a utility for various code editors which will automatically configure the editor to manage whitespace as desired.
2021-12-15 23:39:18 +01:00
Rob Loach f27ac6ef02
Update to stb_rect_pack.h v1.01 and stb_truetype.h v1.26 2021-12-14 22:49:12 -05:00
Rob Loach aeb518558e
clib: Add MIT license 2021-12-14 22:03:47 -05:00
Rob Loach eadb4179af
sdlrenderer: C89 support 2021-12-14 21:10:30 -05:00
Rob Loach 85c88b6269
Merge pull request #42 from ccawley2011/c89
Build all demos as C89
2021-12-14 20:50:54 -05:00
Aloz1 e129ca6e67
Rename package.json to clib.json (#365)
The clib package manager has deprecated package.json in favor of clib.json (probably to reduce confusion between clib and other package managers). As far as I can tell, there's no difference in file format, just file name.

* Remove version bump
* Fix spelling of contributor

Co-authored-by: Rob Loach <robloach@gmail.com>
2021-12-14 18:36:03 -05:00
Cameron Cawley 9af0103cac Build all demos as C89 2021-12-14 20:14:34 +00:00
dumblob 230231355d
Merge pull request #332 from phoebe-leong/master
doc: add title to the HTML documentation page
2021-12-14 09:28:15 +01:00
dumblob 93940ccbd0
Merge pull request #363 from lockie/master
allegro5 demo: Fix warning
2021-12-14 09:26:59 +01:00
dumblob c91ca8b503
Merge pull request #366 from luzpaz/typos
all: Fix various typos
2021-12-14 09:24:38 +01:00
Andrew Kravchuk 5ea1a668cb
Use NK_UNUSED macro
Co-authored-by: Rob Loach <robloach@gmail.com>
2021-12-14 09:15:00 +03:00
luz paz 297e463d37 Fix various typos
Found via `codespell -q 3 -L acount,modifyable,nd,pixelx,seperator,te,vertexes`
2021-11-30 21:45:48 -05:00
Andrew Kravchuk 019df39478
Fix warning in Allegro5 demo 2021-11-02 19:22:01 +03:00
Joel Davis ff62698de8 Added nk_spacer to help adjusting layout 2021-10-16 15:02:28 +02:00
Alex Anderson a37a563315 Add select all shortcut to glfw4 demo 2021-10-10 12:15:21 +02:00
Michael Aganier cd731ae558 Fix "may be used uninitialized" warnings in nk_widget 2021-09-26 21:14:20 +02:00
gpetersson 7eaaccb929 GCC __builtin_offsetof only exists in version 4 and later 2021-09-23 08:24:36 +02:00
gpetersson 4be905921b Fix "'num_len' may be used uninitialized" in nk_do_property 2021-09-16 16:27:50 +02:00
Komari Spaghetti f28e4827e5 Fix "Templates cannot be declared to have 'C' Linkage" 2021-09-15 21:43:47 +02:00
ph3b3 618008ee33
added page title 2021-09-12 18:21:19 +10:00
ph3b3 44b57076ba
removed unneccessary whitespace from build 2021-09-12 18:19:12 +10:00
Cameron Cawley 73a2062d70 Fix warnings in C89 builds 2021-09-09 08:40:18 +02:00
Phoenix a859103836
Fix canvas example not rendering fully on macOS (#288) 2021-09-08 18:12:06 +02:00
Komari Spaghetti ebdb341750 Use compiler builtins for NK_OFFSETOF when possible 2021-09-08 18:09:09 +02:00
David 6322f53cb5
Add support for 9-slice/9-patch (#304) 2021-08-17 22:34:52 +02:00
Komari Spaghetti f42712c9de Replace usage of memset in nk_font_atlas_bake with NK_MEMSET 2021-08-16 22:53:02 +02:00
Rob Loach 0b49ee5db0
Fix warnings about sign conversion (#323) 2021-08-15 21:30:49 +02:00
Komari Spaghetti 7ef8fd65cc Fix crash when baking merged fonts
fixes #316
2021-08-08 15:10:33 +02:00
Komari Spaghetti 79ab55b1b6 Merge branch 'BieHDC-fix_multiline_edit' 2021-08-08 15:06:07 +02:00
Bernhard Feichtinger cd217d6c6a Fix wrong scrolling in nk_edit_* when multiline is enabled 2021-08-08 15:05:25 +02:00
Mikhail Sokolovskiy 67c72d0484 Fix warning about unused parameter 2021-08-07 20:09:10 +02:00
Wladislav Artsimovich 1e4eacca2e change NK_MEMSET to memset(), because NK_MEMSET is NK internal 2021-06-18 16:19:49 +02:00
A. Tammy 4c728a0adf
create-tag github action for future tags
Closes: https://github.com/Immediate-Mode-UI/Nuklear/issues/136

Signed-off-by: Aisha Tammy <floss@bsd.ac>
2021-04-22 11:40:45 -04:00
marcinzelent d829ff1ef1 Fixed copy and paste in glfw_opengl3 demo 2021-04-08 17:36:07 +02:00
Sylvain fb698ba7ef
Set back clipping_enabled 2021-04-03 23:40:13 +02:00
Sylvain 6b5cfe5f2b
Save and restore the cliprect 2021-04-03 20:53:19 +02:00
Sylvain 3552e131a9
Remove setting GL attributes 2021-03-30 17:09:57 +02:00
Sylvain 34450093d7
Add example to use Nuklear with SDL2 SDL_Renderer and SDL_RenderGeometry() 2021-03-26 09:19:50 +01: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