Commit Graph

6 Commits

Author SHA1 Message Date
c78c4052d0 Refactored DrawTexture on Renderer to favor rendering using destination rectangle instead of a point. 2020-05-17 11:12:45 +02:00
cdfb863ab0 Added 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.
2020-05-15 09:20:44 +02:00
48aaf30182 Renamed Image{,s} to Texture{,s}. 2020-05-12 23:03:43 +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
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