Commit Graph

1570 Commits

Author SHA1 Message Date
Bailey Cosier
3444d8aeef Bump docs submodule revision 2017-09-21 18:18:57 +07:00
Bailey Cosier
981d542177 Add doc scripts and sphinx configuration update 2017-09-21 18:18:57 +07:00
Bailey Cosier
075e3fd349 Add .readthedocs.yml config for installing breathe dependency 2017-09-21 18:18:57 +07:00
Bailey Cosier
9d2fe7cfed Add doxygen, sphinx docs setup 2017-09-21 18:18:57 +07:00
Micha Mettke
815b5e19e4 Merge pull request #521 from valera-rozuvan/patch-3
Add comment to closing #endif statement
2017-09-20 16:43:27 +02:00
Valera Rozuvan
55206c7bea Add comment to closing #endif statement
I think this adds more clarity to the library. I.e. that it is organized into 2 large #define statements. The first large statement (`NK_NUKLEAR_H_`) has a comment for it's closing `#endif` statement. The second one (`NK_IMPLEMENTATION`) does not.
2017-09-19 16:15:21 +03:00
Micha Mettke
48f659abd8 Merge pull request #497 from jwdeitch/master
fix compiling error on OSX (-lglfw3 not found)
2017-09-18 17:41:54 +02:00
Micha Mettke
46cd4e0bd5 Merge pull request #520 from valera-rozuvan/patch-2
Remove unused line of code
2017-09-18 14:42:46 +02:00
Valera Rozuvan
3757f56824 Remove unused line of code 2017-09-18 12:00:58 +03:00
Micha Mettke
8f9ead7539 Merge pull request #519 from valera-rozuvan/patch-2
Fix comment for closing #endif
2017-09-17 21:46:55 +02:00
Valera Rozuvan
1b1b04fec0 Fix comment for closing #endif
I believe it should be `NK_NUKLEAR_H_` instead of `NK_H_`.
2017-09-17 22:25:32 +03:00
vurtun
9059628b16 Fixed #517 second attempt 2017-09-14 14:53:38 +02:00
vurtun
b774329a2e Fixed #516 nk_edit_buffer and nk_edit_focus 2017-09-14 14:48:43 +02:00
vurtun
43b41f92bd Fixed window closing behavior
If a window was closed the remaining windows remain in read only mode.
This wrong behavior is now fixed.
2017-09-14 14:09:33 +02:00
vurtun
3b5123f523 Fixed #517 --!!BREAKING CHANGE!!--
Since directly modifing window position and size between function calls
nk_begin and nk_end causes drawing errors it is now required to be set
_OUTSIDE_. For that reason each modifing function now takes in the name
of the window to modify. Sorry for the inconvenience.
2017-09-14 12:59:33 +02:00
Dmitry Hrabrov
708a7ebbc3 Xlib: remove text BG rectangle
It's already window or BGcolor on background.
2017-09-11 15:15:38 +03:00
Micha Mettke
0c2a725ac7 Merge pull request #512 from DeXP/master
XLib: stb_image support with bit transparency
2017-09-11 14:12:10 +02:00
Dmitry Hrabrov
f72dd6239d Optional stb_image defines 2017-09-11 14:00:20 +03:00
vurtun
31674e4b09 Fixed #503 background window flag
Fixed anotherr background window flag in case the background window is
defined last.
2017-09-11 12:47:37 +02:00
Dmitry Hrabrov
5de84dc310 Fix stb_image path 2017-09-04 12:38:04 +03:00
Dmitry Hrabrov
5fc8a250aa stb_image with bit transparency
X11 do not support transparent images itself. So the clip mask is calculating in this code. X11 ClipMask support only bit transparency.
2017-09-04 12:35:32 +03:00
DeXP
f994b15b84 Merge branch 'master' of git://github.com/vurtun/nuklear 2017-09-04 12:12:16 +03:00
Micha Mettke
67b26f9c32 Merge pull request #510 from lieff/master
fix asan error (out-of-scope variable access)
2017-09-01 12:39:00 +02:00
lieff
039afa80ae fix asan error (out-of-scope variable access) 2017-09-01 13:06:49 +03:00
vurtun
afa76f52ab Fixed #502 nk_item_is_any_active for hidden window 2017-08-27 17:12:19 +02:00
vurtun
7c089a5f09 Fixed #503 NK_WINDOW_BACKGROUND flag behavior
The window background flags was pretty much broken at this point. It
would completly block all input for each window. The fix itself is quite
dirty but hopefully everything works correctly now.
2017-08-27 16:57:40 +02:00
vurtun
a2472f8c36 Fixed #501 incorrect documentation for nk_input_scroll 2017-08-21 11:15:17 +02:00
Micha Mettke
d7f757b8f2 Merge pull request #499 from reujab/master
Corrected line count
2017-08-20 09:26:26 +02:00
reujab
4a82680e23 corrected line count 2017-08-19 18:48:52 -04:00
Micha Mettke
1aebb41ec4 Merge pull request #495 from cascade256/master
Fix GLFW double clicking
2017-08-19 11:21:48 +02:00
vurtun
fcbbc4ae87 Merge branch 'stillwarter-master' 2017-08-19 11:20:04 +02:00
StillWarter
e454fcf8d1 nk_iceilf now returns correct value when x >= 0 2017-08-19 12:45:00 +08:00
jwdeitch
52f24d4e67 fix compiling error on OSX
error: ld: library not found for -lglfw3
2017-08-17 00:58:08 -04:00
Micha Mettke
2a406caf7f Merge pull request #496 from ettoretorti/master
Fix typos in comments
2017-08-15 18:26:19 +02:00
Ettore Sergey Torti
2a30c4f74b Fix typos in comments 2017-08-15 15:20:57 +02:00
cascade256
f7137ec0f1 Fix GLFW double clicking 2017-08-13 00:55:07 -07:00
vurtun
b73e3c755c Merge branch 'ettoretorti-master' 2017-08-12 17:57:17 +02:00
vurtun
bee9037028 Converted C++ comments to C89 and added reference
Single line comment are a feature of C++ and C99 and above while C89 only
supports multiline comment /**/. In addition I added an additional
reference for the addition and subtraction formulae.
2017-08-12 17:53:37 +02:00
vurtun
4ba164c17b Merge branch 'master' of https://github.com/ettoretorti/nuklear into ettoretorti-master 2017-08-12 17:37:14 +02:00
vurtun
1da1997c58 Merge branch 'Np3w-master' 2017-08-12 13:17:57 +02:00
Ettore Sergey Torti
f4171e8fa6 Optimize arc drawing for fewer sin/cos calls
Change nk_draw_list_path_arc_to so that it calls sin and cos 4 times
instead of (segments * 2) times. This is achieved through the use of
the trigonometric angle addition identities.
2017-08-11 19:35:59 +02:00
Np3w
2f56f8b890 More code style 2017-08-11 17:23:53 +02:00
Np3w
7abda4436b Fix code style 2017-08-11 17:22:52 +02:00
Np3w
4920522b62 Make nk_window_is_hovered care about NK_WINDOW_HIDDEN flag 2017-08-11 17:16:45 +02:00
Micha Mettke
468065b214 Merge pull request #486 from nsawa/fix_gcc_warning_unused_variable
Fix gcc warning 'unused variable'.
2017-07-24 07:35:40 +02:00
Naoyuki Sawa
9eed01d431 Fix gcc warning 'unused variable'. 2017-07-24 10:52:03 +09:00
vurtun
ebee71661e Fixed #485 widget is hovered/clicked outside window 2017-07-23 10:09:18 +02:00
vurtun
9a9f4f063d Fixed #479 drawing bug for lines/rectangles 2017-07-17 23:00:03 +02:00
vurtun
6326b5de08 Fixed #406 bug causing infinite loop 2017-07-17 22:00:44 +02:00
vurtun
8e48b99f09 Fixed #477 segfault on full table 2017-07-07 20:26:48 +02:00