Commit Graph

56 Commits

Author SHA1 Message Date
Rob Loach f7847e6024
Add delta_time_seconds to a few renderers (#628) 2024-08-29 22:22:55 -04:00
Rob Loach 7f5c642bb3
Standardize INCLUDE_OVERVIEW defines 2024-04-25 16:49:50 -04:00
Rob Loach 4cfea49522
Remove STYLE_ defines as we have the style dropdown 2024-04-25 16:37:07 -04:00
b-aaz fb474874db Added required includes to the platform headers .
Added missing include decelerations and in one case removed an unnecessary
one form the platform headers in the demo/ directory .
2024-01-20 16:16:45 +03:30
Andrew Kravchuk 6319e8f787
Fixed broken link in Allegro5 backend readme 2023-10-16 14:01:07 +02:00
Andrew Kravchuk c09e3b36f8
demo/allegro5: minor string-related tweaks 2023-03-01 18:53:02 +01:00
Richard Gill 54cd692d17 added comment on ifdefs to use styles in demos 2022-10-13 11:51:50 +02:00
Richard Gill fc5ce1c495 demos: set style with defines
To avoid having to modify the demo code,
conditionnally include a predefined style
2022-10-12 21:19:58 +02:00
crazyBaboon f0dccaeeec
Integrate file browser with glfw opengl2 demo (#400) and restructure demo/ directory accordingly 2022-03-14 20:46:44 +01:00
Cameron Cawley 459ba9c48c Integrate the canvas example with the demos 2021-12-16 20:26:26 +00:00
Rob Loach 24912785b7
Merge pull request #379 from ccawley2011/allegro5
Fix rendering issues with Allegro
2021-12-16 14:51:45 -05:00
Cameron Cawley 60c52adfaf
Enable and fix most GCC warnings (#377)
Co-authored-by: Rob Loach <robloach@gmail.com>
2021-12-16 20:44:00 +01:00
Cameron Cawley c5d18493a4 Correctly implement arcs with Allegro 2021-12-16 18:57:08 +00:00
Cameron Cawley 291ce9b609 Fix rendering polygons and polylines with Allegro 2021-12-16 18:56:07 +00:00
Cameron Cawley 9af0103cac Build all demos as C89 2021-12-14 20:14:34 +00:00
Andrew Kravchuk 5ea1a668cb
Use NK_UNUSED macro
Co-authored-by: Rob Loach <robloach@gmail.com>
2021-12-14 09:15:00 +03:00
Andrew Kravchuk 019df39478
Fix warning in Allegro5 demo 2021-11-02 19:22:01 +03:00
Andrew Kravchuk 264abf4af1
Added processed event flag as a return value in allegro5 backend 2020-06-16 19:03:50 +03:00
Andrew Kravchuk 539f477781
Improved user font initialization in allegro5 backend 2020-06-06 09:50:00 +03:00
Andrew Kravchuk 74db09cdab
Added ability to use user fonts after initialization in allegro5 backend 2020-06-05 12:01:49 +03:00
Andrew Kravchuk f7960ba73c
Fixed naming bug in allegro5 backend image support 2020-05-27 07:57:02 +03:00
Andrew Kravchuk 151916aee4
Added image support to allegro5 backend 2020-05-26 17:56:13 +03:00
Brain Developer 721b3755f4
I removed an additional #include <math.h>
I found an additional "#include <math.h>" so I removed it.
Thinking that it was additional.
2018-10-22 21:10:01 +05:30
Martin Gerhardy b17ec490ef TRAVIS: include demo windows and activate warnings 2018-01-02 08:26:29 +01:00
vurtun 23eea231d8 Added horizontal scrolling 2017-03-21 21:21:58 +01:00
vurtun 5011a36529 Updated CHANGELOG format and versioning 2017-01-15 21:13:38 +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 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
seibelj bde7c3c4e9 Fix for multitouch causing issues 2017-01-03 11:13:46 -05:00
seibelj 73e58012ef Fixes for touch events 2017-01-02 23:12:39 -05:00
seibelj 63e2cbafb6 initial touch support 2017-01-02 21:48:48 -05:00
seibelj 533d5d28ef Much progress on allegro5 impl. Also added SELCT_ALL command 2016-12-31 13:58:57 -05:00
seibelj e2c48555d4 Added initial work for allegro5 backend 2016-12-31 01:29:45 -05:00
vurtun 1b9779ce51 Nuklear now allows custom vertex layouts
I removed the default vertex type and instead create an API to allow the
user to specify the vertex struct layout. Of course you are still
bound on what the library actual has on vertex data but the type and
sequence of the data is now configurable. This commit is quite
experiental and could introduce some bugs, but so far it look fine.
2016-09-02 15:33:49 +02:00
vurtun 02718210e6 Added additional property version for double
Nuklear now has three different property versions for int, float and
added by this commit a double version. Internally an additional change
happend. Now the type of the property is actually taken into account
and floating pointer errors due to casting are less of an issue.
2016-08-12 12:08:13 +02:00
vurtun 94ca7accdf Version 1.05 split varargs include into own define
Previously I packed standard library variable arguments as well as
file operation into one define `NK_INCLUDE_STANDARD_IO`. This caused
some problems and I split the define into two. So if you want the old
behavior you need to define `NK_INCLUDE_STANDARD_IO` as well as
`NK_INCLUDE_STANDARD_VARARGS`. If you only want file operations but
not variable arguments only define `NK_INCLUDE_STANDARD_IO` and
if you only want varargs but not file operations please only define
`NK_INCLUDE_STANDARD_VARARGS`.
2016-08-06 17:44:00 +02:00
vurtun c5614d9098 Release 1.01 changes in changelog in `nuklear.h`
Breaking changes to the button API, font atlas and added software
cursor to library.
2016-07-16 01:33:37 +02:00
vurtun 920374bb44 Added scrollbar shortcuts to demos 2016-06-16 20:53:30 +02:00
vurtun 6577d671d4 Fixed #147 with wrong allegro text input handling 2016-05-21 18:41:33 +02:00
vurtun ef4be0a1bd Extended OS window size in demos 2016-05-19 12:30:17 +02:00
vurtun f5dc2906a8 Converted backend demos into single header files 2016-04-30 17:09:01 +02:00
vurtun eb7b0847b6 Fixed build for optional examples 2016-04-29 17:06:31 +02:00
vurtun 34a9405e69 Fixed C++ demo errors 2016-04-29 14:31:27 +02:00
vurtun 8a01de120a Restructured demos and examples
All platform and renderbackend independent examples are now optional
demos for all platforms in `demo/`. Moving some demos from `example/`
provides an easier way to test GUI concepts for users and simplifies
maintenance.
2016-04-28 17:01:19 +02:00
vurtun 7c9659f3b8 Fixed #99 forgot to set clipboard callbacks
Previously if you use `nk_edit_string` and use flag
`NK_EDIT_CLIPBOARD`, callbacks were not passed. I only tested it with
`nk_edit_buffer` and set the callbacks directly. This wrong behavior
is now fixed and should work copy & paste should behave correctly.
2016-04-21 11:04:18 +02:00
Alexandre Erwin Ittner 72e9496768 Use standard C compiler by default
Always use the standard compiler as defined by the environment
variable CC. User can set it when a different compiler if required
(e.g. CC=clang make)
2016-04-19 21:44:46 -03:00
vurtun 6b5a4f16e8 Merge branch 'fdb-osx-support' 2016-04-19 16:47:09 +02:00
Frederik De Bleser a88293a647 Update Allegro for OS X 2016-04-19 13:55:15 +02:00