Exemplo n.º 1
0
 public static void ReloadTexture()
 {
     foreach (var kvp in GraphicsList)
     {
         foreach (var i in kvp.Value)
         {
             i.Dispose();
         }
     }
     GraphicsList.Clear();
     foreach (var p in loadingList)
     {
         var i = p.Value;
         LoadTextures(i.Texture, i.Size.Width, i.Size.Height);
     }
 }
Exemplo n.º 2
0
 public override void Redo(GraphicsList list)
 {
     // Clear list - make DeleteAll again
     list.Clear();
 }
Exemplo n.º 3
0
 public override void Redo(GraphicsList list)
 {
     // Clear list - make DeleteAll again
     list.Clear();
 }