Ejemplo n.º 1
0
 public InputSection(KeyBindingOverlay keyConfig)
 {
     Children = new Drawable[]
     {
         new MouseSettings(),
         new KeyboardSettings(keyConfig),
     };
 }
Ejemplo n.º 2
0
 public KeyboardSettings(KeyBindingOverlay keyConfig)
 {
     Children = new Drawable[]
     {
         new SettingsButton
         {
             Text   = "Key Configuration",
             Action = keyConfig.ToggleVisibility
         },
     };
 }
Ejemplo n.º 3
0
 public KeyboardSettings(KeyBindingOverlay keyConfig)
 {
     Children = new Drawable[]
     {
         new SettingsButton
         {
             Text        = "Key configuration",
             TooltipText = "Change global shortcut keys and gameplay bindings",
             Action      = keyConfig.ToggleVisibility
         },
     };
 }
Ejemplo n.º 4
0
 public KeyboardSettings(KeyBindingOverlay keyConfig)
 {
     Children = new Drawable[]
     {
         new OsuButton
         {
             RelativeSizeAxes = Axes.X,
             Text             = "Key Configuration",
             Action           = () => keyConfig.ToggleVisibility()
         },
     };
 }
Ejemplo n.º 5
0
 public TestCaseKeyConfiguration()
 {
     Child = overlay = new KeyBindingOverlay();
 }