Add example using image icons by Kagee · Pull Request #2 · abcminiuser/python-elgato-streamdeck · GitHub
Skip to content

Add example using image icons#2

Open
Kagee wants to merge 1 commit into
abcminiuser:masterfrom
Kagee:master
Open

Add example using image icons#2
Kagee wants to merge 1 commit into
abcminiuser:masterfrom
Kagee:master

Conversation

@Kagee

@Kagee Kagee commented Nov 20, 2018

Copy link
Copy Markdown

IT was quite a lot of work finding out how to properly convert images to the correct image format. I suggest adding this example that supports using button images from files.

@abcminiuser

Copy link
Copy Markdown
Owner

@Kagee

Kagee commented Nov 21, 2018

Copy link
Copy Markdown
Author

I would actually suggest three functions in the example, color, custom tiles, and a simple function for using different images directly. Possibly just as three functions with a simmilar signature. That should cover most use cases.

@Kagee

Kagee commented Nov 21, 2018

Copy link
Copy Markdown
Author

I feel a mixed presentation image (color, icon, icon + label) is also a good idea. Looking quickly at the image now, it may appear that the library can only create buttons with a small icon and text below. The visual presentation that a pressed button can hav another image is however also important.

@abcminiuser abcminiuser force-pushed the master branch 2 times, most recently from e2517f9 to cc07a48 Compare February 21, 2019 11:18
@chuti0800

Copy link
Copy Markdown

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

Successfully merging this pull request may close these issues.

3 participants