Beispiel #1
0
 private void loadBrush(int index)
 {
     brushTexture = sBrushTextures[index];
     if (currentTextureBrush != null)
     {
         currentTextureBrush.Dispose();
     }
     currentTextureBrush = new TextureBrush();
     currentTextureBrush.Load(brushTexture, 64);
 }
Beispiel #2
0
 private void loadBrush()
 {
     brushTexture = sBrushTextures[currentSelectedBrush];
     if (currentTextureBrush != null)
     {
         currentTextureBrush.Dispose();
     }
     currentTextureBrush = new TextureBrush();
     currentTextureBrush.Load(brushTexture, 64);
 }
Beispiel #3
0
 private void loadBrush(int index)
 {
     brushTexture = s_BrushTextures[index];
     if (currentTextureBrush != null)
         currentTextureBrush.Dispose();
     currentTextureBrush = new TextureBrush();
     currentTextureBrush.Load(brushTexture,64);
 }
Beispiel #4
0
 private void loadBrush()
 {
     brushTexture = s_BrushTextures[currentSelectedBrush];
     if (currentTextureBrush != null)
         currentTextureBrush.Dispose();
     currentTextureBrush = new TextureBrush();
     currentTextureBrush.Load(brushTexture,64);
 }