Skip to content
This repository has been archived by the owner on Jan 23, 2018. It is now read-only.

Enhance GUI API #3

Open
Xaeroxe opened this issue Mar 10, 2017 · 0 comments
Open

Enhance GUI API #3

Xaeroxe opened this issue Mar 10, 2017 · 0 comments

Comments

@Xaeroxe
Copy link
Owner

Xaeroxe commented Mar 10, 2017

Currently there is a Canvas struct with a single function that allows for copying whole or partial textures and applying various effects to them. This can technically be used to accomplish just about any of your GUI needs but it could certainly be improved upon. First off all the functions from sdl2's Renderer should be passed through for ease of use. Another realm in which we could improve is by providing layer mask support, which would allow users to display non-square cutouts of textures in their UI.

@Xaeroxe Xaeroxe modified the milestone: Publish to crates.io Mar 14, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant