eb46741165
Added support for scrolling a control into view (Overflow, only vertically currently).
2021-08-19 18:26:15 +02:00
5dcecb8cc1
Added clipping for Overflow/ScrollControl.
2021-07-19 07:59:02 +02:00
bcd32f8372
Fixed panic in Overflow.
2021-06-17 20:18:23 +02:00
7d5168614e
Added override for scrollbar color.
2020-12-13 07:40:58 +01:00
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
d742fba7e9
Added Events and changed event handlers of controls.
...
Removed EventHandlers from Control interface.
2020-05-15 19:00:43 +02:00
9e577ab1aa
Optimizations for rendering large number of items (in a stack panel) and improved visualization of scrollbar.
2019-07-04 22:06:48 +02:00
dbc017507c
Added Parent to Controls.
...
Fixed issue where events of partially and invisible controls where incorrectly handled.
2019-04-11 23:38:32 +02:00
8f17c02634
Fixed incorrect bounds being returned by Overflow control.
2019-04-11 20:03:26 +02:00
04779d6588
Changed Buffer.Render signature.
...
Added BufferControl on top of Buffer.
2019-04-11 08:44:01 +02:00
2ffb579340
Factored out (render) buffer.
2019-04-09 20:32:42 +02: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
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
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