Commit Graph

1398 Commits

Author SHA1 Message Date
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
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
vurtun
900bca9ac3 Removed unneeded semicolon in C++ NK_ALIGNOF version 2017-07-06 10:36:02 +02:00
vurtun
83636d4566 Fixed #472 with draw lines smaller/equal zero 2017-06-30 16:35:03 +02:00
vurtun
fad605ebde Merge branch 'master' of https://github.com/vurtun/gui 2017-06-30 16:33:56 +02:00
Micha Mettke
170fbf26e4 Merge pull request #468 from nsawa/fix_warning_in_nk_layout_reset_min_row_height
fix: warning unused variable in nk_layout_reset_min_row_height()
2017-06-30 16:32:56 +02:00
Micha Mettke
1c3bc4ba81 Merge pull request #468 from nsawa/fix_warning_in_nk_layout_reset_min_row_height
fix: warning unused variable in nk_layout_reset_min_row_height()
2017-06-22 07:32:03 +02:00
Naoyuki Sawa
0f4225aa1e In revision 4741669, gcc 2.7.2 generates a warning in the function nk_layout_reset_min_row_height():
warning: unused variable `font'
2017-06-22 09:33:17 +09:00
vurtun
4741669c3d Finished documentation for layouting 2017-06-21 20:52:27 +02:00
vurtun
ef78999cd4 Fixed documentation for last change 2017-06-21 12:46:12 +02:00
vurtun
14e0847e98 Made last auto layout change non-breaking
Auto layouting now only happens if you pass zero for row height in any
of the layouting functions.
2017-06-21 12:41:54 +02:00
vurtun
3c6d32db7a Fixed tree visual bug caused by min layout height 2017-06-21 12:25:51 +02:00
vurtun
ecd16919bb Merge branch 'master' of https://github.com/vurtun/gui 2017-06-21 12:19:49 +02:00
vurtun
e13aae2087 BREAKING: Auto row height derived from font height
From now on internally nuklear will keep a minimum row height that is
derived from currently select font. If you want to have a row smaller
than that you can call `nk_layout_set_min_row_height` and reset the
value back by calling `nk_layout_reset_min_row_height`.
2017-06-21 12:18:21 +02:00
Micha Mettke
0dbe53a77e Merge pull request #466 from wheybags/newline_fix
fix accidental windows newlines
2017-06-16 12:46:04 +02:00
Micha Mettke
1a73739b90 Merge pull request #465 from wheybags/chart_fix
fix nk_plot functions triggering assert when drawing offscreen
2017-06-16 12:45:12 +02:00
Tom Mason
9fc0efe7b0 fix accidental windows newlines 2017-06-16 10:46:29 +01:00
Tom Mason
8d8c39249a fix nk_plot functions triggering assert when drawing offscreen 2017-06-16 10:42:41 +01:00
Micha Mettke
5c7194c2fe Merge pull request #462 from wheybags/nk_textedit_init_fix
Zero nk_text_edit structs before initialising in nk_textedit_init_*
2017-06-14 18:26:43 +02:00
Tom Mason
d59c879380 Zero nk_text_edit structs before initialising in nk_textedit_init_*
Fixes issue with uninitialised memory. Didn't move the memset call into
nk_textedit_clear_state because that function is used elsewhere, and you
don't always want to completely clear the struct when you call it.
2017-06-14 15:44:17 +01:00
vurtun
5c0ef785ee Fixed #458 property behavior bug 2017-06-09 19:24:53 +02:00
vurtun
a79a0837ba Added additional layouting utility function 2017-06-08 17:56:59 +02:00
Micha Mettke
27603d5b97 Merge pull request #449 from Fra-Ktus/master
allowing touch event to work on iOS and Android
2017-06-06 20:40:00 +02:00