|
2 | 2 | xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
3 | 3 | xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
4 | 4 | xmlns:local="clr-namespace:Elva" |
5 | | - xmlns:conv="clr-namespace:Elva.Core.Converter" |
6 | | - xmlns:view="clr-namespace:Elva.MVVM.View.CControl" |
7 | | - xmlns:vm="clr-namespace:Elva.MVVM.ViewModel.CControl" |
8 | | - xmlns:vm1="clr-namespace:Elva.MVVM.ViewModel.CControl.Home" |
9 | | - xmlns:view1="clr-namespace:Elva.MVVM.View.CControl.Home" |
10 | | - xmlns:vm2="clr-namespace:Elva.MVVM.ViewModel.CControl.Search" |
11 | | - xmlns:view2="clr-namespace:Elva.MVVM.View.CControl.Search" |
12 | | - xmlns:vm3="clr-namespace:Elva.MVVM.ViewModel.CControl.Info" |
13 | | - xmlns:view3="clr-namespace:Elva.MVVM.View.CControl.Info" |
14 | | - xmlns:vm4="clr-namespace:Elva.MVVM.ViewModel.CControl.WebsiteMenu" |
15 | | - xmlns:view4="clr-namespace:Elva.MVVM.View.CControl.WebsiteMenu" |
16 | | - xmlns:vm5="clr-namespace:Elva.MVVM.ViewModel.CControl.Settings" |
17 | | - xmlns:view5="clr-namespace:Elva.MVVM.View.CControl.Settings" |
| 5 | + xmlns:conv="clr-namespace:Elva.Common.Converters" |
| 6 | + xmlns:homeView="clr-namespace:Elva.Pages.Home.Views" |
| 7 | + xmlns:homeVm="clr-namespace:Elva.Pages.Home.ViewModels" |
| 8 | + xmlns:searchView="clr-namespace:Elva.Pages.Search.Views" |
| 9 | + xmlns:searchVm="clr-namespace:Elva.Pages.Search.ViewModels" |
| 10 | + xmlns:infoView="clr-namespace:Elva.Pages.Info.Views" |
| 11 | + xmlns:infoVm="clr-namespace:Elva.Pages.Info.ViewModels" |
| 12 | + xmlns:websiteView="clr-namespace:Elva.Pages.WebsiteMenu.Views" |
| 13 | + xmlns:websiteVm="clr-namespace:Elva.Pages.WebsiteMenu.ViewModels" |
| 14 | + xmlns:settingsView="clr-namespace:Elva.Pages.Settings.Views" |
| 15 | + xmlns:settingsVm="clr-namespace:Elva.Pages.Settings.ViewModels" |
18 | 16 | xmlns:sys="clr-namespace:System;assembly=netstandard"> |
19 | 17 | <Application.Resources> |
20 | 18 | <ResourceDictionary> |
21 | 19 | <ResourceDictionary.MergedDictionaries> |
22 | 20 | <!-- Theme dictionaries --> |
23 | | - <ResourceDictionary Source="/Style/ThemeDark.xaml" |
| 21 | + <ResourceDictionary Source="/Resources/Styles/ThemeDark.xaml" |
24 | 22 | x:Name="ThemeDictionary" /> |
25 | 23 |
|
26 | 24 | <!-- Animation dictionary --> |
27 | | - <ResourceDictionary Source="/Style/Animations.xaml" /> |
28 | | - |
29 | | - <!-- Animated Cards --> |
30 | | - <ResourceDictionary Source="/Style/AnimatedCard.xaml" /> |
| 25 | + <ResourceDictionary Source="/Resources/Styles/Animations.xaml" /> |
| 26 | + <ResourceDictionary Source="/Resources/Styles/AnimatedCard.xaml" /> |
31 | 27 |
|
32 | 28 | <!-- Existing style dictionaries --> |
33 | | - <ResourceDictionary Source="/Style/ModernWindow.xaml" /> |
34 | | - <ResourceDictionary Source="/Style/WindowMenuButton.xaml" /> |
35 | | - <ResourceDictionary Source="/Style/ModernScrollBar.xaml" /> |
36 | | - <ResourceDictionary Source="/Style/ModernButton.xaml" /> |
37 | | - <ResourceDictionary Source="/Style/ModernSearchBar.xaml" /> |
38 | | - <ResourceDictionary Source="/Style/ModernTextBox.xaml" /> |
39 | | - <ResourceDictionary Source="/Style/ModernComboBox.xaml" /> |
40 | | - <ResourceDictionary Source="/Style/FilterButton.xaml" /> |
41 | | - <ResourceDictionary Source="/Style/TextBlockTextBox.xaml" /> |
42 | | - <ResourceDictionary Source="/Style/ModernRadioButton.xaml" /> |
| 29 | + <ResourceDictionary Source="/Resources/Styles/ModernWindow.xaml" /> |
| 30 | + <ResourceDictionary Source="/Resources/Styles/WindowMenuButton.xaml" /> |
| 31 | + <ResourceDictionary Source="/Resources/Styles/ModernScrollBar.xaml" /> |
| 32 | + <ResourceDictionary Source="/Resources/Styles/ModernButton.xaml" /> |
| 33 | + <ResourceDictionary Source="/Resources/Styles/ModernSearchBar.xaml" /> |
| 34 | + <ResourceDictionary Source="/Resources/Styles/ModernTextBox.xaml" /> |
| 35 | + <ResourceDictionary Source="/Resources/Styles/ModernComboBox.xaml" /> |
| 36 | + <ResourceDictionary Source="/Resources/Styles/FilterButton.xaml" /> |
| 37 | + <ResourceDictionary Source="/Resources/Styles/TextBlockTextBox.xaml" /> |
| 38 | + <ResourceDictionary Source="/Resources/Styles/ModernRadioButton.xaml" /> |
43 | 39 | </ResourceDictionary.MergedDictionaries> |
44 | 40 |
|
45 | | - <sys:String x:Key="NullImagePath">pack://application:,,,/Recource/Image/Comic/no_image.jpg</sys:String> |
| 41 | + <sys:String x:Key="NullImagePath">pack://application:,,,/Resources/Images/Comic/no_image.jpg</sys:String> |
46 | 42 | <conv:DictionaryBoolConverter x:Key="DictionaryConverter" /> |
47 | 43 | <conv:MultiValueEqualityConverter x:Key="MultiEqualtityConverter" /> |
48 | 44 | <conv:ProgressRangeConverter x:Key="ProgressRangeConverter" /> |
49 | 45 | <conv:MultiBindingConverter x:Key="MultiBindingConverter" /> |
50 | 46 | <conv:BooleanToColorBrushConverter x:Key="BooleanToColorBrushConverter" /> |
51 | 47 | <conv:ImageConverter x:Key="ImageConverter" /> |
52 | 48 |
|
53 | | - <DataTemplate DataType="{x:Type vm1:HomeVM}"> |
54 | | - <view1:HomeView /> |
| 49 | + <DataTemplate DataType="{x:Type homeVm:HomeVM}"> |
| 50 | + <homeView:HomeView /> |
55 | 51 | </DataTemplate> |
56 | | - <DataTemplate DataType="{x:Type vm2:SearchVM}"> |
57 | | - <view2:SearchView /> |
| 52 | + <DataTemplate DataType="{x:Type homeVm:HomeWebsiteVM}"> |
| 53 | + <homeView:HomeWebsiteView /> |
58 | 54 | </DataTemplate> |
59 | | - <DataTemplate DataType="{x:Type vm3:InfoVM}"> |
60 | | - <view3:InfoView /> |
| 55 | + <DataTemplate DataType="{x:Type searchVm:SearchVM}"> |
| 56 | + <searchView:SearchView /> |
61 | 57 | </DataTemplate> |
62 | | - <DataTemplate DataType="{x:Type vm4:WebsiteMenuVM}"> |
63 | | - <view4:WebsiteMenuView /> |
| 58 | + <DataTemplate DataType="{x:Type searchVm:SourceVM}"> |
| 59 | + <searchView:SourceView /> |
64 | 60 | </DataTemplate> |
65 | | - <DataTemplate DataType="{x:Type vm5:SettingsVM}"> |
66 | | - <view5:SettingsView /> |
| 61 | + <DataTemplate DataType="{x:Type searchVm:GenreVM}"> |
| 62 | + <searchView:GenreView /> |
67 | 63 | </DataTemplate> |
68 | | - <DataTemplate DataType="{x:Type vm5:LicenseInfoVM}"> |
69 | | - <view5:LicenseInfoView /> |
| 64 | + <DataTemplate DataType="{x:Type searchVm:InputVM}"> |
| 65 | + <searchView:InputView /> |
70 | 66 | </DataTemplate> |
71 | | - |
72 | | - <DataTemplate DataType="{x:Type vm2:SourceVM}"> |
73 | | - <view2:SourceView /> |
| 67 | + <DataTemplate DataType="{x:Type searchVm:OtherVM}"> |
| 68 | + <searchView:OtherView /> |
| 69 | + </DataTemplate> |
| 70 | + <DataTemplate DataType="{x:Type infoVm:InfoVM}"> |
| 71 | + <infoView:InfoView /> |
74 | 72 | </DataTemplate> |
75 | | - <DataTemplate DataType="{x:Type vm2:GenreVM}"> |
76 | | - <view2:GenreView /> |
| 73 | + <DataTemplate DataType="{x:Type infoVm:ChapterInfoVM}"> |
| 74 | + <infoView:ChapterInfoView /> |
77 | 75 | </DataTemplate> |
78 | | - <DataTemplate DataType="{x:Type vm2:InputVM}"> |
79 | | - <view2:InputView /> |
| 76 | + <DataTemplate DataType="{x:Type websiteVm:WebsiteMenuVM}"> |
| 77 | + <websiteView:WebsiteMenuView /> |
80 | 78 | </DataTemplate> |
81 | | - <DataTemplate DataType="{x:Type vm2:OtherVM}"> |
82 | | - <view2:OtherView /> |
| 79 | + <DataTemplate DataType="{x:Type settingsVm:SettingsVM}"> |
| 80 | + <settingsView:SettingsView /> |
83 | 81 | </DataTemplate> |
| 82 | + <DataTemplate DataType="{x:Type settingsVm:LicenseInfoVM}"> |
| 83 | + <settingsView:LicenseInfoView /> |
| 84 | + </DataTemplate> |
| 85 | + |
84 | 86 | <BooleanToVisibilityConverter x:Key="BoolToVis" /> |
85 | 87 | </ResourceDictionary> |
86 | 88 | </Application.Resources> |
|
0 commit comments