3c89748eacAdded 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.Sander Schobers2021-06-04 17:17:22 +0200
4cff23cd37Mouse wheel now increments/decrements the slider value by 1. - With shift pressed it moves the value 10. - With control pressed it moves the value with 0.1 (does nothing when the Integer flag is enabled).Sander Schobers2021-05-11 08:25:15 +0200
7aa88e2dc6Fixed bug in slider when maximum equal to or less than the minimum was supplied.Sander Schobers2021-01-14 11:44:17 +0100
dbeacc3794Split rendering of buffer & blitting it to the display.Sander Schobers2021-01-12 20:35:07 +0100
480e864b53Show event wasn't invoked on overlay when visibility was set to true on add.Sander Schobers2021-01-09 17:08:35 +0100
9dc301eed8Fixed two issues with slider. Value was always set back to original value. Events were always handled by slider (handle).Sander Schobers2021-01-09 17:07:10 +0100
0f03760e66Added 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.Sander Schobers2020-12-12 14:40:50 +0100
de87c5d3aaTry casting to PhysicalResources first when setting resource provider. SetResourceProvider accepts Resources instead of factory method to it.Sander Schobers2020-07-07 18:19:34 +0200
67e73a8671Resources only exposes OpenResource (and Destroy). PhysicalResources derives from Resources and exposes FetchResource. Made dependency specific resource addons. Extended the available resource options (fallback, path, refactored copy). NewRenderer provides DefaultResources to the created renderer.Sander Schobers2020-05-25 22:24:06 +0200
43d49a0dbbFixed bug where spacing was not respecting a fixed width/height when asking its proxied control for its desired size.Sander Schobers2020-05-24 19:15:45 +0200
352984d6d9Overlays must be handled & rendered in their order.Sander Schobers2020-05-24 18:42:22 +0200
cdc999ad42Added option to Pan using tile coordinates. Fixed incorrect panning.Sander Schobers2020-05-23 11:02:12 +0200
7dde894bf0Fixed two bugs with overlay visibility. - Toggle didn't toggle but hide. - Hide hid the overlay but didn't trigger any callbacks/events.Sander Schobers2020-05-18 20:59:05 +0200
7f2e155eddRenderers now respect Location of NewRendererOptions.Sander Schobers2020-05-17 21:02:38 +0200
32c53eb947Fixed tooltip flickering when not blocking on events.Sander Schobers2020-05-17 21:02:07 +0200
0f54224cc7Removed OverlayProxy and incorporated logic into Proxy.Sander Schobers2020-05-17 20:07:52 +0200
bcf3093c87Overlays all handle the same events but if a overlay handles the event then the content won't get the event.Sander Schobers2020-05-17 16:11:47 +0200
8560204c39Added display move event. - The Allegro (alui) implementation only provides emulation of the event (comparing the position every time other events are handled).Sander Schobers2020-05-17 15:30:52 +0200
c78c4052d0Refactored DrawTexture on Renderer to favor rendering using destination rectangle instead of a point.Sander Schobers2020-05-17 11:12:45 +0200
f20397c684Moved default NewRendererOptions to generic part instead of in specific renderers.Sander Schobers2020-05-17 08:29:02 +0200
e2472cffefAdded default style if style is not set on Run{,Wait}. Exposed Resources in Context as well.Sander Schobers2020-05-17 07:54:54 +0200
b78f215c8cFixed bug where nil was stored as a scaled texture.Sander Schobers2020-05-17 07:54:19 +0200
b9534ee255Made tooltip overlay switch visibility only when changed. Added Tooltip.SetVisibility. Fixed bug where no events where triggered for change in visibility.Sander Schobers2020-05-17 07:21:58 +0200
75fce53716Added 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).Sander Schobers2020-05-16 15:37:53 +0200
add33c6e7eFixed bug where selection wasn't overwritten by typed character.Sander Schobers2020-05-16 13:47:25 +0200
d673653d3fRenamed EventFn to EventEmptyFn and EventStateFn to EventFn (both in ui and zntg packages).Sander Schobers2020-05-16 12:07:13 +0200
8c48c949e9Renamed Overlay callbacks & extended interface of Overlay (must be a Control as well).Sander Schobers2020-05-16 10:57:14 +0200
9af85d79a6Added callbacks & events when visibility of an overlay changes. Added proxy that proxies overlay callbacks as well (on top of control callbacks).Sander Schobers2020-05-16 10:12:54 +0200
7f3d836254Added a generic Events struct in zntg (without ui.Context). Refactored ui.Events to re-use zntg.Events.Sander Schobers2020-05-16 09:36:04 +0200
3591e22c97Added Fonts() to context similarly as Textures(). - Fonts are now managed by context instead of the implementation specific renderers.Sander Schobers2020-05-15 15:42:24 +0200
02ee819a99Favoring Context.Textures() over direct texture assignment to controls.Sander Schobers2020-05-15 14:44:55 +0200
893bf513adFew mouse interaction extensions for sdlui. - Added Mouse{Enter,Leave}Event support. - Simulating MouseWheel for MouseMotionEvent.Sander Schobers2020-05-15 09:59:53 +0200
cdfb863ab0Added SDL backend. Added Action{,s}. List of actions that can be used to defer cleanup code (see NewRenderer implementations). Added TextInputEvent (replaces the old KeyPressEvent) and added to new events KeyDown & KeyUp. Added VSync to NewRendererOptions. Removed IconScale from button. Added ImageSource interface that replaces the Image/Texture method on the Texture interface. This makes converting back a texture to an image optional (since this is atypical for a hardware texture for instance). Added new KeyModifier: OSCommand (Windows/Command key). Added KeyState that can keep the state of keys (pressed or not). Added KeyEnter, representing the Enter key. Changed signatures of CreateTexture methods in Renderer. Changed signatures of icon related method (removed factories). Basic example now depends on sdlgui.Sander Schobers2020-05-15 09:20:44 +0200
f618c55b25Embedded Allegro font struct directly inside font wrapped.Sander Schobers2020-05-13 16:49:45 +0200
1aad3bf11aAdded keys. Fixed bug where copy/cut/paste/select all weren't executed. Fixed bug where start/end of selection wasn't properly set when typing. Removed SetClipboard.Sander Schobers2020-05-13 15:57:04 +0200
2c9007ce9bAdded renderer factory. - Removes dependency on the specific backend from an application point-of-view.Sander Schobers2020-05-12 22:46:58 +0200