75fce53716
Added Paragraph control.
...
Extended DesiredSize method with extra arguments that tells the control how much space is available for the parent control (note: this might not be the actual given size when Arrange is called on the control).
2020-05-16 15:37:53 +02:00
ae46d2a1f2
Added Disabled to controls.
2020-05-16 13:46:07 +02:00
3591e22c97
Added Fonts() to context similarly as Textures().
...
- Fonts are now managed by context instead of the implementation specific renderers.
2020-05-15 15:42:24 +02:00
5ecfd10754
Made cache more generic.
2020-05-12 20:58:42 +02:00
757758d8e9
Fixed right/center alignment of labels.
2019-07-09 19:07:40 +02:00
36d620108c
Optimized rendering a lot of labels.
...
- Added caching of the desired size of a label.
2019-07-04 22:15:32 +02:00
e867925de8
Added (horizontal) text alignment.
2019-06-24 20:58:14 +02:00
3ea0d76efb
Created unified spacing control.
...
Build control methods now accept nil as visitor method.
2019-03-12 21:11:43 +01:00
c83a6d5aad
Added FontStyle on ControlBase.
...
Forced putting text on integer coordinates.
2019-03-12 19:43:52 +01:00
19daffd110
Added UI elements.
...
Reversed order of operands when comparing with nil/0 .
2019-03-05 21:52:18 +01:00