Beispiel #1
0
 public InputAction(string name, List<SequenceItem> sequences, List<ScriptSequenceItem> scripts, List<MouseSequenceItem> mouseSequences)
 {
     Id = Guid.NewGuid();
     MediaItem = new MediaItem();
     Name = name;
     IsEnabled = true;
     IsVisible = true;
     IsTarget = false;
     Color = string.Empty;
     Opacity = 1.0f;
     TextColor = string.Empty;
     Sequences = sequences;
     ScriptSequences = scripts;
     MouseSequences = mouseSequences;
     ProcessName = string.Empty;
     OverrideProcess = false;
     BringProcessToForeground = false;
 }
Beispiel #2
0
 public GridSettings()
 {
     Rows = 6;
     Columns = 5;
     Mode = DefaultMode;
     MediaItem = new MediaItem();
     ShowBorder = true;
     ShowShadow = true;
     ShowImageBackground = false;
     HideOverflowText = false;
     CellSpacing = 10;
     CellShadow = new GridCellShadow();
     CellBorder = new GridCellBorder();
     Color = new GridColor
     {
         Alpha = 1,
         Blue = 70,
         Green = 70,
         Red = 70
     };
 }