Commit Graph

1712 Commits (master)

Author SHA1 Message Date
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
Micha Mettke 614b3627c1
Merge pull request #614 from mmozeiko/master
Correctly draw non-filled rectangle for GDI demo
2018-01-30 00:17:04 -08:00
Martins Mozeiko 5acdfc9e34 correctly draw non-filled rectangle for GDI demo 2018-01-29 22:14:41 -08:00
vurtun 48a9d3176b Fixed ANSI C warnings 2018-01-28 11:59:06 +01:00
vurtun f8dfddd732 Applied patch from #603 for panel border drawing 2018-01-28 11:48:44 +01:00
Kees Rijnen 205089ff62 Add opengl 4 demo that uses bindless textures and pesistent mapped vertex buffer 2018-01-22 06:00:39 -08:00
vurtun 11c81d4631 Fixed accidental code remove in last commit 2018-01-15 23:31:15 +01:00
vurtun c36a167127 Added tree documentation 2018-01-15 19:30:57 +01:00
vurtun da8273c4c6 Added `nk_group_begin_titled` 2018-01-12 18:35:36 +01:00
vurtun 9d91b7c3d0 Moved Changelog into documentation 2018-01-09 20:57:56 +01:00
Micha Mettke 2d31b3af5f
Merge pull request #600 from cartman300/patch-1
Add C# binding to the list
2018-01-09 11:55:24 -08:00
vurtun c9189a250b Finished documenation conversion 2018-01-09 12:15:44 +01:00
Saša Barišić ac0901e853
Update Readme.md 2018-01-09 05:55:25 +01:00
Saša Barišić 5318555739
Add C# binding to the list 2018-01-09 05:52:18 +01:00
vurtun 8027ebe0ee Second last doc conversion commit 2018-01-08 16:08:38 +01:00
vurtun 8709a881f0 Added input documentation translation 2018-01-08 02:21:21 +01:00
vurtun 9a314f0e29 Finised context documentation translation 2018-01-07 22:59:27 +01:00