-
-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
39 changed files
with
600 additions
and
155 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
src/Artemis.UI/Screens/StartupWizard/Steps/LayoutsStep.axaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<UserControl xmlns="https://github.com/avaloniaui" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | ||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | ||
xmlns:startupWizard="clr-namespace:Artemis.UI.Screens.StartupWizard" | ||
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450" | ||
x:Class="Artemis.UI.Screens.StartupWizard.Steps.LayoutsStep" | ||
x:DataType="startupWizard:StartupWizardViewModel"> | ||
<Border Classes="card"> | ||
<Grid RowDefinitions="Auto,Auto,Auto"> | ||
<StackPanel Grid.Row="0"> | ||
<TextBlock TextWrapping="Wrap"> | ||
Device layouts provide Artemis with an image of your devices and exact LED positions. <LineBreak /> | ||
While not strictly necessary, this helps to create effects that are perfectly aligned with your hardware. | ||
</TextBlock> | ||
<TextBlock TextWrapping="Wrap" Margin="0 10"> | ||
Below you can automatically search the Artemis Workshop for device layouts of your devices. | ||
</TextBlock> | ||
</StackPanel> | ||
|
||
<Button Grid.Row="1" | ||
Content="Auto-install layouts" | ||
Command="{CompiledBinding LayoutFinderViewModel.SearchAll}" | ||
ToolTip.Tip="Search layouts and if found install them automatically" | ||
HorizontalAlignment="Right"/> | ||
<ScrollViewer Grid.Row="2" Margin="0 15"> | ||
<ContentControl Content="{CompiledBinding LayoutFinderViewModel}"></ContentControl> | ||
</ScrollViewer> | ||
</Grid> | ||
</Border> | ||
</UserControl> |
13 changes: 13 additions & 0 deletions
13
src/Artemis.UI/Screens/StartupWizard/Steps/LayoutsStep.axaml.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
using Avalonia; | ||
using Avalonia.Controls; | ||
using Avalonia.Markup.Xaml; | ||
|
||
namespace Artemis.UI.Screens.StartupWizard.Steps; | ||
|
||
public partial class LayoutsStep : UserControl | ||
{ | ||
public LayoutsStep() | ||
{ | ||
InitializeComponent(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 0 additions & 24 deletions
24
src/Artemis.UI/Screens/Workshop/Layout/Dialogs/DeviceSelectionDialogView.axaml
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
src/Artemis.UI/Screens/Workshop/Layout/Dialogs/DeviceSelectionDialogView.axaml.cs
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.