Esempio n. 1
0
 public SkinManager(string basePath)
 {
     this.AllExtensions = new string[] { ".png", ".gif", ".jpg", ".bmp" };
     this.mBasePath = basePath;
     if (!this.BasePath.EndsWith(@"\"))
     {
         this.BasePath = this.BasePath + @"\";
     }
     this.mResourceType = SkinResourceTypes.File;
 }
Esempio n. 2
0
 public SkinManager(ResourceManager resourceTarget)
 {
     this.AllExtensions = new string[] { ".png", ".gif", ".jpg", ".bmp" };
     this.mResourceTarget = resourceTarget;
     this.mResourceType = SkinResourceTypes.EmbeddedResource;
 }