Changeset 2334 for trunk/CrypPlugins/CLK


Ignore:
Timestamp:
Jan 14, 2011, 12:03:33 AM (11 years ago)
Author:
Matthäus Wander
Message:

removed 1006 occurences of DisplayLevel in 218 files (see #122)

Location:
trunk/CrypPlugins/CLK
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/CLK/CLK.cs

    r1042 r2334  
    106106    # region public interface
    107107       
    108     [PropertyInfo(Direction.OutputData, "Output", "Output.", "", false, false, DisplayLevel.Beginner, QuickWatchFormat.Text, null)]
     108    [PropertyInfo(Direction.OutputData, "Output", "Output.", "", false, false, QuickWatchFormat.Text, null)]
    109109    public bool Output
    110110    {
     
    120120    }
    121121
    122     [PropertyInfo(Direction.OutputData, "Output of rounds", "Output.", "", false, false, DisplayLevel.Beginner, QuickWatchFormat.Text, null)]
     122    [PropertyInfo(Direction.OutputData, "Output of rounds", "Output.", "", false, false, QuickWatchFormat.Text, null)]
    123123    public int RoundOutput
    124124    {
     
    134134    }
    135135
    136     [PropertyInfo(Direction.InputData, "EventInput", "EventInput", "", false, false, DisplayLevel.Beginner, QuickWatchFormat.Text, null)]
     136    [PropertyInfo(Direction.InputData, "EventInput", "EventInput", "", false, false, QuickWatchFormat.Text, null)]
    137137    public object EventInput
    138138    {
  • trunk/CrypPlugins/CLK/CLKSettings.cs

    r1042 r2334  
    4444    }
    4545
    46     [ContextMenu("Set clock output to", " true / false ", 0, DisplayLevel.Beginner, ContextMenuControlType.ComboBox, null, new string[] { "false", "true"})]
    47     [TaskPaneAttribute("Set clock output to", " true / false ", "", 0, true, DisplayLevel.Beginner, ControlType.RadioButton, new string[] { "False", "True" })]
     46    [ContextMenu("Set clock output to", " true / false ", 0, ContextMenuControlType.ComboBox, null, new string[] { "false", "true"})]
     47    [TaskPaneAttribute("Set clock output to", " true / false ", "", 0, true, ControlType.RadioButton, new string[] { "False", "True" })]
    4848    public int SetClockToTrue
    4949    {
     
    6161    }
    6262
    63     /*[ContextMenu("Set clock to...", " true / false ", 2, DisplayLevel.Beginner, ContextMenuControlType.ComboBox, null, new string[] { "true", "false"})]
    64     [TaskPane("Set clock to...", " true / false ", null, 2, false, DisplayLevel.Beginner, ControlType.RadioButton, new string[] { "true", "false" })]
     63    /*[ContextMenu("Set clock to...", " true / false ", 2, ContextMenuControlType.ComboBox, null, new string[] { "true", "false"})]
     64    [TaskPane("Set clock to...", " true / false ", null, 2, false, ControlType.RadioButton, new string[] { "true", "false" })]
    6565    public bool SetClockToTrue
    6666    {
     
    7777    }*/
    7878
    79     //[ContextMenu("Set clock to true", " yes / no ", 0, DisplayLevel.Beginner, ContextMenuControlType.CheckBox, null, "Set clock to true")]
    80     [TaskPaneAttribute("Set CLK timeout in milliseconds", "How long should it last until next CLK event?", "", 1, false, DisplayLevel.Beginner, ControlType.TextBox, null)]
     79    //[ContextMenu("Set clock to true", " yes / no ", 0, ContextMenuControlType.CheckBox, null, "Set clock to true")]
     80    [TaskPaneAttribute("Set CLK timeout in milliseconds", "How long should it last until next CLK event?", "", 1, false, ControlType.TextBox, null)]
    8181    public int CLKTimeout
    8282    {
     
    9191    }
    9292
    93     [ContextMenu("Use input event instead of clock", " yes / no ", 0, DisplayLevel.Beginner, ContextMenuControlType.CheckBox, null, "Use input event instead of clock")]
    94     [TaskPaneAttribute("Use input event instead of clock", " yes / no ", "", 0, true, DisplayLevel.Beginner, ControlType.CheckBox, null)]
     93    [ContextMenu("Use input event instead of clock", " yes / no ", 0, ContextMenuControlType.CheckBox, null, "Use input event instead of clock")]
     94    [TaskPaneAttribute("Use input event instead of clock", " yes / no ", "", 0, true, ControlType.CheckBox, null)]
    9595    public bool UseEvent
    9696    {
     
    110110
    111111    private int rounds = 10; //how many bits will be generated
    112     //[ContextMenu("Rounds", "How many bits shall be generated?", 1, DisplayLevel.Beginner, ContextMenuControlType.ComboBox, new int[] { 10, 50, 100 }, "10 bits", "50 bits", "100 bits")]
    113     //[TaskPane("Rounds", "How many bits shall be generated?", null, 1, false, DisplayLevel.Beginner, ControlType.TextBox)]
    114     [TaskPane("Rounds", "How many clock cycles shall be generated?", null, 2, false, DisplayLevel.Beginner, ControlType.NumericUpDown, ValidationType.RangeInteger, 0, int.MaxValue)]
     112    //[ContextMenu("Rounds", "How many bits shall be generated?", 1, ContextMenuControlType.ComboBox, new int[] { 10, 50, 100 }, "10 bits", "50 bits", "100 bits")]
     113    //[TaskPane("Rounds", "How many bits shall be generated?", null, 1, false, ControlType.TextBox)]
     114    [TaskPane("Rounds", "How many clock cycles shall be generated?", null, 2, false, ControlType.NumericUpDown, ValidationType.RangeInteger, 0, int.MaxValue)]
    115115    public int Rounds
    116116    {
     
    157157    /* SettingChanged(MEM_USAGE_PROPERTY, Visibility.Visible);
    158158    SettingChanged(BUTTON_MEM_USAGE_PROPERTY, Visibility.Visible, new TaskPaneAttribute(Properties.Visuals.settingMemUsageOff,
    159         Properties.Visuals.settingMemUsageOff_ToolTip, Properties.Visuals.settingGroupMisc, 5, false, DisplayLevel.Beginner, ControlType.Button));
     159        Properties.Visuals.settingMemUsageOff_ToolTip, Properties.Visuals.settingGroupMisc, 5, false, ControlType.Button));
    160160     */
    161161
Note: See TracChangeset for help on using the changeset viewer.