rcxml: allow <theme><font> without place="" attribute

The construct below will set the font for all supported places. Currently
that's only ActiveWindow, but is likely to include InactiveWindow,
MenuHeader, MenuItem and OnScreenDisplay at some point.

<theme>
  <font>
    <name></name>
    <size></size>
  </font>
</theme>
This commit is contained in:
Johan Malm 2021-07-19 20:46:32 +01:00
parent ec2c67338a
commit 2e4f931469
2 changed files with 25 additions and 9 deletions

View file

@ -8,7 +8,7 @@
<theme>
<name></name>
<cornerRadius>8</cornerRadius>
<font place="ActiveWindow"><name>Sans</name><size>10</size></font>
<font><name>Sans</name><size>12</size></font>
</theme>
<focus>