修改计划
This commit is contained in:
parent
0c3fa3e424
commit
0ca31ea406
|
@ -141,9 +141,9 @@ public partial class App : Microsoft.UI.Xaml.Application
|
|||
}
|
||||
else
|
||||
{
|
||||
new Editor.EditorWin().Activate();
|
||||
//MainWindow = new MainWindow();
|
||||
//await App.GetService<IActivationService>().ActivateAsync(args);
|
||||
//new Editor.EditorWin().Activate();
|
||||
MainWindow = new MainWindow();
|
||||
await App.GetService<IActivationService>().ActivateAsync(args);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,14 +11,11 @@
|
|||
必须安装Net框架 https://dotnet.microsoft.com/zh-cn/download
|
||||
Net版本必须大于或者等于7
|
||||
|
||||
## 计划
|
||||
基本的社区界面
|
||||
代码表
|
||||
模组编辑器
|
||||
git(可能会废弃)
|
||||
AI辅助(可能会废弃)
|
||||
目前不考虑支持其他语言
|
||||
自动识别steam下铁锈的模组和地图的路径
|
||||
## 计划(1.0)
|
||||
我尝试自己写编译器组件,但科研了很多天没有一点点的思路,我想我的实力应该还是不够强(毕竟开发只有我一个人)所以
|
||||
咱们的软件先做好基础的社区功能代码表也尝试做出来,大家不着急呀</br>
|
||||
WinUI还是比较冷门的一个技术,代码和例子都不多 关于编译器的话现在是不准备写WinUI版本了
|
||||
和WinUI分开,找一种比较简单的语言框架来写,所以等吧各位,也希望有人能够和我一起做PC端上面的铁锈助手
|
||||
|
||||
## 开发者:Muqing
|
||||
对于进一步的技术交流、合作或项目贡献,您可以直接联系开发者 Muqing:
|
||||
|
|
|
@ -60,4 +60,14 @@
|
|||
<ItemGroup Condition="'$(DisableMsixProjectCapabilityAddedByProject)'!='true' and '$(EnableMsixTooling)'=='true'">
|
||||
<ProjectCapability Include="Msix" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Remove="Themes\NullPage.xaml" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Page Update="Themes\NullPage.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
</Page>
|
||||
</ItemGroup>
|
||||
</Project>
|
15
RustTools/Themes/NullPage.xaml
Normal file
15
RustTools/Themes/NullPage.xaml
Normal file
|
@ -0,0 +1,15 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<UserControl
|
||||
x:Class="RustTools.Themes.NullPage"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:local="using:RustTools.Themes"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
mc:Ignorable="d">
|
||||
|
||||
<Grid>
|
||||
<TextBlock FontSize="10000" Text="未登录" />
|
||||
|
||||
</Grid>
|
||||
</UserControl>
|
18
RustTools/Themes/NullPage.xaml.cs
Normal file
18
RustTools/Themes/NullPage.xaml.cs
Normal file
|
@ -0,0 +1,18 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Runtime.InteropServices.WindowsRuntime;
|
||||
using Microsoft.UI.Xaml;
|
||||
using Microsoft.UI.Xaml.Controls;
|
||||
using Microsoft.UI.Xaml.Controls.Primitives;
|
||||
using RustTools.Styles;
|
||||
|
||||
namespace RustTools.Themes;
|
||||
public sealed partial class NullPage : UserControl
|
||||
{
|
||||
public NullPage()
|
||||
{
|
||||
DefaultStyleKey = typeof(NullPage);
|
||||
}
|
||||
}
|
|
@ -6,10 +6,20 @@
|
|||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:local="using:RustTools.Views"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:themes="using:RustTools.Themes"
|
||||
SizeChanged="Page_SizeChanged"
|
||||
mc:Ignorable="d">
|
||||
<Grid>
|
||||
|
||||
<Grid>
|
||||
<TextBlock
|
||||
HorizontalAlignment="Center"
|
||||
Style="{StaticResource BodyStrongTextBlockStyle}"
|
||||
Text="请登陆后使用此功能" />
|
||||
</Grid>
|
||||
<!--<themes:NullPage x:Name="nullpage" Visibility="Visible" />-->
|
||||
<Grid x:Name="gridview" Visibility="Collapsed">
|
||||
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="*" />
|
||||
</Grid.RowDefinitions>
|
||||
|
@ -47,4 +57,5 @@
|
|||
SelectionMode="None" />
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</Grid>
|
||||
</Page>
|
||||
|
|
|
@ -10,6 +10,48 @@
|
|||
mc:Ignorable="d">
|
||||
|
||||
<Grid>
|
||||
<Grid
|
||||
MinWidth="350"
|
||||
Margin="16"
|
||||
HorizontalAlignment="Center">
|
||||
<StackPanel>
|
||||
|
||||
<TextBlock HorizontalAlignment="Center" Text="登陆" />
|
||||
<StackPanel>
|
||||
<TextBox
|
||||
Margin="0,16,0,16"
|
||||
InputScope="AlphanumericPin"
|
||||
PlaceholderText="账号" />
|
||||
<PasswordBox Margin="0,0,0,16" PlaceholderText="密码" />
|
||||
</StackPanel>
|
||||
<StackPanel HorizontalAlignment="Right" Orientation="Horizontal">
|
||||
<Button
|
||||
Width="100"
|
||||
Margin="16"
|
||||
Content="登陆"
|
||||
Style="{StaticResource AccentButtonStyle}" />
|
||||
<Button Margin="0,0,0,0" Content="注册" />
|
||||
</StackPanel>
|
||||
<CheckBox>
|
||||
<CheckBox.Content>
|
||||
<StackPanel Orientation="Horizontal" ToolTipService.ToolTip="虽然没什么用但是这是常规的">
|
||||
<TextBlock VerticalAlignment="Center" Text="我同意" />
|
||||
<HyperlinkButton
|
||||
x:Name="hlbTerms"
|
||||
Content="《服务协议》"
|
||||
NavigateUri="https://rust.coldmint.top/resources/agreement/service_agreement.html" />
|
||||
<TextBlock VerticalAlignment="Center" Text="与" />
|
||||
<HyperlinkButton
|
||||
x:Name="hlbPrivacy"
|
||||
Content="《隐私政策》"
|
||||
NavigateUri="https://rust.coldmint.top/resources/agreement/privacy_policy.html" />
|
||||
</StackPanel>
|
||||
</CheckBox.Content>
|
||||
</CheckBox>
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
<Grid Name="gridview" Visibility="Collapsed">
|
||||
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="110" />
|
||||
<RowDefinition Height="*" />
|
||||
|
@ -114,4 +156,5 @@
|
|||
</PivotItem>
|
||||
</Pivot>
|
||||
</Grid>
|
||||
</Grid>
|
||||
</Page>
|
||||
|
|
Loading…
Reference in New Issue
Block a user