Commit Graph

1609 Commits

Author SHA1 Message Date
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
Micha Mettke
3b8d66a57c Merge pull request #450 from Fra-Ktus/gdi_nk_image
Implemented nk_create_image and nk_delete_image for the win32 gdi
2017-06-06 20:39:16 +02:00
vurtun
d3a6dc0d30 Merge branch 'master' of https://github.com/vurtun/gui 2017-06-06 20:31:51 +02:00
vurtun
26cd84382d Fixed #453 return flag for dynamic command buffer 2017-06-06 20:30:33 +02:00
Micha Mettke
9575b9370f Merge pull request #452 from mmozeiko/master
Demo using Direct3D 9 for rendering
2017-06-06 07:56:23 +02:00
Martins Mozeiko
e14dd1cb1b Demo using Direct3D 9 for rendering 2017-06-05 21:09:16 -07:00
FraKtus
9c3ab8ed60 implemented nk_create_image and nk_delete_image 2017-06-04 15:29:42 +02:00
FraKtus
042cd078ec implemented nk_create_image and nk_delete_image 2017-06-04 11:34:42 +02:00
FraKtus
3debbd2104 allowing touch event to work on iOS and Android 2017-06-04 11:20:25 +02:00
Micha Mettke
6ac034c803 Merge pull request #447 from tst2005/patch-1
add Lua/Love2d binding to the list
2017-05-29 13:32:55 +02:00
TsT
dff18ebd3f add Lua/Love2d binding to the list 2017-05-29 11:57:12 +02:00
Micha Mettke
b10ca1d588 Merge pull request #444 from godlikepanos/master
Make the font ptr const in nk_style_push_font
2017-05-26 07:59:45 +02:00
Panagiotis Christopoulos Charitos
200017dab8 Make the font ptr const in nk_style_push_font 2017-05-25 23:00:39 +02:00
vurtun
530266b8e8 Merge branch 'master' of https://github.com/vurtun/gui 2017-05-23 15:21:21 +02:00
vurtun
7bd467935b Fixed #442 Activation of partially visible widgets 2017-05-23 15:20:44 +02:00
Micha Mettke
c47696e5ba Merge pull request #441 from wheybags/patch-1
remove typoed/duplicated function declaration
2017-05-23 13:51:21 +02:00
Tom Mason
aa6bd5a8ec remove typoed/duplicated function declaration 2017-05-23 11:20:54 +01:00
vurtun
af50d846c2 Merge branch 'master' of https://github.com/vurtun/gui 2017-05-23 09:14:35 +02:00
vurtun
d4f518168b Fixed #439 missing zeroing in nk_font_atlas_cleanup 2017-05-23 09:12:52 +02:00
Micha Mettke
2d80ca8212 Merge pull request #436 from mmozeiko/master
double click support in demo code for Windows platforms
2017-05-17 08:34:36 +02:00
Martins Mozeiko
edac63b81e double click support in demo code for Windows platforms 2017-05-16 22:29:43 -07:00
vurtun
d9a57d42cd Fixed panel scaling to behave like windows native 2017-05-10 12:35:52 +02:00
vurtun
70d9de10c9 Fixed scrollbar drawing bug if not enough space 2017-05-09 21:22:09 +02:00
vurtun
9ed3eeec8d Fixed scaler dragging behavior #432 2017-05-09 20:03:51 +02:00
Micha Mettke
1f8f92e73f Merge pull request #431 from McNopper/master_norbert_warning_fix
Removed compiler GCC warning.
2017-05-09 17:48:45 +02:00
Norbert Nopper
621e233217 Removed compiler GCC warning. 2017-05-09 09:53:48 +02:00
vurtun
9dc7323b74 Added platform double click support #412 2017-05-06 18:50:32 +02:00
Patrick Rudolph
e888338498 Introduce define for software fonts
Add NK_INCLUDE_SOFTWARE_FONT to allow font generation without
the need to have vertexbuffers.

Required for software rasterization.

Signed-off-by: Patrick Rudolph <siro@das-labor.org>
2017-05-01 10:15:36 +02:00
vurtun
012170b308 Added additional batch of documentation 2017-04-27 21:34:14 +02:00
vurtun
8559aebaed Fixed key repeat #416 in nk_input_key 2017-04-20 18:14:24 +02:00
vurtun
4c39852182 Fixed #405 and added property select and clipboard 2017-04-20 11:57:36 +02:00
vurtun
43a4f3ec82 Fixed nk_edit_flags sequence 2017-04-10 19:47:21 +02:00
vurtun
945dc5aeb1 Fixed #403 with another floating pointer error 2017-04-10 19:21:02 +02:00
vurtun
d68a9cf5ed Added first batch of documentation 2017-04-09 16:46:13 +02:00
vurtun
1995518b0d Added additional input window flags #399 2017-04-09 16:18:09 +02:00
Micha Mettke
e4c800a242 Merge pull request #398 from rokups/fix/nk_convert-graceful-failure
Allow graceful failure of nk_convert()
2017-04-09 15:52:12 +02:00
vurtun
89e6ed6b5a fixed #395 heap corruption in nk_buffer 2017-04-09 15:51:08 +02:00
Rokas Kupstys
bbb8190ad4 Removed two asserts in order to allow nk_convert() to gracefully fail when buffers do not provide enough space. 2017-04-09 16:04:01 +03:00
vurtun
7d5648db30 Added result flags to nk_convert 2017-04-08 09:46:40 +02:00
vurtun
5cf6f204b7 Removed wrong nk_window_is_closed in demos 2017-04-06 09:51:50 +02:00
Micha Mettke
0d010a39a4 Merge pull request #393 from nsawa/fix_gcc_warning_in_nk_end
Fix gcc warning in nk_end().
2017-04-05 08:26:16 +02:00