Commit Graph

15 Commits

Author SHA1 Message Date
3c89748eac Added drag & drop addon.
- Drop addon is based on WM_DROPFILES, dragdrop addon is based on the OLE IDragDrop interface and thus can registerer more interactions.
- The allg5ui implementation will try to fall back on the drop addon (because the dragdrop addon wouldn't work properly).
- Drop addon is refactored to use the same interface as the dragdrop addon.
2021-06-04 17:17:22 +02:00
0f03760e66 Added Resize & SetIcon to Renderer.
Refactored Size (on Renderer) to return geom.Point instead of geom.PointF32.
Refactored Width and Height (on Texture) to return int instead of float32.

Refactored texture dimensions to be represented by ints instead of float32s.
2020-12-13 07:40:19 +01:00
32c53eb947 Fixed tooltip flickering when not blocking on events. 2020-05-17 21:02:07 +02:00
e2472cffef Added default style if style is not set on Run{,Wait}.
Exposed Resources in Context as well.
2020-05-17 07:54:54 +02:00
b9534ee255 Made tooltip overlay switch visibility only when changed.
Added Tooltip.SetVisibility.
Fixed bug where no events where triggered for change in visibility.
2020-05-17 07:21:58 +02:00
3a18d3adf9 Added support for tooltips. 2020-05-15 16:53:57 +02:00
6db13c8f46 Added overlays. 2020-05-15 16:02:54 +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
48aaf30182 Renamed Image{,s} to Texture{,s}. 2020-05-12 23:03:43 +02:00
c709d906d0 Improved synchronization with a quit signal. 2019-06-21 10:49:06 +02:00
6a71720b71 Init function can return an error. 2019-05-01 09:40:59 +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
3acb3f09af Added scaled images to image cache. 2019-04-10 22:41:28 +02:00
fa7796a4ae Added support for animations. 2019-04-10 21:20:39 +02:00
19daffd110 Added UI elements.
Reversed order of operands when comparing with nil/0 .
2019-03-05 21:52:18 +01:00