返回提交历史
Added
SpaceEngineersBlueprintEditor.sln
+43
-0
Added
SpaceEngineersBlueprintEditor/App.xaml
+16
-0
Added
SpaceEngineersBlueprintEditor/App.xaml.cs
+50
-0
Added
SpaceEngineersBlueprintEditor/Assets/LockScreenLogo.scale-200.png
+0
-0
Added
SpaceEngineersBlueprintEditor/Assets/SplashScreen.scale-200.png
+0
-0
Added
SpaceEngineersBlueprintEditor/Assets/Square150x150Logo.scale-200.png
+0
-0
Added
SpaceEngineersBlueprintEditor/Assets/Square44x44Logo.scale-200.png
+0
-0
Added
SpaceEngineersBlueprintEditor/Assets/Square44x44Logo.targetsize-24_altform-unplated.png
+0
-0
Added
SpaceEngineersBlueprintEditor/Assets/StoreLogo.png
+0
-0
Added
SpaceEngineersBlueprintEditor/Assets/Wide310x150Logo.scale-200.png
+0
-0
Added
SpaceEngineersBlueprintEditor/MainWindow.xaml
+15
-0
Added
SpaceEngineersBlueprintEditor/MainWindow.xaml.cs
+36
-0
Added
SpaceEngineersBlueprintEditor/Package.appxmanifest
+51
-0
Added
SpaceEngineersBlueprintEditor/Properties/launchSettings.json
+10
-0
Added
SpaceEngineersBlueprintEditor/SpaceEngineersBlueprintEditor.csproj
+60
-0
Added
SpaceEngineersBlueprintEditor/app.manifest
+19
-0
SpaceEngineersModDev/SpaceEngineersBlueprintEditorInWinUI
添加项目文件。
f0cbdc1
代码差异
16 个文件
+300
-0
@@ -0,0 +1,43 @@
1
2
Microsoft Visual Studio Solution File, Format Version 12.00
3
# Visual Studio Version 17
4
VisualStudioVersion = 17.12.35323.107
5
MinimumVisualStudioVersion = 10.0.40219.1
6
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SpaceEngineersBlueprintEditor", "SpaceEngineersBlueprintEditor\SpaceEngineersBlueprintEditor.csproj", "{049E595C-0B3F-4586-A897-F480C611A95E}"
7
EndProject
8
Global
9
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10
Debug|ARM64 = Debug|ARM64
11
Debug|x64 = Debug|x64
12
Debug|x86 = Debug|x86
13
Release|ARM64 = Release|ARM64
14
Release|x64 = Release|x64
15
Release|x86 = Release|x86
16
EndGlobalSection
17
GlobalSection(ProjectConfigurationPlatforms) = postSolution
18
{049E595C-0B3F-4586-A897-F480C611A95E}.Debug|ARM64.ActiveCfg = Debug|ARM64
19
{049E595C-0B3F-4586-A897-F480C611A95E}.Debug|ARM64.Build.0 = Debug|ARM64
20
{049E595C-0B3F-4586-A897-F480C611A95E}.Debug|ARM64.Deploy.0 = Debug|ARM64
21
{049E595C-0B3F-4586-A897-F480C611A95E}.Debug|x64.ActiveCfg = Debug|x64
22
{049E595C-0B3F-4586-A897-F480C611A95E}.Debug|x64.Build.0 = Debug|x64
23
{049E595C-0B3F-4586-A897-F480C611A95E}.Debug|x64.Deploy.0 = Debug|x64
24
{049E595C-0B3F-4586-A897-F480C611A95E}.Debug|x86.ActiveCfg = Debug|x86
25
{049E595C-0B3F-4586-A897-F480C611A95E}.Debug|x86.Build.0 = Debug|x86
26
{049E595C-0B3F-4586-A897-F480C611A95E}.Debug|x86.Deploy.0 = Debug|x86
27
{049E595C-0B3F-4586-A897-F480C611A95E}.Release|ARM64.ActiveCfg = Release|ARM64
28
{049E595C-0B3F-4586-A897-F480C611A95E}.Release|ARM64.Build.0 = Release|ARM64
29
{049E595C-0B3F-4586-A897-F480C611A95E}.Release|ARM64.Deploy.0 = Release|ARM64
30
{049E595C-0B3F-4586-A897-F480C611A95E}.Release|x64.ActiveCfg = Release|x64
31
{049E595C-0B3F-4586-A897-F480C611A95E}.Release|x64.Build.0 = Release|x64
32
{049E595C-0B3F-4586-A897-F480C611A95E}.Release|x64.Deploy.0 = Release|x64
33
{049E595C-0B3F-4586-A897-F480C611A95E}.Release|x86.ActiveCfg = Release|x86
34
{049E595C-0B3F-4586-A897-F480C611A95E}.Release|x86.Build.0 = Release|x86
35
{049E595C-0B3F-4586-A897-F480C611A95E}.Release|x86.Deploy.0 = Release|x86
36
EndGlobalSection
37
GlobalSection(SolutionProperties) = preSolution
38
HideSolutionNode = FALSE
39
EndGlobalSection
40
GlobalSection(ExtensibilityGlobals) = postSolution
41
SolutionGuid = {C5645BA2-9B3F-4922-918A-A13A61B43E5E}
42
EndGlobalSection
43
EndGlobal
@@ -0,0 +1,16 @@
1
<?xml version="1.0" encoding="utf-8"?>
2
<Application
3
x:Class="SpaceEngineersBlueprintEditor.App"
4
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
5
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
6
xmlns:local="using:SpaceEngineersBlueprintEditor">
7
<Application.Resources>
8
<ResourceDictionary>
9
<ResourceDictionary.MergedDictionaries>
10
<XamlControlsResources xmlns="using:Microsoft.UI.Xaml.Controls" />
11
<!-- Other merged dictionaries here -->
12
</ResourceDictionary.MergedDictionaries>
13
<!-- Other app resources here -->
14
</ResourceDictionary>
15
</Application.Resources>
16
</Application>
@@ -0,0 +1,50 @@
1
using System;
2
using System.Collections.Generic;
3
using System.IO;
4
using System.Linq;
5
using System.Runtime.InteropServices.WindowsRuntime;
6
using Microsoft.UI.Xaml;
7
using Microsoft.UI.Xaml.Controls;
8
using Microsoft.UI.Xaml.Controls.Primitives;
9
using Microsoft.UI.Xaml.Data;
10
using Microsoft.UI.Xaml.Input;
11
using Microsoft.UI.Xaml.Media;
12
using Microsoft.UI.Xaml.Navigation;
13
using Microsoft.UI.Xaml.Shapes;
14
using Windows.ApplicationModel;
15
using Windows.ApplicationModel.Activation;
16
using Windows.Foundation;
17
using Windows.Foundation.Collections;
18
19
// To learn more about WinUI, the WinUI project structure,
20
// and more about our project templates, see: http://aka.ms/winui-project-info.
21
22
namespace SpaceEngineersBlueprintEditor
23
{
24
/// <summary>
25
/// Provides application-specific behavior to supplement the default Application class.
26
/// </summary>
27
public partial class App : Application
28
{
29
/// <summary>
30
/// Initializes the singleton application object. This is the first line of authored code
31
/// executed, and as such is the logical equivalent of main() or WinMain().
32
/// </summary>
33
public App()
34
{
35
this.InitializeComponent();
36
}
37
38
/// <summary>
39
/// Invoked when the application is launched.
40
/// </summary>
41
/// <param name="args">Details about the launch request and process.</param>
42
protected override void OnLaunched(Microsoft.UI.Xaml.LaunchActivatedEventArgs args)
43
{
44
m_window = new MainWindow();
45
m_window.Activate();
46
}
47
48
private Window? m_window;
49
}
50
}
二进制文件已变更,无法进行逐行预览。
二进制文件已变更,无法进行逐行预览。
二进制文件已变更,无法进行逐行预览。
二进制文件已变更,无法进行逐行预览。
二进制文件已变更,无法进行逐行预览。
二进制文件已变更,无法进行逐行预览。
二进制文件已变更,无法进行逐行预览。
@@ -0,0 +1,15 @@
1
<?xml version="1.0" encoding="utf-8"?>
2
<Window
3
x:Class="SpaceEngineersBlueprintEditor.MainWindow"
4
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
5
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
6
xmlns:local="using:SpaceEngineersBlueprintEditor"
7
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
8
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
9
mc:Ignorable="d"
10
Title="SpaceEngineersBlueprintEditor">
11
12
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
13
<Button x:Name="myButton" Click="myButton_Click">Click Me</Button>
14
</StackPanel>
15
</Window>
@@ -0,0 +1,36 @@
1
using System;
2
using System.Collections.Generic;
3
using System.IO;
4
using System.Linq;
5
using System.Runtime.InteropServices.WindowsRuntime;
6
using Microsoft.UI.Xaml;
7
using Microsoft.UI.Xaml.Controls;
8
using Microsoft.UI.Xaml.Controls.Primitives;
9
using Microsoft.UI.Xaml.Data;
10
using Microsoft.UI.Xaml.Input;
11
using Microsoft.UI.Xaml.Media;
12
using Microsoft.UI.Xaml.Navigation;
13
using Windows.Foundation;
14
using Windows.Foundation.Collections;
15
16
// To learn more about WinUI, the WinUI project structure,
17
// and more about our project templates, see: http://aka.ms/winui-project-info.
18
19
namespace SpaceEngineersBlueprintEditor
20
{
21
/// <summary>
22
/// An empty window that can be used on its own or navigated to within a Frame.
23
/// </summary>
24
public sealed partial class MainWindow : Window
25
{
26
public MainWindow()
27
{
28
this.InitializeComponent();
29
}
30
31
private void myButton_Click(object sender, RoutedEventArgs e)
32
{
33
myButton.Content = "Clicked";
34
}
35
}
36
}
@@ -0,0 +1,51 @@
1
<?xml version="1.0" encoding="utf-8"?>
2
3
<Package
4
xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
5
xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest"
6
xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"
7
xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
8
IgnorableNamespaces="uap rescap">
9
10
<Identity
11
Name="47857719-ac20-45ae-ae4e-6e6750e23e7e"
12
Publisher="CN=XFEstudio"
13
Version="1.0.0.0" />
14
15
<mp:PhoneIdentity PhoneProductId="47857719-ac20-45ae-ae4e-6e6750e23e7e" PhonePublisherId="00000000-0000-0000-0000-000000000000"/>
16
17
<Properties>
18
<DisplayName>SpaceEngineersBlueprintEditor</DisplayName>
19
<PublisherDisplayName>XFEstudio</PublisherDisplayName>
20
<Logo>Assets\StoreLogo.png</Logo>
21
</Properties>
22
23
<Dependencies>
24
<TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.17763.0" MaxVersionTested="10.0.19041.0" />
25
<TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.17763.0" MaxVersionTested="10.0.19041.0" />
26
</Dependencies>
27
28
<Resources>
29
<Resource Language="x-generate"/>
30
</Resources>
31
32
<Applications>
33
<Application Id="App"
34
Executable="$targetnametoken$.exe"
35
EntryPoint="$targetentrypoint$">
36
<uap:VisualElements
37
DisplayName="SpaceEngineersBlueprintEditor"
38
Description="SpaceEngineersBlueprintEditor"
39
BackgroundColor="transparent"
40
Square150x150Logo="Assets\Square150x150Logo.png"
41
Square44x44Logo="Assets\Square44x44Logo.png">
42
<uap:DefaultTile Wide310x150Logo="Assets\Wide310x150Logo.png" />
43
<uap:SplashScreen Image="Assets\SplashScreen.png" />
44
</uap:VisualElements>
45
</Application>
46
</Applications>
47
48
<Capabilities>
49
<rescap:Capability Name="runFullTrust" />
50
</Capabilities>
51
</Package>
@@ -0,0 +1,10 @@
1
{
2
"profiles": {
3
"SpaceEngineersBlueprintEditor (Package)": {
4
"commandName": "MsixPackage"
5
},
6
"SpaceEngineersBlueprintEditor (Unpackaged)": {
7
"commandName": "Project"
8
}
9
}
10
}
@@ -0,0 +1,60 @@
1
<Project Sdk="Microsoft.NET.Sdk">
2
<PropertyGroup>
3
<OutputType>WinExe</OutputType>
4
<TargetFramework>net8.0-windows10.0.19041.0</TargetFramework>
5
<TargetPlatformMinVersion>10.0.17763.0</TargetPlatformMinVersion>
6
<RootNamespace>SpaceEngineersBlueprintEditor</RootNamespace>
7
<ApplicationManifest>app.manifest</ApplicationManifest>
8
<Platforms>x86;x64;ARM64</Platforms>
9
<RuntimeIdentifiers Condition="$([MSBuild]::GetTargetFrameworkVersion('$(TargetFramework)')) >= 8">win-x86;win-x64;win-arm64</RuntimeIdentifiers>
10
<RuntimeIdentifiers Condition="$([MSBuild]::GetTargetFrameworkVersion('$(TargetFramework)')) < 8">win10-x86;win10-x64;win10-arm64</RuntimeIdentifiers>
11
<PublishProfile>win-$(Platform).pubxml</PublishProfile>
12
<UseWinUI>true</UseWinUI>
13
<EnableMsixTooling>true</EnableMsixTooling>
14
<Nullable>enable</Nullable>
15
</PropertyGroup>
16
17
<ItemGroup>
18
<Content Include="Assets\SplashScreen.scale-200.png" />
19
<Content Include="Assets\LockScreenLogo.scale-200.png" />
20
<Content Include="Assets\Square150x150Logo.scale-200.png" />
21
<Content Include="Assets\Square44x44Logo.scale-200.png" />
22
<Content Include="Assets\Square44x44Logo.targetsize-24_altform-unplated.png" />
23
<Content Include="Assets\StoreLogo.png" />
24
<Content Include="Assets\Wide310x150Logo.scale-200.png" />
25
</ItemGroup>
26
27
<ItemGroup>
28
<Manifest Include="$(ApplicationManifest)" />
29
</ItemGroup>
30
31
<!--
32
Defining the "Msix" ProjectCapability here allows the Single-project MSIX Packaging
33
Tools extension to be activated for this project even if the Windows App SDK Nuget
34
package has not yet been restored.
35
-->
36
<ItemGroup Condition="'$(DisableMsixProjectCapabilityAddedByProject)'!='true' and '$(EnableMsixTooling)'=='true'">
37
<ProjectCapability Include="Msix" />
38
</ItemGroup>
39
<ItemGroup>
40
<PackageReference Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.26100.1742" />
41
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.6.240923002" />
42
</ItemGroup>
43
44
<!--
45
Defining the "HasPackageAndPublishMenuAddedByProject" property here allows the Solution
46
Explorer "Package and Publish" context menu entry to be enabled for this project even if
47
the Windows App SDK Nuget package has not yet been restored.
48
-->
49
<PropertyGroup Condition="'$(DisableHasPackageAndPublishMenuAddedByProject)'!='true' and '$(EnableMsixTooling)'=='true'">
50
<HasPackageAndPublishMenu>true</HasPackageAndPublishMenu>
51
</PropertyGroup>
52
53
<!-- Publish Properties -->
54
<PropertyGroup>
55
<PublishReadyToRun Condition="'$(Configuration)' == 'Debug'">False</PublishReadyToRun>
56
<PublishReadyToRun Condition="'$(Configuration)' != 'Debug'">True</PublishReadyToRun>
57
<PublishTrimmed Condition="'$(Configuration)' == 'Debug'">False</PublishTrimmed>
58
<PublishTrimmed Condition="'$(Configuration)' != 'Debug'">True</PublishTrimmed>
59
</PropertyGroup>
60
</Project>
@@ -0,0 +1,19 @@
1
<?xml version="1.0" encoding="utf-8"?>
2
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
3
<assemblyIdentity version="1.0.0.0" name="SpaceEngineersBlueprintEditor.app"/>
4
5
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
6
<application>
7
<!-- The ID below informs the system that this application is compatible with OS features first introduced in Windows 10.
8
It is necessary to support features in unpackaged applications, for example the custom titlebar implementation.
9
For more info see https://docs.microsoft.com/windows/apps/windows-app-sdk/use-windows-app-sdk-run-time#declare-os-compatibility-in-your-application-manifest -->
10
<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}" />
11
</application>
12
</compatibility>
13
14
<application xmlns="urn:schemas-microsoft-com:asm.v3">
15
<windowsSettings>
16
<dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitorV2</dpiAwareness>
17
</windowsSettings>
18
</application>
19
</assembly>