Commit graph

58 commits

Author SHA1 Message Date
Jethro Cao
f33c94db66 Add install target
* this allows `$ make install` to also execute successfully
* without changing the output location of nuklear.so
2019-12-05 00:40:24 +07:00
Kevin Harrison
213be47f91
Merge pull request #42 from jyscao/nuklear-repo-update
Update Nuklear repo URL
2019-12-02 11:03:05 -05:00
Jethro Cao
f7ab5085f1 Update Nuklear repo URL 2019-12-02 14:37:05 +07:00
Kevin Harrison
0cca218ac7 Add support for *GetScroll and *SetScroll for windows, groups, and popups 2019-10-17 19:40:43 -04:00
Kevin Harrison
ccfb6ec005
Merge pull request #41 from ax-jason/patch-1
Scissor example
2019-10-17 19:24:51 -04:00
jason
b3af181896 Keep parent scissor setting 2019-10-17 19:20:44 -04:00
jason
05dfdb5c34
Scissor example
Scissor button example
2019-10-17 13:55:42 +08:00
Kevin Harrison
bf89bf9f08 Update build script to support more distros 2019-04-06 15:42:03 -04:00
Kevin Harrison
be9b57393a Expand Linux build instructions to cover more distros 2019-04-06 15:35:57 -04:00
Kevin Harrison
d463002a97 Fix build scripts and instructions for Linux builds 2019-04-05 17:24:48 -04:00
Kevin Harrison
0d14e1c2cf Update draw example: use colors in [0,1] instead of [0,255] 2019-02-08 12:54:19 -05:00
Kevin Harrison
2fd70e6062 Merge branch 'mouse-presses' of github.com:keharriso/love-nuklear 2019-01-03 13:11:12 -05:00
Kevin Harrison
de05b2595c Allow ui:style* outside of frameBegin/frameEnd 2019-01-03 12:40:11 -05:00
Kevin Harrison
8d081e50e6 Add presses parameter to ui:mousepressed and ui:mousereleased 2018-12-26 13:19:11 -05:00
Kevin Harrison
3254a42992
Extremely minor README update 2018-12-20 15:16:44 -05:00
Kevin Harrison
901c47fe2c Simplify build instructions for Linux 2018-12-19 12:15:07 -05:00
Kevin Harrison
f652c1936f Fix build instructions for Linux 2018-12-19 12:02:05 -05:00
Kevin Harrison
206f937e6e Add ui:style 2018-12-18 14:36:13 -05:00
Kevin Harrison
5255830af4
Merge pull request #32 from megagrump/nk_tree_state
Support for nk_tree_state_push/pop
2018-12-18 13:42:55 -05:00
Kevin Harrison
75da1af2b6
Fix nk_love_tree_state_push by making the image argument optional 2018-12-18 13:41:41 -05:00
Kevin Harrison
08abd141ce
Merge pull request #33 from megagrump/canvas-image
Canvas support for nk_love_image
2018-12-18 12:38:02 -05:00
Grump
a7991c524e added Canvas support 2018-12-18 15:51:08 +01:00
Grump
42ca8ed3c0 added support for nk_tree_state 2018-12-18 15:18:44 +01:00
Kevin Harrison
976ff9f63b Add closure alternatives to begin/end pairs 2018-12-16 17:15:17 -05:00
Kevin Harrison
bb3ffeb957 Add template layout and allow manual edit focus/unfocus 2018-12-15 13:36:43 -05:00
Kevin Harrison
752eacec7c Fix tooltip transparency 2018-12-14 17:32:56 -05:00
Kevin Harrison
8f7926039b Add Quad support for images 2018-12-14 14:46:02 -05:00
Kevin Harrison
06114619e6 Remove unnecessary code from luaopen_nuklear 2018-12-13 20:38:38 -05:00
Kevin Harrison
a3d532378b Allow proper 1-pixel width lines (#22) 2018-12-13 20:14:57 -05:00
Kevin Harrison
dfeed19486 Update README.md to use nuklear.newUI 2018-12-13 18:36:55 -05:00
Kevin Harrison
d73fde8fb1 Add section header comments 2018-12-13 17:49:02 -05:00
Kevin Harrison
d7ed3d0fb7 Update nuklear to 181cfd8 2018-12-13 17:15:03 -05:00
Kevin Harrison
569591e6eb Add button to transform example 2018-12-13 16:03:52 -05:00
Kevin Harrison
2880f0532a Merge master 2018-12-13 14:37:12 -05:00
Kevin Harrison
d4f4980ae8 Incorporate changes from master 2018-12-13 14:29:32 -05:00
Kevin Harrison
4d001728a0
Add proper build instructions to README.md 2018-06-29 15:32:06 -04:00
Kevin Harrison
c09651b655
Merge pull request #23 from mgerhardy/fixes
Fixed warnings and removed unused methods and global vars
2018-04-30 18:59:08 -04:00
Kevin Harrison
4b844d6341
Merge branch 'master' into fixes 2018-04-30 18:58:28 -04:00
Kevin Harrison
36b788c05a
Merge pull request #26 from jamestn529/master
Change color scale to 0 - 1.0
2018-04-30 18:41:58 -04:00
James Nelson
d8234fcc1c Change color scale from 0 - 255 to 0 - 1.0 2018-04-18 14:23:09 -06:00
Martin Gerhardy
b51de073da Fixed warnings and removed unused methods and global vars 2018-01-05 17:05:36 +01:00
Kevin Harrison
26f05c82e4 Allow per-context transformations (#9) 2016-12-29 23:20:11 -05:00
Kevin Harrison
8b5482e74f Fix frameBegin to use correct context 2016-12-20 15:48:07 -05:00
Kevin Harrison
47128fed66 Allow multiple contexts to persist at once 2016-12-19 22:27:42 -05:00
Kevin Harrison
c2fefb0601 Improve error handling 2016-12-19 13:19:42 -05:00
Kevin Harrison
8aa93de803 Replace layout_ratios and points with single floats array 2016-12-18 20:08:51 -05:00
Kevin Harrison
1d86aa51f4 Replace spaces with tabs 2016-12-17 10:37:35 -05:00
Kevin Harrison
47a7a6044d Add drawing and input functions (#8)
* nk.widgetHasMousePressed
* nk.widgetHasMouseReleased
* nk.widgetIsMousePressed
* nk.widgetIsMouseReleased
* nk.line
* nk.curve
* nk.polygon
* nk.circle
* nk.ellipse
* nk.arc
* nk.rectMultiColor
* nk.scissor
* nk.image
* nk.text
* nk.inputHasMousePressed
* nk.inputHasMouseReleased
* nk.inputIsMousePressed
* nk.inputIsMouseReleased
* nk.inputWasHovered
* nk.inputIsHovered
2016-12-16 21:59:32 -05:00
Kevin Harrison
0b794f3538 Increase style stack sizes (#6) 2016-12-15 13:08:25 -05:00
Kevin Harrison
8c0a93e6c5 Fix windowsIsHovered -> windowIsHovered (#7) 2016-12-15 08:52:36 -05:00