Commit Graph

1239 Commits

Author SHA1 Message Date
seibelj
e2c48555d4 Added initial work for allegro5 backend 2016-12-31 01:29:45 -05:00
Dmitry Hrabrov
d6ac1e4d3f nk_gdip_fill_rect coordinates fix
Fix incorrect button drawing (wrong stroke, empty spaces in stroke line near the corners). Since there are quarters of circle in the angles then lines must be moved to R, not to D.
2016-12-29 21:34:58 +03:00
Anthony Pesch
76ebc40c26 Set window bounds in nk_begin when the window isn't user-resizable 2016-12-28 22:39:51 -08:00
Julius Zint
13834901bb fixed relative path of demo fonts in d3d11 sample 2016-12-26 16:37:47 +01:00
vurtun
9b7a28038a Removed osx travis because it sucks 2016-12-25 13:51:12 +01:00
vurtun
0273b7cf4c Added chicken binding reference 2016-12-20 20:48:09 +01:00
vurtun
3a7486cb35 Extended assert explanation #301 2016-12-20 20:45:36 +01:00
vurtun
ca1c9b3275 Fixed text wrapping without seperator 2016-12-03 18:52:24 +01:00
vurtun
ebe516c37b Text wrap now splits words not characters #292 2016-12-03 14:16:10 +01:00
vurtun
a16877b5b8 Fixed minimized window closing bug #266 2016-11-22 18:16:26 +01:00
Micha Mettke
67ad444adf Merge pull request #284 from nsawa/fix__windows_demos_down_flag_reversed
fix: key reaction timing in Windows demos
2016-11-20 11:24:58 +01:00
Micha Mettke
19fd6221f9 Merge pull request #286 from nsawa/fix__missing_init_of_popup_border
fix: popup border is not shown when using the default style settings
2016-11-20 11:24:27 +01:00
vurtun
6a374eabb1 Fixed abstract comobox closing behavior #282 2016-11-19 20:31:47 +01:00
vurtun
c490e80f01 Fixed tooltip flickering #278 2016-11-19 19:43:44 +01:00
vurtun
e7c06e027a fixed memory leak caused by repeated popup closing 2016-11-19 10:40:20 +01:00
vurtun
e229856391 Fixed memory leak caused by popup panmel alloc 2016-11-18 18:30:18 +01:00
Naoyuki Sawa
a7283af069 fix: popup border is not shown when using the default style settings 2016-11-16 11:32:33 +09:00
Naoyuki Sawa
43b05749d2 fix for readability 2016-11-15 23:26:57 +09:00
Naoyuki Sawa
2849cdf8cd fix: In the windows demos, the key reaction is occured at the timing of the control keys are released. 2016-11-15 19:49:24 +09:00
Micha Mettke
8e603282a4 Merge pull request #277 from keharriso/edit_fixes
Fix edit cursor movement and text overflow
2016-11-14 22:07:27 +01:00
Kevin Harrison
40ea365aa9 Fix edit cursor movement and text overflow 2016-11-14 14:44:10 -05:00
vurtun
c61d4f063c Fixed edit multiline widget width calculation 2016-11-14 19:21:49 +01:00
vurtun
d26ff34448 Fixed small edit widget box width calculation 2016-11-14 19:11:18 +01:00
vurtun
4a4fdf1976 Added missing X11 key up and down event handling 2016-11-14 19:10:36 +01:00
vurtun
34b12bd402 Added missing up and down event key to SDL demo 2016-11-14 19:06:10 +01:00
vurtun
f2b9b9a586 Allow NK_API to be overwritten #281 2016-11-13 08:21:00 +01:00
Micha Mettke
7fa1aa2c37 Merge pull request #280 from nsawa/fix__nk_layout_widget_space
fix: using nk_layout_row_begin() with NK_STATIC makes incorrect layout
2016-11-11 18:23:54 +01:00
Naoyuki Sawa
344f121468 fix: using nk_layout_row_begin() with NK_STATIC makes incorrect layout 2016-11-11 17:40:01 +09:00
vurtun
02fb019374 Fixed warnings and C++ error #279 2016-11-11 06:43:54 +01:00
vurtun
1acb7ba283 Added additional nk_tree version
Added another version of `nk_tree` that does not store internal state
to hold the tree state (minimized/maximized). Main advantages is
possibily less memory consumptions and more user control.
In addition a new set of button overloads were added to directly pass
in a button style struct which allows an easier way to have custom
button visuals for specific buttons.
2016-11-10 19:17:27 +01:00
vurtun
42efd8214f Added addition nk_group and new nk_list_view
Added additional `nk_group` version which uses an external scrollbar
offset instead of internally managing the memory. In addition
`nk_list_view` is introduced which allows drawing huge lists inside a
`nk_group`(#269).
2016-11-09 20:46:07 +01:00
vurtun
9f9591c18d Removed SDL1.2 version to ease development 2016-11-06 11:37:17 +01:00
Micha Mettke
a24f3f6bca Merge pull request #254 from coderobe/patch-1
Fix segfault in sdl1_2 demo
2016-11-06 11:36:25 +01:00
Micha Mettke
33077a1e02 Merge pull request #276 from nsawa/fix__nk_color_hex_rgba
fix: nk_value_color_hex() showed incorrect value.
2016-11-06 10:59:19 +01:00
Naoyuki Sawa
ebed2e6c0c fix: nk_value_color_hex() showed incorrect value. 2016-11-05 17:15:04 +09:00
Micha Mettke
18bacf0d8c Merge pull request #274 from nsawa/fix__nk_hsva_f
fix: nk_hsva_f() lacked processing for quadrant 3
2016-11-03 20:09:30 +01:00
Micha Mettke
ccc8fd61ab Merge pull request #273 from nsawa/fix__nk_value_color_byte
fix: nk_value_color_byte() shows incorrect text
2016-11-03 19:47:57 +01:00
Naoyuki Sawa
bb7ffc4c49 fix: nk_hsva_f() lacked processing for quadrant 3 2016-11-03 16:11:45 +09:00
Naoyuki Sawa
329dacd6ef fix: nk_value_color_byte() shows incorrect text 2016-11-03 14:39:50 +09:00
Micha Mettke
dea4a71ed5 Merge pull request #270 from nsawa/nk_combo_separator__bugfix
bugfix: nk_combo_separator showed incorrect item length and broken it…
2016-11-01 10:32:21 +01:00
Micha Mettke
fdecbc7527 Merge pull request #271 from sillyousu/master
remove useless variable which causes wild  pointer error
2016-11-01 10:21:34 +01:00
su21
72491bafb1 remove useless variable 2016-11-01 16:59:08 +08:00
Naoyuki Sawa
bb2cd9a58c bugfix: nk_combo_separator showed incorrect item length and broken item text. 2016-11-01 10:58:56 +09:00
vurtun
b280370fc8 Fixed copy & paste error 2016-10-31 07:39:43 +01:00
vurtun
69b13a008d Fixed C++ errors 2016-10-30 15:31:04 +01:00
vurtun
7ed612ee9a Merge branch 'master' of https://github.com/vurtun/gui 2016-10-30 14:12:56 +01:00
vurtun
d8688c623f Fixed clipping rectangle bug 2016-10-30 14:12:30 +01:00
vurtun
bd3fd8300f Pulled panel memory managment into nuklear
I simplified a lot of API calls by pulling panel memory management
inside the library. All API calls which previously required a panel
as parameter are now handling their panel themself.
2016-10-29 23:28:47 +02:00
vurtun
534b14a2a9 Fixed X11 stroke rect drawing 2016-10-29 21:15:16 +02:00
Micha Mettke
01eb4f88d8 Merge pull request #259 from ettoretorti/ettoretorti-patch-1
Correct NK_MEMCOPY optional define to NK_MEMCPY
2016-10-23 00:17:23 +02:00