mirror of
				https://github.com/chev2/botw-toolset.git
				synced 2025-10-30 08:12:17 +00:00 
			
		
		
		
	Remove unused TSCB things
This commit is contained in:
		
							parent
							
								
									9b4bc1ee2e
								
							
						
					
					
						commit
						4a8e738b0d
					
				
					 1 changed files with 0 additions and 19 deletions
				
			
		|  | @ -32,10 +32,6 @@ namespace BOTWToolset.Control | ||||||
|             InitializeComponent(); |             InitializeComponent(); | ||||||
| 
 | 
 | ||||||
|             RenderOptions.SetBitmapScalingMode(PixelView, BitmapScalingMode.NearestNeighbor); // Nearest-neighbor sampling |             RenderOptions.SetBitmapScalingMode(PixelView, BitmapScalingMode.NearestNeighbor); // Nearest-neighbor sampling | ||||||
|             //RenderOptions.SetEdgeMode(i, EdgeMode.Unspecified); |  | ||||||
| 
 |  | ||||||
|             //Placeholder image |  | ||||||
|             writeableBitmap = new WriteableBitmap(4, 4, 16, 16, PixelFormats.BlackWhite, null); |  | ||||||
| 
 | 
 | ||||||
|             PixelView.Source = writeableBitmap; |             PixelView.Source = writeableBitmap; | ||||||
|             PixelView.Stretch = Stretch.Uniform; |             PixelView.Stretch = Stretch.Uniform; | ||||||
|  | @ -48,21 +44,6 @@ namespace BOTWToolset.Control | ||||||
|             GC.Collect(); // Garbage collect to free memory |             GC.Collect(); // Garbage collect to free memory | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|         public void PixelViewBorder_MouseWheel(object sender, MouseWheelEventArgs e) |  | ||||||
|         { |  | ||||||
|             Matrix m = PixelView.RenderTransform.Value; |  | ||||||
| 
 |  | ||||||
|             if (e.Delta > 0) |  | ||||||
|             { |  | ||||||
|                 m.ScaleAt(1.5f, 1.5f, e.GetPosition(PixelViewBorder).X, e.GetPosition(PixelViewBorder).Y); |  | ||||||
|             } |  | ||||||
|             else |  | ||||||
|             { |  | ||||||
|                 m.ScaleAt(2 / 3, 2 / 3, e.GetPosition(PixelViewBorder).X, e.GetPosition(PixelViewBorder).Y); |  | ||||||
|             } |  | ||||||
| 
 |  | ||||||
|             PixelView.RenderTransform = new MatrixTransform(m); |  | ||||||
|         } |  | ||||||
| 
 | 
 | ||||||
|         private void PixelView_UpdateView(object sender, RoutedEventArgs e) |         private void PixelView_UpdateView(object sender, RoutedEventArgs e) | ||||||
|         { |         { | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Chev
						Chev