b4a08af2b1
The values that are displayed in the HUD box included the '%' symbol if these values were percentages. This clutters the HUD for those who don't need such extra characters. This patch removes the trailing '%' from result[1]. The default formatting for HUD values is '%3.1f' and if decimal places need to be changed, the code for those is now simpler. A user who wishes to show a percent symbol after any given stat value, can edit HUD_config.xml and assign such stats the hudsuffix="%" attribute. This patch also changes the way the tooltip strings are constructed. Instead of appending the percent symbol to generated string, the '%' is now generated in place by the format-string stanza '%%'. |
||
---|---|---|
files | ||
gfx | ||
packaging | ||
pyfpdb | ||
regression-test | ||
utils | ||
agpl-3.0.txt | ||
fdl-1.2.txt | ||
gpl-2.0.txt | ||
gpl-3.0.txt | ||
Makefile | ||
mit.txt | ||
readme.txt | ||
run_fpdb.bat | ||
run_fpdb.py | ||
setup.py | ||
test_Python_Libs.py | ||
test_Python.py |
Please visit http://fpdb.sourceforge.net for documentation, tips and help.