|
@ -88,6 +88,8 @@ public class CropTool : ITool { |
|
|
|
|
|
|
|
|
public CropTool(Photo photo) { |
|
|
public CropTool(Photo photo) { |
|
|
activePhoto = photo; |
|
|
activePhoto = photo; |
|
|
|
|
|
mouseDragStart = new(photo.CropRectangle.Left, photo.CropRectangle.Top); |
|
|
|
|
|
mouseDragEnd = new(photo.CropRectangle.Right, photo.CropRectangle.Bottom); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public ToolState HandleInput(UiGeometry geometry, KeyboardState input, MouseState mouse, Game game) { |
|
|
public ToolState HandleInput(UiGeometry geometry, KeyboardState input, MouseState mouse, Game game) { |
|
|