Prework for Encrypted TextEditor
This commit is contained in:
parent
7fc12b2c98
commit
218f9e1490
6 changed files with 45 additions and 2 deletions
|
@ -8,7 +8,7 @@ namespace WeeXnes.Core
|
||||||
{
|
{
|
||||||
public class Information
|
public class Information
|
||||||
{
|
{
|
||||||
public const string Version = "4.5.1.5";
|
public const string Version = "4.5.1.6";
|
||||||
public const string EncryptionHash = "8zf5#RdyQ]$4x4_";
|
public const string EncryptionHash = "8zf5#RdyQ]$4x4_";
|
||||||
public const string ApiUrl = "https://api.github.com/repos/weexnes/weexnessuite/releases/latest";
|
public const string ApiUrl = "https://api.github.com/repos/weexnes/weexnessuite/releases/latest";
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
xmlns:discordrpc="clr-namespace:WeeXnes.Views.DiscordRPC"
|
xmlns:discordrpc="clr-namespace:WeeXnes.Views.DiscordRPC"
|
||||||
xmlns:passwordGenerator="clr-namespace:WeeXnes.Views.PasswordGenerator"
|
xmlns:passwordGenerator="clr-namespace:WeeXnes.Views.PasswordGenerator"
|
||||||
xmlns:profile="clr-namespace:WeeXnes.Views.ProfileView"
|
xmlns:profile="clr-namespace:WeeXnes.Views.ProfileView"
|
||||||
|
xmlns:EncryptedTextEditor="clr-namespace:WeeXnes.Views.EncryptedTextEditor"
|
||||||
mc:Ignorable="d"
|
mc:Ignorable="d"
|
||||||
Height="400"
|
Height="400"
|
||||||
Width="500"
|
Width="500"
|
||||||
|
@ -91,6 +92,13 @@
|
||||||
Name="ButtonPwGen"
|
Name="ButtonPwGen"
|
||||||
PageTag="Gen"
|
PageTag="Gen"
|
||||||
PageType="{x:Type passwordGenerator:PasswordGenView}"/>
|
PageType="{x:Type passwordGenerator:PasswordGenView}"/>
|
||||||
|
<ui:NavigationItem
|
||||||
|
Visibility="Collapsed"
|
||||||
|
Content="Editor"
|
||||||
|
Icon="DocumentOnePage24"
|
||||||
|
Name="ButtonEncryptedFileEditor"
|
||||||
|
PageTag="Editor"
|
||||||
|
PageType="{x:Type EncryptedTextEditor:TextEditorView}"/>
|
||||||
<ui:NavigationItem
|
<ui:NavigationItem
|
||||||
Content="Profile"
|
Content="Profile"
|
||||||
Icon="InprivateAccount24"
|
Icon="InprivateAccount24"
|
||||||
|
|
|
@ -16,6 +16,14 @@ namespace WeeXnes
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
Wpf.Ui.Appearance.Accent.ApplySystemAccent();
|
Wpf.Ui.Appearance.Accent.ApplySystemAccent();
|
||||||
|
EnableDebugOptions();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void EnableDebugOptions()
|
||||||
|
{
|
||||||
|
if(!App.DebugMode)
|
||||||
|
return;
|
||||||
|
ButtonEncryptedFileEditor.Visibility = Visibility.Visible;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
12
WeeXnes/Views/EncryptedTextEditor/TextEditorView.xaml
Normal file
12
WeeXnes/Views/EncryptedTextEditor/TextEditorView.xaml
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
<Page x:Class="WeeXnes.Views.EncryptedTextEditor.TextEditorView"
|
||||||
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
|
xmlns:local="clr-namespace:WeeXnes.Views.EncryptedTextEditor"
|
||||||
|
mc:Ignorable="d"
|
||||||
|
Title="TextEditorView" Height="450" Width="800">
|
||||||
|
<Grid>
|
||||||
|
<TextBlock>Under construction</TextBlock>
|
||||||
|
</Grid>
|
||||||
|
</Page>
|
11
WeeXnes/Views/EncryptedTextEditor/TextEditorView.xaml.cs
Normal file
11
WeeXnes/Views/EncryptedTextEditor/TextEditorView.xaml.cs
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
using System.Windows.Controls;
|
||||||
|
|
||||||
|
namespace WeeXnes.Views.EncryptedTextEditor;
|
||||||
|
|
||||||
|
public partial class TextEditorView : Page
|
||||||
|
{
|
||||||
|
public TextEditorView()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
}
|
|
@ -4,7 +4,7 @@
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||||
<Version>4.5.1.5</Version>
|
<Version>4.5.1.6</Version>
|
||||||
<ProjectGuid>{4B33CEE7-C74D-43B9-B99A-8B273D5195BC}</ProjectGuid>
|
<ProjectGuid>{4B33CEE7-C74D-43B9-B99A-8B273D5195BC}</ProjectGuid>
|
||||||
<OutputType>WinExe</OutputType>
|
<OutputType>WinExe</OutputType>
|
||||||
<RootNamespace>WeeXnes</RootNamespace>
|
<RootNamespace>WeeXnes</RootNamespace>
|
||||||
|
@ -91,6 +91,9 @@
|
||||||
<Compile Include="Views\DiscordRPC\RunRPCView.xaml.cs">
|
<Compile Include="Views\DiscordRPC\RunRPCView.xaml.cs">
|
||||||
<DependentUpon>RunRPCView.xaml</DependentUpon>
|
<DependentUpon>RunRPCView.xaml</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
|
<Compile Include="Views\EncryptedTextEditor\TextEditorView.xaml.cs">
|
||||||
|
<DependentUpon>TextEditorView.xaml</DependentUpon>
|
||||||
|
</Compile>
|
||||||
<Compile Include="Views\Home\HomeView.xaml.cs">
|
<Compile Include="Views\Home\HomeView.xaml.cs">
|
||||||
<DependentUpon>HomeView.xaml</DependentUpon>
|
<DependentUpon>HomeView.xaml</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
|
@ -158,6 +161,7 @@
|
||||||
<Page Include="Views\DiscordRPC\DiscordRPCView.xaml" />
|
<Page Include="Views\DiscordRPC\DiscordRPCView.xaml" />
|
||||||
<Page Include="Views\DiscordRPC\EditRPCView.xaml" />
|
<Page Include="Views\DiscordRPC\EditRPCView.xaml" />
|
||||||
<Page Include="Views\DiscordRPC\RunRPCView.xaml" />
|
<Page Include="Views\DiscordRPC\RunRPCView.xaml" />
|
||||||
|
<Page Include="Views\EncryptedTextEditor\TextEditorView.xaml" />
|
||||||
<Page Include="Views\Home\HomeView.xaml" />
|
<Page Include="Views\Home\HomeView.xaml" />
|
||||||
<Page Include="Views\KeyManager\KeyManagerView.xaml" />
|
<Page Include="Views\KeyManager\KeyManagerView.xaml" />
|
||||||
<Page Include="Views\PasswordGenerator\PasswordGenView.xaml" />
|
<Page Include="Views\PasswordGenerator\PasswordGenView.xaml" />
|
||||||
|
|
Loading…
Add table
Reference in a new issue