11-25-2022 03:00 PM - edited 11-25-2022 03:03 PM
Hello,
I'm making custom controls and they have the background (6-state with mouse hover) and icon (4-state)
System button (6-state)
Square Radio Button (4-state)
Currently I can make the system button (6-state) and draw six .png images for each icon. But this process requires redraw the six images for each new custom button
If I can mix the System Button (6-state) with the Square Radio Button (4-state), I can draw a base button with:
The second method requires only change the icon image for each new custom button, i.e., easier process
For example:
Example
To design this custom button with only 6-state, the developer needs six .png files for each icon
To design this custom button with 6-state + 4-state, the developer needs only update the icon, keeping the background
The icon update process will be easier, because the developer can download the icon image from a good source (like Google Fonts) already in .png format, without the need of assembly the images with the background or resizing
Is there a way to merge these two booleanos into a single custom control with this behavior?