-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Up, Down, Left, Right : Rotate clock plane * +/- : Zoom in and out * 0 : Reset all
- Loading branch information
1 parent
df999a6
commit 2c792b5
Showing
4 changed files
with
102 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
|
||
namespace SG.SepidarSidebar | ||
{ | ||
public class MainWindowViewModel : ViewModelBase | ||
{ | ||
private double _verticalRotationDegree = -17; | ||
private double _horizontalRotationDegree = 0; | ||
|
||
public double VerticalRotationDegree | ||
{ | ||
get { return _verticalRotationDegree; } | ||
set | ||
{ | ||
if (_verticalRotationDegree != value) | ||
{ | ||
_verticalRotationDegree = value; | ||
OnPropertyChanged("VerticalRotationDegree"); | ||
} | ||
} | ||
} | ||
|
||
public double HorizontalRotationDegree | ||
{ | ||
get { return _horizontalRotationDegree; } | ||
set | ||
{ | ||
if (_horizontalRotationDegree != value) | ||
{ | ||
_horizontalRotationDegree = value; | ||
OnPropertyChanged("HorizontalRotationDegree"); | ||
} | ||
} | ||
} | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters