loadTheme

load theme from XML document

Sample:

<?xml version="1.0" encoding="utf-8"?>
<theme id="theme_custom" parent="theme_default">
      <style id="BUTTON"
            backgroundImageId="btn_background"
         >
      </style>
</theme>
  1. bool loadTheme(Theme theme, XmlDocument doc, int level)
    bool
    loadTheme
    (,
    XmlDocument doc
    ,
    int level = 0
    )
  2. bool loadTheme(Theme theme, string resourceId, int level)
  3. Theme loadTheme(string resourceId)

Meta