Skip to content

Commit

Permalink
#479 Added ActionStateType for Marking
Browse files Browse the repository at this point in the history
  • Loading branch information
m4xxed committed Oct 21, 2022
1 parent ee5f3b0 commit a0aa92e
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions Assets/SEE/Controls/Actions/ActionStateType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ public class ActionStateType
RotateAction.CreateReversibleAction);
public static ActionStateType Hide { get; } =
new ActionStateType(2, "Hide", "Hides nodes or edges",
Color.yellow.Darker(), "Materials/ModernUIPack/Eye", HideAction.CreateReversibleAction);

Color.yellow.Darker(), "Materials/ModernUIPack/Eye",
HideAction.CreateReversibleAction);
public static ActionStateType NewEdge { get; } =
new ActionStateType(3, "New Edge", "Draw a new edge between two nodes",
Color.green.Darker(), "Materials/ModernUIPack/Minus",
Expand All @@ -57,11 +57,16 @@ public class ActionStateType
DeleteAction.CreateReversibleAction);
public static ActionStateType ShowCode { get; } =
new ActionStateType(8, "Show Code", "Display the source code of a node.",
Color.black, "Materials/ModernUIPack/Document", ShowCodeAction.CreateReversibleAction);
Color.black, "Materials/ModernUIPack/Document",
ShowCodeAction.CreateReversibleAction);
public static ActionStateType Draw { get; } =
new ActionStateType(9, "Draw", "Draw a line",
Color.magenta.Darker(), "Materials/ModernUIPack/Pencil",
DrawAction.CreateReversibleAction);
Color.magenta.Darker(), "Materials/ModernUIPack/Pencil",
DrawAction.CreateReversibleAction);
public static ActionStateType Mark { get; } =
new ActionStateType(10, "Mark", "Mark a node",
Color.green.Darker(), "Materials/ModernUIPack/Pencil",
MarkAction.CreateReversibleAction);
#endregion

/// <summary>
Expand Down

0 comments on commit a0aa92e

Please sign in to comment.