Skip to content

Commit

Permalink
Fix UI namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
pizzaboxer committed Jul 22, 2023
1 parent 6125592 commit 049b340
Show file tree
Hide file tree
Showing 25 changed files with 29 additions and 29 deletions.
4 changes: 2 additions & 2 deletions Bloxstrap/UI/Controls.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using System.Windows;

using Bloxstrap.UI.Elements.Bootstrapper;
using Bloxstrap.UI.Menu;
using Bloxstrap.UI.MessageBox;
using Bloxstrap.UI.Elements.Dialogs;
using Bloxstrap.UI.Elements.Menu;

namespace Bloxstrap.UI
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<ui:UiWindow x:Class="Bloxstrap.UI.ExceptionDialog"
<ui:UiWindow x:Class="Bloxstrap.UI.Elements.Dialogs.ExceptionDialog"
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:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml"
xmlns:local="clr-namespace:Bloxstrap.UI.MessageBox"
xmlns:local="clr-namespace:Bloxstrap.UI.Elements.Dialogs"
mc:Ignorable="d"
Width="480"
MinHeight="0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using System.Windows;
using System.Windows.Interop;

namespace Bloxstrap.UI
namespace Bloxstrap.UI.Elements.Dialogs
{
// hmm... do i use MVVM for this?
// this is entirely static, so i think im fine without it, and this way is just so much more efficient
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<ui:UiWindow x:Class="Bloxstrap.UI.MessageBox.FluentMessageBox"
<ui:UiWindow x:Class="Bloxstrap.UI.Elements.Dialogs.FluentMessageBox"
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:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml"
xmlns:local="clr-namespace:Bloxstrap.UI.MessageBox"
xmlns:local="clr-namespace:Bloxstrap.UI.Elements.Dialogs"
mc:Ignorable="d"
Title="Bloxstrap"
d:DesignWidth="480"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

using Bloxstrap.UI.Utility;

namespace Bloxstrap.UI.MessageBox
namespace Bloxstrap.UI.Elements.Dialogs
{
// wpfui does have its own messagebox control but it SUCKS so heres this instead

Expand Down
4 changes: 2 additions & 2 deletions Bloxstrap/UI/Elements/Menu/MainWindow.xaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<ui:UiWindow x:Class="Bloxstrap.UI.Menu.MainWindow"
<ui:UiWindow x:Class="Bloxstrap.UI.Elements.Menu.MainWindow"
x:Name="ConfigurationWindow"
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:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:pages="clr-namespace:Bloxstrap.UI.Menu.Pages"
xmlns:pages="clr-namespace:Bloxstrap.UI.Elements.Menu.Pages"
xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml"
mc:Ignorable="d"
Title="Bloxstrap Menu"
Expand Down
2 changes: 1 addition & 1 deletion Bloxstrap/UI/Elements/Menu/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

using Bloxstrap.UI.ViewModels.Menu;

namespace Bloxstrap.UI.Menu
namespace Bloxstrap.UI.Elements.Menu
{
/// <summary>
/// Interaction logic for MainWindow.xaml
Expand Down
2 changes: 1 addition & 1 deletion Bloxstrap/UI/Elements/Menu/Pages/AboutPage.xaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<ui:UiPage x:Class="Bloxstrap.UI.Menu.Pages.AboutPage"
<ui:UiPage x:Class="Bloxstrap.UI.Elements.Menu.Pages.AboutPage"
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"
Expand Down
2 changes: 1 addition & 1 deletion Bloxstrap/UI/Elements/Menu/Pages/AboutPage.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Bloxstrap.UI.ViewModels.Menu;

namespace Bloxstrap.UI.Menu.Pages
namespace Bloxstrap.UI.Elements.Menu.Pages
{
/// <summary>
/// Interaction logic for AboutPage.xaml
Expand Down
2 changes: 1 addition & 1 deletion Bloxstrap/UI/Elements/Menu/Pages/AppearancePage.xaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<ui:UiPage x:Class="Bloxstrap.UI.Menu.Pages.AppearancePage"
<ui:UiPage x:Class="Bloxstrap.UI.Elements.Menu.Pages.AppearancePage"
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"
Expand Down
2 changes: 1 addition & 1 deletion Bloxstrap/UI/Elements/Menu/Pages/AppearancePage.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Bloxstrap.UI.ViewModels.Menu;

namespace Bloxstrap.UI.Menu.Pages
namespace Bloxstrap.UI.Elements.Menu.Pages
{
/// <summary>
/// Interaction logic for AppearancePage.xaml
Expand Down
2 changes: 1 addition & 1 deletion Bloxstrap/UI/Elements/Menu/Pages/BehaviourPage.xaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<ui:UiPage x:Class="Bloxstrap.UI.Menu.Pages.BehaviourPage"
<ui:UiPage x:Class="Bloxstrap.UI.Elements.Menu.Pages.BehaviourPage"
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"
Expand Down
2 changes: 1 addition & 1 deletion Bloxstrap/UI/Elements/Menu/Pages/BehaviourPage.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Bloxstrap.UI.ViewModels.Menu;

namespace Bloxstrap.UI.Menu.Pages
namespace Bloxstrap.UI.Elements.Menu.Pages
{
/// <summary>
/// Interaction logic for BehaviourPage.xaml
Expand Down
2 changes: 1 addition & 1 deletion Bloxstrap/UI/Elements/Menu/Pages/FastFlagsPage.xaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<ui:UiPage x:Class="Bloxstrap.UI.Menu.Pages.FastFlagsPage"
<ui:UiPage x:Class="Bloxstrap.UI.Elements.Menu.Pages.FastFlagsPage"
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"
Expand Down
2 changes: 1 addition & 1 deletion Bloxstrap/UI/Elements/Menu/Pages/FastFlagsPage.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

using Bloxstrap.UI.ViewModels.Menu;

namespace Bloxstrap.UI.Menu.Pages
namespace Bloxstrap.UI.Elements.Menu.Pages
{
/// <summary>
/// Interaction logic for FastFlagsPage.xaml
Expand Down
2 changes: 1 addition & 1 deletion Bloxstrap/UI/Elements/Menu/Pages/InstallationPage.xaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<ui:UiPage x:Class="Bloxstrap.UI.Menu.Pages.InstallationPage"
<ui:UiPage x:Class="Bloxstrap.UI.Elements.Menu.Pages.InstallationPage"
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"
Expand Down
2 changes: 1 addition & 1 deletion Bloxstrap/UI/Elements/Menu/Pages/InstallationPage.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Bloxstrap.UI.ViewModels.Menu;

namespace Bloxstrap.UI.Menu.Pages
namespace Bloxstrap.UI.Elements.Menu.Pages
{
/// <summary>
/// Interaction logic for InstallationPage.xaml
Expand Down
2 changes: 1 addition & 1 deletion Bloxstrap/UI/Elements/Menu/Pages/IntegrationsPage.xaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<ui:UiPage x:Class="Bloxstrap.UI.Menu.Pages.IntegrationsPage"
<ui:UiPage x:Class="Bloxstrap.UI.Elements.Menu.Pages.IntegrationsPage"
x:Name="IntegrationsPageView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Expand Down
2 changes: 1 addition & 1 deletion Bloxstrap/UI/Elements/Menu/Pages/IntegrationsPage.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

using Bloxstrap.UI.ViewModels.Menu;

namespace Bloxstrap.UI.Menu.Pages
namespace Bloxstrap.UI.Elements.Menu.Pages
{
/// <summary>
/// Interaction logic for IntegrationsPage.xaml
Expand Down
2 changes: 1 addition & 1 deletion Bloxstrap/UI/Elements/Menu/Pages/ModsPage.xaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<ui:UiPage x:Class="Bloxstrap.UI.Menu.Pages.ModsPage"
<ui:UiPage x:Class="Bloxstrap.UI.Elements.Menu.Pages.ModsPage"
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"
Expand Down
2 changes: 1 addition & 1 deletion Bloxstrap/UI/Elements/Menu/Pages/ModsPage.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

using Bloxstrap.UI.ViewModels.Menu;

namespace Bloxstrap.UI.Menu.Pages
namespace Bloxstrap.UI.Elements.Menu.Pages
{
/// <summary>
/// Interaction logic for ModsPage.xaml
Expand Down
2 changes: 1 addition & 1 deletion Bloxstrap/UI/Elements/Menu/Pages/PreInstallPage.xaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<ui:UiPage x:Class="Bloxstrap.UI.Menu.Pages.PreInstallPage"
<ui:UiPage x:Class="Bloxstrap.UI.Elements.Menu.Pages.PreInstallPage"
x:Name="PreInstallPageView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Expand Down
2 changes: 1 addition & 1 deletion Bloxstrap/UI/Elements/Menu/Pages/PreInstallPage.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Bloxstrap.UI.Menu.Pages
namespace Bloxstrap.UI.Elements.Menu.Pages
{
/// <summary>
/// Interaction logic for PreInstallPage.xaml
Expand Down
2 changes: 1 addition & 1 deletion Bloxstrap/UI/ViewModels/Menu/AppearanceViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

using Microsoft.Win32;

using Bloxstrap.UI.Menu;
using Bloxstrap.UI.Elements.Menu;

namespace Bloxstrap.UI.ViewModels.Menu
{
Expand Down
2 changes: 1 addition & 1 deletion Bloxstrap/UI/ViewModels/Menu/MainWindowViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

using Wpf.Ui.Mvvm.Contracts;

using Bloxstrap.UI.Menu.Pages;
using Bloxstrap.UI.Elements.Menu.Pages;

namespace Bloxstrap.UI.ViewModels.Menu
{
Expand Down

0 comments on commit 049b340

Please sign in to comment.