Commit Graph

1878 Commits

Author SHA1 Message Date
vurtun 907db51a95 Merge branch 'pr_valist' of https://github.com/AntiBlueQuirk/nuklear into AntiBlueQuirk-pr_valist 2018-04-06 11:39:33 +02:00
Micha Mettke d230b81a2d
Merge pull request #659 from AntiBlueQuirk/pr_rendfix
Fixed a case where rendering would randomly assert if a temporary buffer failed to be allocated
2018-04-06 01:20:09 -07:00
vurtun aa6752487f Merge branch 'lumonix-glfw_opengl4_demo' 2018-04-06 09:24:56 +02:00
vurtun 1098b22423 Changed GLFW context version to OpenGL 4 2018-04-06 09:20:53 +02:00
AntiBlueQuirk 1ec96233a6 Fixing merge error 2018-04-05 12:57:21 -05:00
AntiBlueQuirk e99a04bc03 Adding va_list versions of varargs functions 2018-04-05 11:17:26 -05:00
AntiBlueQuirk 47bc15f37f Fixed a case where rendering would assert if a temporary buffer failed to be allocated
Other parts of the draw_list code simply fail more or less silently when the
buffers fill up. The user could allocate bigger buffers and try again, except
that these particular functions assert when they fail to allocate the buffer.
2018-04-05 11:03:27 -05:00
vurtun d374953d27 Fixed #657 contextual activation code 2018-04-04 16:43:09 +02:00
vurtun 60bd95c926 Updated src/ Readme 2018-04-02 19:26:47 +02:00
vurtun 2386b3730f Added Readme to /src folder 2018-04-02 18:46:25 +02:00
vurtun ef552429f2 Updated Readme 2018-04-02 18:41:52 +02:00
vurtun f1faee18a0 Updated credits inside docs 2018-04-02 18:08:29 +02:00
vurtun d3e6653b8c Updated Readme 2018-04-02 18:08:04 +02:00
vurtun f5aa92c5ca Seperated single header out into multiple files
Nuklear now comes in two flavours. For ones there is the single-header
version for distribution and multiple files inside the /src folder for
development and better readability. Since I don't want to manually
update each version if the other changes the /src directory includes a
python script developed by Apoorva Joshi to pack all files inside the
directory into a single header file.
2018-04-02 18:06:12 +02:00
Micha Mettke 9a8899fb29
Merge pull request #644 from vtorri/master
d3d11 demo: release target view with ID3D11RenderTargetView_Release()…
2018-04-01 04:15:57 -07:00
Micha Mettke 2825f3492e
Merge pull request #655 from Artomatix/master
Make text edit scroll less when typing past the end
2018-04-01 04:12:58 -07:00
vurtun 253f73c976 Fixed #656 Single frame multi-calling `nk_convert`
It is now possible to call `nk_convert` multiple times in a single
frame.
2018-04-01 13:09:22 +02:00
vurtun 1caba3a5c9 BREAKING CHANGE! Changed `nk_clear` behavior #656
Previously `nk_clear` with optional vertex output enabled would try and
clear each passed buffer from `nk_convert` if called. Problems arise
if each buffer was specified previously in own code block outside
`nk_clear`.

Overall the buffer clearing was an overreaching measure of `nk_clear`
and I hope not to many tried to make use of it. In general the buffer
is owned by the user of nuklear and not nuklear itself.
Therefore it does not make sense for nuklear to access it after
`nk_convert` was successfully completed.

Sorry for any inconvenience caused by this breaking change.
2018-04-01 12:36:56 +02:00
Aneesh Roy 33d8b8f187 Text edit scrolls less when typing past the end 2018-03-30 14:04:30 +01:00
Colm Vize 28ec29b519
Merge pull request #1 from vurtun/master
Update
2018-03-30 14:03:54 +01:00
Micha Mettke 7e710ff4fb
Merge pull request #650 from nathanrw/master
Add reference to pynk
2018-03-25 00:12:45 -07:00
Nathan cf05d73a01
Add reference to pynk 2018-03-24 17:20:26 +00:00
Micha Mettke 1acb673af1
Merge pull request #649 from Dickby/master
correct version of opengl in demo x11_opengl2
2018-03-23 10:24:54 -07:00
Dickby 0dabcdd1f9
correct major/minor version of opengl in x11_opengl2 2018-03-23 16:14:32 +01:00
vurtun 94c0412a08 Fixed #647 window open/close flickering
Opening and closing a set of windows with at least one other window
active caused flickering if a window as closed. Reason was a missing
check inside `nk_build` that did not skip newly closed windows.

I am not 100% sure but this could also affect #637 but I still needs to
be tested.
2018-03-20 11:22:04 +01:00
vurtun 20cd35c0fb Added `nk_image_color` back into API #645
No idea what happend but for some reason I accidentally removed
`nk_image_color`. I don't think there is any reason why it should have
been removed so I added it back in.
2018-03-14 16:36:00 +01:00
Vincent Torri 602ad7d6f9 d3d11 demo: release target view with ID3D11RenderTargetView_Release() and not with ID3D11ShaderResourceView_Release() 2018-03-14 10:14:17 +01:00
Micha Mettke 905b41f640
Merge pull request #641 from Predelnik/pr
Make ctx->begin 0 if ctx->end became 0.
2018-03-05 09:36:36 -08:00
Sergey Semushin 76107a2cd2 Make ctx->begin 0 if ctx->end became 0.
Fixes #634.
2018-03-02 09:23:37 +03:00
Micha Mettke d9ccea11fe
Merge pull request #640 from vtorri/master
d3d11 demo: GetBuffer requires a void ** as 4th argument.
2018-03-01 09:37:55 -08:00
Vincent Torri 30a5709e0a d3d11 demo: GetBuffer requires a void ** as 4th argument.
Fix warning with gcc.
2018-03-01 16:22:19 +01:00
vurtun 45193dc6dd Fixed #636 slider dragging behavior 2018-02-23 22:51:08 +01:00
vurtun 02c66eab19 Updated docs changelog 2018-02-21 23:22:06 +01:00
vurtun 05fed4f833 Fixed changelog dates to correct year 2018-02-21 23:20:39 +01:00
vurtun 1626610040 Added additional documentation on `nk_property_xxx` 2018-02-17 20:20:07 +01:00
vurtun 19ce2bf091 Removed cursor hidding while property dragging 2018-02-12 09:53:18 +01:00
Micha Mettke 0d08a53302
Merge pull request #630 from salty-horse/patch-1
Fix typos in README
2018-02-11 03:47:22 -08:00
Ori Avtalion 470fe323cd
Fix typos in README 2018-02-11 13:28:19 +02:00
Micha Mettke 102ffdcfb0
Merge pull request #627 from mparramont/patch-1
Fix typo
2018-02-10 11:55:04 -08:00
Micha Mettke 03ce800fd5
Merge pull request #628 from zploskey/patch-1
Correct doc comments for nk_window_get_height
2018-02-10 11:54:48 -08:00
Zach Ploskey 5a79427453
Correct doc comments for nk_window_get_height 2018-02-10 11:08:52 -08:00
Miguel Parramon 732536937c
Fix typo
:)
2018-02-10 19:30:53 +01:00
Micha Mettke cb8ee01456
Merge pull request #623 from siro20/fix_pitch
nuklear_rawfb: Use pitch in offset calculation
2018-02-04 12:49:00 -08:00
Patrick Rudolph 66946dc3cf nuklear_rawfb: Use pitch in offset calculation
Use the framebuffer pitch to calculate the correct offset.
Fixes garbled rendering on framebuffer that have
pitch != x_resolution * bpp / 8.

The demo application is unaffected as the pitch always aligns with
the x resolution of the window.

Signed-off-by: Patrick Rudolph <siro@das-labor.org>
2018-02-04 17:08:17 +01:00
Micha Mettke 2e767417b3
Merge pull request #622 from usachevm/master
fixed nk_gdi_stroke_rect()
2018-02-01 23:44:20 -08:00
um e409328ff2 fixed nk_gdi_stroke_rect() : used old version (Rectangle/RoundRect) but with transparent brush. 2018-02-02 10:32:45 +03:00
Micha Mettke 87149c1368
Merge pull request #621 from usachevm/master
Correct GDI window sizing handling
2018-02-01 06:48:08 -08:00
um f771450e93 Correct GDI window sizing handling 2018-02-01 17:26:27 +03:00
vurtun 39e1041c07 Fixed #580 miscalculated baked cursor bake size 2018-01-31 14:52:43 +01:00
vurtun 533b7fc083 Fixed #615 stb_truetype name collision 2018-01-31 11:53:44 +01:00