Changed the project structure to reflect a shift from `Ghost.App` to `Ghost.Editor`, updating namespaces and class names throughout. Changed the application class in `App.xaml` and `App.xaml.cs` from `GhostApplication` to `EditorApplication`. Changed several service interfaces to reside under `Ghost.Editor.Services.Contracts`, including `IInspectorService`, `INotificationService`, and `IProgressService`. Added `InspectorView` and `InspectorViewModel` classes to manage inspector functionality. Added `NavigationTabView` and `NavigationTabPage` classes to facilitate navigation within the editor. Enhanced `WorldNode` and `EntityNode` classes to support scene graph functionality, including serialization and entity management. Updated the project file `Ghost.Editor.csproj` to reflect the new structure and removed old references. Modified the solution file `GhostEngine.sln` to remove references to `Ghost.App` and include `Ghost.Editor`. Updated unit tests to align with the new namespaces and project structure.
77 lines
2.6 KiB
XML
77 lines
2.6 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<winex:WindowEx
|
|
x:Class="Ghost.Editor.View.Windows.LandingWindow"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:behaviors="using:CommunityToolkit.WinUI.Behaviors"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:interactivity="using:Microsoft.Xaml.Interactivity"
|
|
xmlns:local="using:Ghost.Editor.View.Windows"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:winex="using:WinUIEx"
|
|
Activated="WindowEx_Activated"
|
|
Closed="WindowEx_Closed"
|
|
IsResizable="False"
|
|
mc:Ignorable="d">
|
|
|
|
<Window.SystemBackdrop>
|
|
<MicaBackdrop />
|
|
</Window.SystemBackdrop>
|
|
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="32" />
|
|
<RowDefinition Height="*" />
|
|
</Grid.RowDefinitions>
|
|
|
|
<Grid Grid.Row="0">
|
|
<TextBlock
|
|
Margin="24,0,0,0"
|
|
VerticalAlignment="Bottom"
|
|
Style="{StaticResource BodyTextBlockStyle}"
|
|
Text="Ghost Engine" />
|
|
</Grid>
|
|
|
|
<Grid Grid.Row="1" Padding="24,0,24,18">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="*" />
|
|
</Grid.RowDefinitions>
|
|
|
|
<SelectorBar
|
|
Grid.Row="0"
|
|
HorizontalAlignment="Right"
|
|
SelectionChanged="SelectorBar_SelectionChanged">
|
|
<SelectorBarItem IsSelected="True" Text="Open">
|
|
<SelectorBarItem.Icon>
|
|
<FontIcon Glyph="" />
|
|
</SelectorBarItem.Icon>
|
|
</SelectorBarItem>
|
|
<SelectorBarItem Text="Create">
|
|
<SelectorBarItem.Icon>
|
|
<FontIcon Glyph="" />
|
|
</SelectorBarItem.Icon>
|
|
</SelectorBarItem>
|
|
</SelectorBar>
|
|
|
|
<Frame
|
|
x:Name="ContentFrame"
|
|
Grid.Row="1"
|
|
Padding="8"
|
|
CacheMode="BitmapCache"
|
|
CacheSize="10" />
|
|
</Grid>
|
|
|
|
<Grid Grid.Row="1" Padding="16">
|
|
<InfoBar
|
|
x:Name="InfoBar"
|
|
HorizontalAlignment="Right"
|
|
VerticalAlignment="Bottom">
|
|
<interactivity:Interaction.Behaviors>
|
|
<behaviors:StackedNotificationsBehavior x:Name="NotificationQueue" />
|
|
</interactivity:Interaction.Behaviors>
|
|
</InfoBar>
|
|
</Grid>
|
|
</Grid>
|
|
</winex:WindowEx>
|