loadTheme - multiple declarations

Function loadTheme

load theme from file

Prototype

bool loadTheme(
  Theme theme,
  string resourceId,
  int level = 0
);

Function loadTheme

load theme from XML document

Prototype

bool loadTheme(
  Theme theme,
  std.xml.Element doc,
  int level = 0
);

Sample

<?xml version="1.0" encoding="utf-8"?>
<theme id="theme_custom" parent="theme_default">
      <style id="BUTTON"
            backgroundImageId="btn_background"
         >
      </style>
</theme>

Function loadTheme

load theme from XML file (null if failed)

Prototype

Theme loadTheme(
  string resourceId
);

Authors

Vadim Lopatin, coolreader.org@gmail.com

Copyright

Vadim Lopatin, 2014

License

Boost License 1.0