Tweaking charges display on icons

All development conversation and discussion takes place here

Moderator: Moderator

Post Reply
Message
Author
Hachem_Muche
Uruivellas
Posts: 744
Joined: Thu Nov 18, 2010 6:42 pm

Tweaking charges display on icons

#1 Post by Hachem_Muche »

The new charge display feature is great, but is a little bit hard to use. Below are 3 examples:
3 icons:<br />Combo, Defensive Throw, and Gesture of Guarding
3 icons:
Combo, Defensive Throw, and Gesture of Guarding
chargesiconstome-1.0.5-1373848303.png (8.49 KiB) Viewed 1398 times
Though the numbers are a little small, the combo icon (top) looks good. The other two are passive defensive buffs (part of the scaling changes in git) that don't have a duration, and the charges are placed right in the middle of the icon. It would be nice to be able to specify a position on the icon for this number (top/bottom, left/right) or at least make the default position match the combo example, including font size.

Also, I've used color codes to make the numbers green to enhance contrast with the icon colors, though it defaulted to plain white. I like the idea of having a consistent color for this purpose, though it might be necessary to change the color for any green icon that has charges.

Text-embedded icons also work after a fashion, though the colors and size are not preserved. There are certainly cases where placing a sub-icon might be useful, such as psionic shields.
Author of the Infinite 500 and PlenumTooltip addons, and the joys of Scaling in ToME.

Post Reply