vurtun
4ed15f5a35
Fixed Readme layouting
2017-02-21 19:06:37 +01:00
vurtun
82b8ac0445
Merge branch 'embox-master'
2017-02-21 19:00:32 +01:00
vurtun
eaf104db3f
Merge branch 'master' of https://github.com/embox/nuklear into embox-master
2017-02-21 18:59:31 +01:00
Micha Mettke
5f78107fc5
Added nim language bindings to Readme
2017-02-20 14:32:12 +01:00
Anton Bondarev
aac2d71740
Make NK_API 'static inline' for NK_PRIVATE version
...
Fixed definition for C89 standard
2017-02-13 13:39:56 +03:00
Micha Mettke
cd0969c3a0
Merge pull request #341 from mmozeiko/master
...
GDI+ simplified image loading, added error checking and image freeing
2017-02-11 17:51:24 +01:00
Martins Mozeiko
aa3ffd6917
GDI+ simplified image loading, added error checking and image freeing
2017-02-10 00:41:31 -08:00
Anton Bondarev
6fa8424d6e
Make NK_API 'static inline' for NK_PRIVATE version
2017-02-06 16:43:33 +03:00
Micha Mettke
d536d4e89a
Merge pull request #337 from DeXP/master
...
GDI+ split rendering GUI and clear surface
2017-02-05 10:39:28 +01:00
Dmitry Hrabrov
35e8558be4
GDI+ split rendering GUI and clear surface
...
For example, I draw something via GDI+. Now I can call `nk_gdip_render_gui(AA)` and it will not erase my drawings, just will draw on top.
Previos API was not changed.
2017-02-04 18:24:49 +03:00
Micha Mettke
2df399ecda
Merge pull request #336 from DeXP/master
...
GDI+ text transparent background fix
2017-02-04 16:12:00 +01:00
Dmitry Hrabrov
4442697ee0
GDI+ set text color only once
2017-02-04 12:53:19 +03:00
Dmitry Hrabrov
5d98939a2d
GDI+ text transparent background fix
...
There is no need do draw filled rectangle behind of any text
2017-02-04 12:52:02 +03:00
Micha Mettke
020acd4159
Merge pull request #335 from DeXP/master
...
Remove warning "unsigned only in ISO C90"
2017-02-04 10:46:57 +01:00
Dmitry Hrabrov
9cd5d035c3
Remove warning "unsigned only in ISO C90"
...
These warnings appear on GCC for Windows only. There a lot of them. Doesn't matter, native compilation or crosscompile.
`nuklear.h:6836:9: warning: this decimal constant is unsigned only in ISO C90`
2017-01-30 15:57:28 +03:00
vurtun
ef2dcd3b77
Added function to remove edit focus #321
2017-01-24 23:06:59 +01:00
Micha Mettke
3123ba0167
Merge pull request #330 from DeXP/master
...
Remove warning: 'nk_to_upper' defined but not used
2017-01-24 22:28:13 +01:00
vurtun
f5447a8406
Fixed typo _WIN64 instead of __WIN64
...
This is one of these highly embarassing typos I completly missed for a
long time.
2017-01-24 22:18:45 +01:00
vurtun
6b27c20231
Fixed #331 with graceful x11 window closing
2017-01-23 19:33:58 +01:00
Dmitry Hrabrov
16c2dddae4
Fix typo
2017-01-23 11:19:27 +03:00
Dmitry Hrabrov
7d52c0de67
Remove warning: 'nk_to_upper' defined but not used
...
There is function `NK_INTERN int nk_to_upper(int c)` in `UTIL` section. Implementation is almost the same to `NK_INTERN int nk_to_lower(int c)`. But only `nk_to_lower` used in Nuklear's code. To remove this warning we can:
1) Comment i.e. remove `nk_to_upper` from code. But it can break someone's code, if he used it in module with `NK_IMPLEMENTATION` defined.
2) Hide it under define. Same.
3) Just use it somewhere in code.
I replaced two calls of `nk_to_lower` to `nk_to_upper`. It removes the warning, code works the same. The bad side - complication of the code. "Why `nk_to_upper` is used here, but not `nk_to_lower` as one line up?"
Maybe there exists better solution? Or just add the comment about this line to code?
2017-01-23 11:02:20 +03:00
Micha Mettke
2e9c4ee0ab
Merge pull request #329 from DeXP/master
...
Remove unused panel warnings
2017-01-22 15:37:52 +01:00
DeXP
4a3573b032
Merge branch 'master' of git://github.com/vurtun/nuklear
2017-01-22 16:09:12 +03:00
Dmitry Hrabrov
36c60548a6
Remove unused panel warnings
...
When NDEBUG defined:
nuklear.h: In function 'nk_popup_begin':
nuklear.h:20753:22: warning: variable 'panel' set but not used [-Wunused-but-set-variable]
nuklear.h: In function 'nk_nonblock_begin':
nuklear.h:20850:22: warning: variable 'panel' set but not used [-Wunused-but-set-variable]
2017-01-22 16:00:28 +03:00
Micha Mettke
431e67597c
Merge pull request #327 from DeXP/master
...
GDI+: loading TTF font from file
2017-01-21 19:55:16 +01:00
vurtun
6f8fe8d05b
Fixed input capture from hidden or closed windows
...
Previously if you would call 'nk_window_show' on a currently hot window
the window will keep on taking all input. This wrong behavior is now
fixed.
2017-01-21 19:22:12 +01:00
vurtun
bd44f4fa3a
Removed temporary file
2017-01-21 18:55:45 +01:00
vurtun
8892727361
Fixed slider behavior and drawing
...
Slider is still comming back to haunt me. They never worked like I
wanted them to, but hopefully this is now finally fixed. Previously if
you declared a slider not beginning with 0 it would break and not work.
This behavior is now fixed.
2017-01-21 18:50:31 +01:00
Dmitry Hrabrov
8033c400b4
Added loading TTF font from file
...
Also font API rename to be the same with images.
2017-01-20 15:09:27 +03:00
Micha Mettke
b544d616e3
Merge pull request #324 from DeXP/master
...
Define IStream interface
2017-01-19 20:35:03 +01:00
Dmitry Hrabrov
4d957de4a1
Define IStream interface
2017-01-19 22:14:56 +03:00
vurtun
5011a36529
Updated CHANGELOG format and versioning
2017-01-15 21:13:38 +01:00
vurtun
34d0fcd43d
Merged #198 with bottom-left corner scaler
2017-01-14 15:22:22 +01:00
vurtun
be7ac9b903
Updated Makefile as of #256
2017-01-14 09:46:13 +01:00
vurtun
aa1f516fa3
Added row template layout example to demo/overview
2017-01-12 20:49:52 +01:00
vurtun
13c785d68b
Fixed #322 C89 compiler error
2017-01-12 07:44:35 +01:00
vurtun
f2ea71aaab
Merge branch 'master' of https://github.com/vurtun/gui
2017-01-11 23:29:47 +01:00
vurtun
da347eecdd
Added additional layouting method
2017-01-11 23:29:26 +01:00
Micha Mettke
14f107b0ab
Merge pull request #318 from DeXP/master
...
GDI+ load font from memory
2017-01-10 14:58:27 +01:00
Dmitry Hrabrov
24f4e3f288
GDI+ load font from memory added
...
There is new user function: `nk_gdipfont_create_mem`. Added `fontCollection` member to `gdip` structure to automatically clean it up at execution end.
2017-01-07 16:16:03 +03:00
Dmitry Hrabrov
7ab7327fa4
nk_gdip_fill_rect filled pies fix
...
Added 1px overlap near filled pies. There is no empty space between pie and rectangle now. It was especially conspicuous on red theme.
2017-01-07 14:26:26 +03:00
Micha Mettke
24c756c264
Merge pull request #315 from seibelj/allegro5_impl
...
Allegro5 nuklear backend and touchscreen support
2017-01-07 11:01:22 +01:00
Micha Mettke
5ad19783c3
Merge pull request #316 from DeXP/master
...
GDI+ images support
2017-01-07 10:12:40 +01:00
seibelj
7dbd9f910e
PR fixes. Removed all keyboard callback code as it can be accomplished with nk_edit flags
2017-01-06 14:09:44 -05:00
seibelj
e6798bc1b4
Removed keyboard callbacks because they are unnecessary
2017-01-06 13:50:31 -05:00
Dmitry Hrabrov
5aeddddd74
Added GDI+ images support
2017-01-06 15:40:01 +03:00
Dmitry Hrabrov
840f539eab
Added OLE32 to dependencies list
2017-01-06 15:33:37 +03:00
seibelj
bc6c9c7093
Added readme and keyboard handler example files
2017-01-05 16:00:11 -05:00
seibelj
6d5fba0cbb
Removed display checkers because they appear not to work for custom events. Also fixed up whitespace and changed a variable name from nil to none because of objective-c conflicting
2017-01-05 15:24:19 -05:00
seibelj
1cf83d258e
Improved soft keyboard support
2017-01-03 13:05:17 -05:00