Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Standalone image example? #2

Open
rubyFeedback opened this issue Aug 27, 2021 · 1 comment
Open

Standalone image example? #2

rubyFeedback opened this issue Aug 27, 2021 · 1 comment

Comments

@rubyFeedback
Copy link

Could a standalone image example be added to demonstrate the view-image functionality?

I know it is possible because ruby libui does it. Would be nice to have copy/paste-able code
in crystal as-is to just modify it a little bit for already existing images.

@grkek
Copy link
Owner

grkek commented Aug 30, 2021

Looks like Image component is missing from the actual bindings, so I don't think this is possible for now.

The functionality is there in the LibUI, but the binding in crystal are missing, You can try to implement that by patching the bindings library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants