mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 11:56:30 +00:00
Setup wizard - Renamed to startup wizard
This commit is contained in:
1 parent
8e8258506b
commit
7d77a340db
15 files changed
+29
-37
No files matched your search
@@ -0,0 +1,29 @@
|
||||
using Artemis.Core.Services;
|
||||
using Stylet;
|
||||
|
||||
namespace Artemis.UI.Screens.StartupWizard.Steps
|
||||
{
|
||||
public class LayoutStepViewModel : Screen
|
||||
{
|
||||
private readonly ISurfaceService _surfaceService;
|
||||
|
||||
public LayoutStepViewModel(ISurfaceService surfaceService)
|
||||
{
|
||||
_surfaceService = surfaceService;
|
||||
}
|
||||
|
||||
public void ApplyLeftHandedPreset()
|
||||
{
|
||||
_surfaceService.AutoArrange();
|
||||
StartupWizardViewModel startupWizardViewModel = (StartupWizardViewModel) Parent;
|
||||
startupWizardViewModel.Continue();
|
||||
}
|
||||
|
||||
public void ApplyRightHandedPreset()
|
||||
{
|
||||
_surfaceService.AutoArrange();
|
||||
StartupWizardViewModel startupWizardViewModel = (StartupWizardViewModel) Parent;
|
||||
startupWizardViewModel.Continue();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user