Is it possible to mod the player faction music (when you land on your colony or interact with your patrol) without changing the Independent and/or Persean League?
Yeah - you'd specify the music in the player.faction file. See, say, hegemony.faction for an example.
How do one use LabelAPI.computeTextHeight(string)? Is it what the height would be had the text been vertically rendered? For a 65 tall PositionAPI, the call returned me 998 when I passed same string as I did to original addPara().
It returns the number of linebreaks in the string (plus one) times the "line height" of the font.
... except, oops, it was calling computeStringWidth() under the hood! Fixed that up, thank you
Also, I think we are missing the ability to set font on an AreaCheckbox, tried all four and didn't change:
tooltip.setButtonFontVictor10();// this would be expected one to work, since it returns ButtonAPI
tooltip.setParaFont(Fonts.VICTOR_10);
tooltip.setTitleFont(Fonts.VICTOR_10);
tooltip.setGridFont(Fonts.VICTOR_10);
Yeah, that's not currently configurable. Let me add these to TooltipMakerAPI:
void setAreaCheckboxFont(String areaCheckboxFont);
void setAreaCheckboxFontDefault();