Commit Graph

11 Commits

Author SHA1 Message Date
a3aa398909 Restructered spacing controls & added margin helpers. 2019-03-13 19:03:06 +01:00
3ea0d76efb Created unified spacing control.
Build control methods now accept nil as visitor method.
2019-03-12 21:11:43 +01:00
d14a9bd0e7 Fixed bugs in Overflow control.
- Tries to take as much space as possible.
- Draw buffer should be exactly size needed.
2019-03-12 20:08:47 +01:00
f31cd28771 Added color to palette.
Added comments to palette.
2019-03-12 19:50:34 +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