Commit Graph

110 Commits

Author SHA1 Message Date
e8ff8c35fe Added Maximized flag to new display options.
Added display resize & orientation event.
2018-02-12 21:46:52 +01:00
ab5572018d Applied formatting & added GetWait().
- GetWait waits for an event in a blocking way.
2018-02-10 09:14:19 +01:00
4d98c63391 Added InitAll InitConfig that sets all flags to true. 2018-02-10 09:13:35 +01:00
2fae8a5012 Native Go image is now loaded directly as Allegro bitmap.
- Previous implementation used a temporary file (PNG).
2018-02-10 09:12:42 +01:00
6dd358365e Added support for allegro_static flag (enables static linking of allegro). 2017-12-19 07:54:53 +01:00
67e2d4d788 Refactored bitmap API (partially)
- Made the scale option an interface (for easier use)
- Added rotation option
- Added utility function that converts Go bitmap to an Allegro bitmap (using a temporary file)
2017-10-23 11:21:02 +02:00
0aff140884 Added text width function for font 2017-10-23 11:18:48 +02:00
a24dc7ba30 Added rectangle primitives 2017-10-23 11:18:24 +02:00
27eae9dc8b Fixup
- bitmap.go format
- c.go cleanup
2017-10-03 20:41:45 +02:00
2924980035 Basic wrapper around allegro5 libraries
- Depends on optional allegro libraries font, image, primitives and ttf as well.
2017-10-03 20:38:09 +02:00