public void LoadPMF(string root, string dir, string name) { RenderSets.Add(new RenderSet("builtin:nomotion", "screen")); RenderSets.Add(new RenderSet("builtin:nomotion_alpha", "screen")); string path = root + dir + name; var surface = new PMF(); surface.Load(path); Log.Debug("Ruly", "PMF load ends."); surface.SetupShellSurface(); Surface = surface; AddTextures(root, dir); // Load ends Surface.Animation = false; Surface.Loaded = true; Log.Debug("Shell", "PMF load ends."); }
public void LoadPMF(string root, string dir, string name) { RenderSets.Add(new RenderSet("builtin:nomotion", "screen")); RenderSets.Add(new RenderSet("builtin:nomotion_alpha", "screen")); string path = root + dir + name; var surface = new PMF (); surface.Load (path); Log.Debug("Ruly", "PMF load ends."); surface.SetupShellSurface (); Surface = surface; AddTextures (root, dir); // Load ends Surface.Animation = false; Surface.Loaded = true; Log.Debug ("Shell", "PMF load ends."); }