Files
Goatgarien_BAKKA-Editor/BAKKA-Editor/UserSettings.cs
T
Goatgarien 89db842aa2 Fixed hispeed stuff
Hispeed setting now mostly matches wacca hispeed.
hispeed gimmicks also show up in visual
hispeed setting also saves between launches
2023-02-15 06:37:25 -08:00

46 lines
1.6 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BAKKA_Editor
{
internal class UserSettings
{
public ViewSettings ViewSettings { get; set; } = new();
public SaveSettings SaveSettings { get; set; } = new();
public HotkeySettings HotkeySettings { get; set; } = new();
}
internal class ViewSettings
{
public bool ShowCursor { get; set; } = true;
public bool ShowCursorDuringPlayback { get; set; } = false;
public bool HighlightViewedNote { get; set; } = true;
public bool SelectLastInsertedNote { get; set; } = true;
public bool ShowGimmicks { get; set; } = true;
public float HispeedSetting { get; set; } = 1.5f;
}
internal class SaveSettings
{
/// <summary>
/// How frequently autosave occurs (in minutes)
/// </summary>
public int AutoSaveInterval { get; set; } = 1;
}
internal class HotkeySettings
{
public int TouchHotkey { get; set; } = Convert.ToInt32(Keys.D1);
public int SlideLeftHotkey { get; set; } = Convert.ToInt32(Keys.D2);
public int SlideRightHotkey { get; set; } = Convert.ToInt32(Keys.D3);
public int SnapUpHotkey { get; set; } = Convert.ToInt32(Keys.D4);
public int SnapDownHotkey { get; set; } = Convert.ToInt32(Keys.D5);
public int ChainHotkey { get; set; } = Convert.ToInt32(Keys.D6);
public int HoldHotkey { get; set; } = Convert.ToInt32(Keys.D7);
public int PlayHotkey { get; set; } = Convert.ToInt32(Keys.Space);
}
}