Commit Graph

1594 Commits (master)

Author SHA1 Message Date
vurtun b1209dbb2e Corrected separation 2018-05-14 15:41:16 +02:00
vurtun ae845fcb0b Fixed single-header packing mistake 2018-05-14 15:32:19 +02:00
vurtun 299446aeca Added assert to check for 16-bit index overflow 2018-05-14 15:26:05 +02:00
Micha Mettke f228e73f37
Merge pull request #685 from wheybags/scrollbar_fix
fix scrollbar crash
2018-05-11 11:18:57 +02:00
Tom Mason b7725b4a89 fix scrollbar crash
Copy paste mistake was checking the background type for the cursor style,
leading to a crash if background was image type and cursor was color, as
it would try to use the cursor color as a texture.
2018-05-07 10:36:20 +02:00
vurtun 823f79f856 Second attempt to fix #675 2018-04-23 16:17:24 +02:00
vurtun f79b080d84 Fixed #674 popup and contextual combination problems 2018-04-23 11:06:18 +02:00
vurtun da3f7fed6c Fixed #675 List view 2018-04-23 11:01:06 +02:00
vurtun 0981c1a321 Fixed #677 contextual right-click behavior
Closing a contextual menu by right click caused invalid behavior and
bocking. In addition having consecutive contextual menus and closing an
earlier menu will wrongfully open a following menu. Both are now fixed.
2018-04-23 10:55:35 +02:00
Micha Mettke b91a815c82
Merge pull request #668 from nsawa/Fix_VC_warning_cannot_convert_parameter
Fix: VC++ warning cannot convert parameter.
2018-04-15 10:38:37 +02:00
vurtun d5f32ee6f9 Fixed `nk_tree_element_push_id` macro 2018-04-15 10:34:53 +02:00
Naoyuki Sawa 9c6896c1ed Fix: VC++ warning cannot convert parameter. 2018-04-15 10:53:29 +09:00
vurtun 3f99a80f11 Added selectable tree nodes #626 2018-04-14 13:57:25 +02:00
Micha Mettke f2539376ee
Merge pull request #666 from olueiro/patch-1
Add reference to MoonNuklear (Lua)
2018-04-13 11:26:45 +02:00
olueiro 0b41d903e4
Add reference to MoonNuklear (Lua)
Added reference to MoonNuklear
Fixed Lua/Löve2d library name
2018-04-12 13:48:53 -03:00
vurtun bca152011e Merge branch 'AntiBlueQuirk-pr_valist' 2018-04-06 11:43:40 +02:00
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