Commit Graph

1609 Commits

Author SHA1 Message Date
Micha Mettke
956d33b89a
Merge pull request #718 from ecraven/fix-docs
Various small documentation changes and typo fixes.
2018-08-15 18:11:11 +02:00
Micha Mettke
ddb1087c2c
Merge pull request #709 from drug007/patch-1
doc typo
2018-08-15 18:05:08 +02:00
Peter
d3f57da54c Various small documentation changes and typo fixes. 2018-07-25 08:36:09 +02:00
drug007
2ea07d8fae
typo 2018-07-06 12:11:24 +03:00
drug007
f38f0ccfb7
doc typo 2018-07-06 10:05:59 +03:00
Micha Mettke
aeb1826913
Merge pull request #665 from upiter/patch-1
Fix `Error 65543: NSGL` on macOS
2018-06-29 21:45:42 +02:00
Micha Mettke
4ce3b6a0b3
Merge pull request #701 from buserror/fix-out-of-bound-access
overview.c: Fix an out of bound access
2018-06-29 21:43:12 +02:00
Micha Mettke
cd1624e3aa
Merge pull request #702 from buserror/feature-xlib-xft
xlib: Add demo x11_xft for antialiased fonts
2018-06-29 21:42:45 +02:00
Michel Pollet
8ddb3e59f6 xlib: Add support for x11_xft for antialiases fonts
Looks a lot better.

Signed-off-by: Michel Pollet <buserror@gmail.com>
2018-06-21 13:41:04 +01:00
Michel Pollet
e5dee6bf3d overview.c: Fix an out of bound access
Access 8 elements in a 4 elements array.

Signed-off-by: Michel Pollet <buserror@gmail.com>
2018-06-21 11:08:28 +01:00
vurtun
f42a76e176 Fixed #684 2018-06-10 17:40:55 +02:00
vurtun
38c8d54437 Merge branch 'diggit-nk_drag_fix' 2018-06-10 17:25:52 +02:00
vurtun
b5eb3cd885 Fixed gcc integer conversion warning 2018-06-10 17:25:29 +02:00
diggit
da07a235ab fix window dragging behavior (ignore on click) 2018-05-22 14:13:31 +02:00
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
Jupiter
b3b0c9ee02
Fix Error 65543: NSGL on macOS
## Forward compatibility (GLFW_OPENGL_FORWARD_COMPAT)
Fix for error 65543 on macOS:
Error `65543`: NSGL: The targeted version of OS X only supports forward-compatible contexts for OpenGL 3.2 and above

Quote from docs:
GLFW_OPENGL_FORWARD_COMPAT specifies whether the OpenGL context should be forward-compatible, i.e. one where all functionality deprecated in the requested version of OpenGL is removed. This must only be used if the requested OpenGL version is 3.0 or above.
2018-04-11 14:40:18 +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