-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New non-sandboxed GUI app, little changes, gui+dll linked, need to ma…
…nage pipes for child devices
- Loading branch information
Showing
107 changed files
with
1,441 additions
and
22,963 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,16 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Application | ||
x:Class="Configurator.App" | ||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:local="using:Configurator"> | ||
<Application.Resources> | ||
<ResourceDictionary> | ||
<ResourceDictionary.MergedDictionaries> | ||
<XamlControlsResources xmlns="using:Microsoft.UI.Xaml.Controls" /> | ||
<!-- Other merged dictionaries here --> | ||
</ResourceDictionary.MergedDictionaries> | ||
<!-- Other app resources here --> | ||
</ResourceDictionary> | ||
</Application.Resources> | ||
</Application> |
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,36 @@ | ||
using Microsoft.UI.Xaml; | ||
using Microsoft.UI.Xaml.Controls; | ||
using Microsoft.UI.Xaml.Controls.Primitives; | ||
using Microsoft.UI.Xaml.Data; | ||
using Microsoft.UI.Xaml.Input; | ||
using Microsoft.UI.Xaml.Media; | ||
using Microsoft.UI.Xaml.Navigation; | ||
using Microsoft.UI.Xaml.Shapes; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.IO; | ||
using System.Linq; | ||
using System.Runtime.InteropServices.WindowsRuntime; | ||
using Windows.ApplicationModel; | ||
using Windows.ApplicationModel.Activation; | ||
using Windows.Foundation; | ||
using Windows.Foundation.Collections; | ||
|
||
namespace Configurator | ||
{ | ||
public partial class App : Application | ||
{ | ||
public App() | ||
{ | ||
this.InitializeComponent(); | ||
} | ||
|
||
protected override void OnLaunched(Microsoft.UI.Xaml.LaunchActivatedEventArgs args) | ||
{ | ||
m_window = new MainWindow(); | ||
m_window.Activate(); | ||
} | ||
|
||
private Window m_window; | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+283 Bytes
Configurator/Assets/Square44x44Logo.targetsize-24_altform-unplated.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,59 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<OutputType>WinExe</OutputType> | ||
<TargetFramework>net8.0-windows10.0.19041.0</TargetFramework> | ||
<TargetPlatformMinVersion>10.0.17763.0</TargetPlatformMinVersion> | ||
<RootNamespace>Configurator</RootNamespace> | ||
<ApplicationManifest>app.manifest</ApplicationManifest> | ||
<Platforms>x86;x64;ARM64</Platforms> | ||
<RuntimeIdentifiers Condition="$([MSBuild]::GetTargetFrameworkVersion('$(TargetFramework)')) >= 8">win-x86;win-x64;win-arm64</RuntimeIdentifiers> | ||
<RuntimeIdentifiers Condition="$([MSBuild]::GetTargetFrameworkVersion('$(TargetFramework)')) < 8">win10-x86;win10-x64;win10-arm64</RuntimeIdentifiers> | ||
<PublishProfile>win-$(Platform).pubxml</PublishProfile> | ||
<UseWinUI>true</UseWinUI> | ||
<EnableMsixTooling>true</EnableMsixTooling> | ||
<WindowsPackageType>None</WindowsPackageType> | ||
<WindowsAppSDKSelfContained>true</WindowsAppSDKSelfContained> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<None Remove="Device.xaml" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<Content Include="Assets\SplashScreen.scale-200.png" /> | ||
<Content Include="Assets\LockScreenLogo.scale-200.png" /> | ||
<Content Include="Assets\Square150x150Logo.scale-200.png" /> | ||
<Content Include="Assets\Square44x44Logo.scale-200.png" /> | ||
<Content Include="Assets\Square44x44Logo.targetsize-24_altform-unplated.png" /> | ||
<Content Include="Assets\StoreLogo.png" /> | ||
<Content Include="Assets\Wide310x150Logo.scale-200.png" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.22621.756" /> | ||
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.5.240627000" /> | ||
<Manifest Include="$(ApplicationManifest)" /> | ||
</ItemGroup> | ||
|
||
<!-- | ||
Defining the "Msix" ProjectCapability here allows the Single-project MSIX Packaging | ||
Tools extension to be activated for this project even if the Windows App SDK Nuget | ||
package has not yet been restored. | ||
--> | ||
<ItemGroup Condition="'$(DisableMsixProjectCapabilityAddedByProject)'!='true' and '$(EnableMsixTooling)'=='true'"> | ||
<ProjectCapability Include="Msix" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Page Update="Device.xaml"> | ||
<Generator>MSBuild:Compile</Generator> | ||
</Page> | ||
</ItemGroup> | ||
|
||
<!-- | ||
Defining the "HasPackageAndPublishMenuAddedByProject" property here allows the Solution | ||
Explorer "Package and Publish" context menu entry to be enabled for this project even if | ||
the Windows App SDK Nuget package has not yet been restored. | ||
--> | ||
<PropertyGroup Condition="'$(DisableHasPackageAndPublishMenuAddedByProject)'!='true' and '$(EnableMsixTooling)'=='true'"> | ||
<HasPackageAndPublishMenu>true</HasPackageAndPublishMenu> | ||
</PropertyGroup> | ||
</Project> |
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,108 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<UserControl | ||
x:Class="Configurator.Device" | ||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:local="using:Configurator" | ||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | ||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | ||
mc:Ignorable="d"> | ||
|
||
<Grid x:Name="AppContent" Background="{ThemeResource LayerOnMicaBaseAltFillColorDefault}" Padding="12, 8, 12, 12" ColumnSpacing="18"> | ||
<Grid.ColumnDefinitions> | ||
<ColumnDefinition Width="auto"/> | ||
<ColumnDefinition Width="5*"/> | ||
</Grid.ColumnDefinitions> | ||
<Grid Grid.Column="0"> | ||
<Grid.RowDefinitions> | ||
<RowDefinition Height="*"/> | ||
<RowDefinition Height="24"/> | ||
<RowDefinition Height="32"/> | ||
</Grid.RowDefinitions> | ||
<TextBlock Style="{ThemeResource CaptionTextBlockStyle}" FontWeight="SemiBold">Device Info</TextBlock> | ||
<TextBlock Style="{ThemeResource CaptionTextBlockStyle}" FontWeight="SemiBold" Grid.Row="1">Set Configuration</TextBlock> | ||
<StackPanel Grid.Row="2" Orientation="Horizontal" x:Name="ConfigPanel"> | ||
<StackPanel.Resources> | ||
<Style TargetType="ToggleButton"> | ||
<Style.Setters> | ||
<Setter Property="CornerRadius" Value="0"/> | ||
</Style.Setters> | ||
</Style> | ||
</StackPanel.Resources> | ||
<ToggleButton | ||
CornerRadius="4, 0, 0, 4" | ||
Content="1" /> | ||
<ToggleButton | ||
Content="2" Grid.Column="1"/> | ||
<ToggleButton | ||
Content="3" Grid.Column="2"/> | ||
<ToggleButton | ||
Content="4" Grid.Column="3"/> | ||
<ToggleButton | ||
Content="5" Grid.Column="4"/> | ||
<ToggleButton | ||
Content="6" Grid.Column="5"/> | ||
<ToggleButton | ||
x:Name="LastConfigButton" | ||
CornerRadius="0, 4, 4, 0" | ||
Content="7" Grid.Column="6"/> | ||
</StackPanel> | ||
</Grid> | ||
<Grid Grid.Column="1"> | ||
<Grid.RowDefinitions> | ||
<RowDefinition Height="24"/> | ||
<RowDefinition Height="*"/> | ||
</Grid.RowDefinitions> | ||
<TextBlock Style="{ThemeResource CaptionTextBlockStyle}" FontWeight="SemiBold">Enabled Features</TextBlock> | ||
<Grid x:Name="FeatureSelector" ColumnSpacing="12" VerticalAlignment="Stretch" Grid.Row="1" RowSpacing="8"> | ||
<Grid.ColumnDefinitions> | ||
<ColumnDefinition Width="*"/> | ||
<ColumnDefinition Width="*"/> | ||
<ColumnDefinition Width="*"/> | ||
</Grid.ColumnDefinitions> | ||
<Grid.RowDefinitions> | ||
<RowDefinition Height="*"/> | ||
<RowDefinition Height="20"/> | ||
<RowDefinition Height="*"/> | ||
<RowDefinition Height="20"/> | ||
</Grid.RowDefinitions> | ||
<ToggleButton VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Grid.Column="0"> | ||
<FontIcon Glyph=""/> | ||
</ToggleButton> | ||
<ToggleButton VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Grid.Column="1"> | ||
<FontIcon Glyph="" /> | ||
</ToggleButton> | ||
<ToggleButton VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Grid.Column="2"> | ||
<FontIcon Glyph="" /> | ||
</ToggleButton> | ||
<ToggleButton VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Grid.Column="0" Grid.Row="2"> | ||
<FontIcon Glyph="" /> | ||
</ToggleButton> | ||
<ToggleButton VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Grid.Column="1" Grid.Row="2"> | ||
<FontIcon Glyph="" /> | ||
</ToggleButton> | ||
<ToggleButton VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Grid.Column="2" Grid.Row="2"> | ||
<FontIcon Glyph="" /> | ||
</ToggleButton> | ||
<Grid Grid.Row="1" Grid.Column="0"> | ||
<TextBlock Style="{ThemeResource CaptionTextBlockStyle}" Grid.Row="1" Grid.Column="0" TextAlignment="Center" HorizontalAlignment="Center">Photo Transfer</TextBlock> | ||
</Grid> | ||
<Grid Grid.Row="1" Grid.Column="1"> | ||
<TextBlock Style="{ThemeResource CaptionTextBlockStyle}" Grid.Row="1" Grid.Column="1" TextAlignment="Center" HorizontalAlignment="Center">Audio Streaming</TextBlock> | ||
</Grid> | ||
<Grid Grid.Row="1" Grid.Column="2"> | ||
<TextBlock Style="{ThemeResource CaptionTextBlockStyle}" Grid.Row="1" Grid.Column="2" TextAlignment="Center" HorizontalAlignment="Center">iTunes USB</TextBlock> | ||
</Grid> | ||
<Grid Grid.Row="3" Grid.Column="1"> | ||
<TextBlock Style="{ThemeResource CaptionTextBlockStyle}" Grid.Row="3" Grid.Column="0" TextAlignment="Center" HorizontalAlignment="Center">Data Tethering</TextBlock> | ||
</Grid> | ||
<Grid Grid.Row="3" Grid.Column="0"> | ||
<TextBlock Style="{ThemeResource CaptionTextBlockStyle}" Grid.Row="3" Grid.Column="1" TextAlignment="Center" HorizontalAlignment="Center">P2P Ethernet</TextBlock> | ||
</Grid> | ||
<Grid Grid.Row="3" Grid.Column="2"> | ||
<TextBlock Style="{ThemeResource CaptionTextBlockStyle}" Grid.Row="3" Grid.Column="2" TextAlignment="Center" HorizontalAlignment="Center">Screen Share</TextBlock> | ||
</Grid> | ||
</Grid> | ||
</Grid> | ||
</Grid> | ||
</UserControl> |
Oops, something went wrong.