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

Stack the controller buttons on a resize #4443

Open
derwin12 opened this issue Mar 28, 2024 · 6 comments
Open

Stack the controller buttons on a resize #4443

derwin12 opened this issue Mar 28, 2024 · 6 comments

Comments

@derwin12
Copy link
Collaborator

When the right side of the controller tab is resized smaller .. the buttons are unusable. Perhaps stack them on two or 3 rows as needed?
image

@computergeek1507
Copy link
Member

Need a graphics designer to make us some icons

@cybercop23 cybercop23 added the GUI label Apr 1, 2024
@kevinsaucier
Copy link

While you're playing with that, the buttons on the Submodels page have similar issues.... :)

image

@marklancer
Copy link

What are the specs for the icons? File format, size, ratio, etc?

@AzGilrock
Copy link
Collaborator

Guess it depends on where the icons are being used. Like all our effect icons we create multiple sizes like 16, 24, 32, 48, and 64. See the xLights/include folder for all the .xpm files. Its been awhile for me but I believe I used a Windows program called Greenfish Icon Editor that could work with the XPM format. One thing that was a pain with those is it generates a "static char *" object but you need to manually edit every file after its generated to add const to make it "static const char *".

Then theres artwork like stored in the xLights/images area. I've saved a lot of the Photoshop files there that I used to create some of the buttons like the Paint tools in effect assist and the new sequence wizard buttons. Working with those is tricky as well. Like I did the PaintToolIcons and for that I had to run the wxInclude.exe file across all PNG files in that folder and it generates a PaintToolIcons.h file that's in the xLights/include folder and it contains all the PNG files from that folder converted to a data array.

@AzGilrock
Copy link
Collaborator

Oh and the PaintToolIcons folder contains I file I put there called "command.txt" that shows the command line to run to create the .h file for the PNG files.
wxInclude.exe --const --input-type=.png --output-file=PaintToolIcons.h

@cybercop23
Copy link
Collaborator

Dan is looking for SVG files that can be loaded right in wxWidgets. @dkulp can you please provide any specs that you are looking for?

#3598 (comment)

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

No branches or pull requests

6 participants