Compile Time Changes

Removal of psShortenLabel

Over the years, various efforts were made to unify the way texts were shortened. Calls to the deprecated psShortenLabel should be replaced with shortenText. Note the position of the first two arguments have swapped.

Old: public str psShortenLabel(Font font, str oriLabel, int allowedW) : deprecated {
New: public str shortenText(str text, Font font, int width) {