Commit Graph

15 Commits

Author SHA1 Message Date
3bd4001cc3 Fixed mouse cursor bug.
If the Run loop was non-blocking (wait set to false) the cursor was reset back to the default.
2019-07-04 22:03:29 +02:00
a6bb05794f Added mouse enter/leave event. 2019-06-24 21:56:52 +02:00
e867925de8 Added (horizontal) text alignment. 2019-06-24 20:58:14 +02:00
7f9f10075f Replaced implementation of WidthOf by TextWidth.
- TextDimensions (the underlying al_get_text_dimensions) returns the dimensions of the printable characters (non-whitespace) which gives weird results when measuring spaces.
2019-04-13 10:18:00 +02:00
6bcab622ae Added support for Home and End buttons in TextBox.
Fixed scaling of icon in Button.
2019-04-11 22:22:23 +02:00
67658d3bee Added key event.
Some small additions/changes.
2019-04-10 21:23:56 +02:00
c024416702 Added ui.RefreshEvent.
- Refresh signal is now propagated to controls.
2019-03-13 21:20:31 +01:00
ff51378aff Added button types.
Go image can be reconstructed from ui.Image/allg5.Bitmap.
Changed allg5.Scale from interface to struct.
2019-03-13 19:49:00 +01:00
c83a6d5aad Added FontStyle on ControlBase.
Forced putting text on integer coordinates.
2019-03-12 19:43:52 +01:00
c973305b6d Cleanup of (font) resources on destroy. 2019-03-12 19:23:47 +01:00
1d6587adbd Added changing the mouse cursor. 2019-03-11 17:30:41 +01:00
0387e313de Added user events & possibility to 'refresh'.
- Refresh unblocks event loop for the next redraw.
2019-03-06 18:23:53 +01:00
c08474a01c Added display resize event. 2019-03-06 18:23:53 +01:00
ff2ece7d06 Added mouse wheel implementation (scrollbar & overflow).
Fixed bug in length of scrollbar handle.
2019-03-06 18:22:30 +01:00
19daffd110 Added UI elements.
Reversed order of operands when comparing with nil/0 .
2019-03-05 21:52:18 +01:00