-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathAppShell.xaml
117 lines (107 loc) · 9.65 KB
/
AppShell.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
<?xml version="1.0" encoding="UTF-8" ?>
<Shell
x:Class="PKHeXMAUI.AppShell"
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:local="clr-namespace:PKHeXMAUI"
FlyoutBackgroundColor="Black"
x:Name="TheShell"
Navigated="checkbox">
<Shell.FlyoutHeaderTemplate>
<DataTemplate>
<Grid HeightRequest="100">
<Image HeightRequest="100" Source="iconp.png"></Image>
</Grid>
</DataTemplate>
</Shell.FlyoutHeaderTemplate>
<MenuItem Text="File"/>
<MenuItem Text=" - Open" x:Name="OpenFile" Shell.FlyoutItemIsVisible="False" Clicked="OpenPKMClicked"/>
<MenuItem Text=" - Save PKM" x:Name="SavePKM" Shell.FlyoutItemIsVisible="False" Clicked="SavePKMClicked"/>
<MenuItem Text=" - Export Save" x:Name="ExportSave" Shell.FlyoutItemIsVisible="False" Clicked="ExportSaveClicked"/>
<MenuItem Text="Data"/>
<MenuItem Text=" - Load Box" x:Name="LoadBoxes" Shell.FlyoutItemIsVisible="False" Clicked="LoadBoxesClicked"/>
<MenuItem Text=" - Dump Box" x:Name="DumpBox" Shell.FlyoutItemIsVisible="False" Clicked="DumpBoxClicked"/>
<MenuItem Text=" - Save Box Data++" x:Name="SaveBoxData" Shell.FlyoutItemIsVisible="False" Clicked="SaveBoxDataClicked"/>
<MenuItem Text=" - Batch Editor" x:Name="MenuBatchEditor" Shell.FlyoutItemIsVisible="False" Clicked="OpenBatchEditorClick"/>
<FlyoutItem FlyoutDisplayOptions="AsMultipleItems" Shell.TabBarIsVisible="False" x:Name="PKShell" Route="PKShell">
<Tab x:Name="pkeditortab" Title="pk editor" Icon="bag_pcitems.png" Route="pkeditortab">
<ShellContent Title="Main" ContentTemplate="{DataTemplate local:MainPage}" x:Name="PKPage" Route="PKPage"/>
<ShellContent Title="Met" ContentTemplate="{DataTemplate local:MetTab}" />
<ShellContent Title="Stats" ContentTemplate="{DataTemplate local:StatsTab}"></ShellContent>
<ShellContent Title="Moves" ContentTemplate="{DataTemplate local:AttacksTab}"></ShellContent>
<ShellContent Title="Cosmetic" ContentTemplate="{DataTemplate local:Cosmeticstab}"></ShellContent>
<ShellContent Title="OT/MISC" ContentTemplate="{DataTemplate local:OTTab}"></ShellContent>
</Tab>
</FlyoutItem>
<!--Hidden PK Editor Menus-->
<MenuItem Text=" - Legalize" x:Name="thelegalizer" Shell.FlyoutItemIsVisible="False" Clicked="LegalizePKM"/>
<MenuItem Text=" - Import Showdown" x:Name="impshow" Shell.FlyoutItemIsVisible="False" Clicked="ImpShowClicked"/>
<MenuItem Text=" - Export Showdown" x:Name="expshow" Shell.FlyoutItemIsVisible="False" Clicked="ExpShowClicked"/>
<FlyoutItem FlyoutDisplayOptions="AsMultipleItems" Shell.TabBarIsVisible="False" x:Name="BoxShell" Route="BoxShell" Title="Box/Party">
<Tab Icon="ball4.png" Title="Box/Party" x:Name="boxtab" Route="boxtab">
<ShellContent Title="Box" ContentTemplate="{DataTemplate local:BoxTab}" x:Name="BoxPage" Route="BoxPage"/>
<ShellContent Title="Party" ContentTemplate="{DataTemplate local:PartyTab}"/>
</Tab>
</FlyoutItem>
<!--Hidden Box Menus-->
<MenuItem Text=" - Delete" x:Name="DeleteBoxes" Shell.FlyoutItemIsVisible="False" Clicked="DeleteClicked"/>
<MenuItem Text=" - Clear" x:Name="ClearBox" Shell.FlyoutItemIsVisible="False" Clicked="ClearBoxClicked"/>
<MenuItem Text=" - Eggs" x:Name="ClearEggs" Shell.FlyoutItemIsVisible="False" Clicked="ClearEggsClicked"/>
<MenuItem Text=" - Past Generation" x:Name="ClearPast" Shell.FlyoutItemIsVisible="False" Clicked="ClearPastClicked"/>
<MenuItem Text=" - Foreign" x:Name="ClearForeign" Shell.FlyoutItemIsVisible="False" Clicked="ClearForeignClicked"/>
<MenuItem Text=" - Untrained" x:Name="ClearUntrained" Shell.FlyoutItemIsVisible="False" Clicked="ClearUntrainedClicked"/>
<MenuItem Text=" - No Held Item" x:Name="ClearNoHeldItem" Shell.FlyoutItemIsVisible="False" Clicked="ClearNoHeldItemClicked"/>
<MenuItem Text=" - Illegal" x:Name="ClearIllegal" Shell.FlyoutItemIsVisible="False" Clicked="ClearIllegalClicked"/>
<MenuItem Text=" - Clones" x:Name="ClearClones" Shell.FlyoutItemIsVisible="False" Clicked="ClearClonesClicked"/>
<MenuItem Text=" - Sort Boxes" x:Name="SortBoxes" Shell.FlyoutItemIsVisible="false" Clicked="SortClick" ></MenuItem>
<MenuItem Text=" - Pokedex No" x:Name="SortSpecies" Shell.FlyoutItemIsVisible="false" Clicked="SortBySpecies"/>
<MenuItem Text=" - Pokedex No (Reverse)" x:Name="SortSpeciesReverse" Shell.FlyoutItemIsVisible="False" Clicked="SortSpeciesReverseClicked"/>
<MenuItem Text=" - Level (low to high)" x:Name="SortLevellohi" Shell.FlyoutItemIsVisible="False" Clicked="SortLevellohiClicked"/>
<MenuItem Text=" - Level (high to low)" x:Name="SortLevelhilo" Shell.FlyoutItemIsVisible="False" Clicked="SortLevelhiloClicked"/>
<MenuItem Text=" - Met Date" x:Name="SortMetDate" Shell.FlyoutItemIsVisible="False" Clicked="SortMetDateClicked"/>
<MenuItem Text=" - Species Name" x:Name="SortSpeciesName" Shell.FlyoutItemIsVisible="False" Clicked="SortSpeciesNameClicked"/>
<MenuItem Text=" - Shiny" x:Name="SortShiny" Shell.FlyoutItemIsVisible="False" Clicked="SortShinyClicked"/>
<MenuItem Text=" - Random" x:Name="SortRandom" Shell.FlyoutItemIsVisible="False" Clicked="SortRandomClicked"/>
<MenuItem Text=" - Sort Boxes (Advanced)" x:Name="SortBoxesAdvanced" Shell.FlyoutItemIsVisible="False" Clicked="SortBoxesAdvancedClicked"/>
<MenuItem Text=" - Usage" x:Name="SortUsage" Shell.FlyoutItemIsVisible="False" Clicked="SortUsageClicked"/>
<MenuItem Text=" - IV Potential" x:Name="SortIV" Shell.FlyoutItemIsVisible="False" Clicked="SortIVClicked"/>
<MenuItem Text=" - EV Training" x:Name="SortEV" Shell.FlyoutItemIsVisible="False" Clicked="SortEVClicked"/>
<MenuItem Text=" - Ownership" x:Name="SortOwnership" Shell.FlyoutItemIsVisible="False" Clicked="SortOwnershipClicked"/>
<MenuItem Text=" - Type" x:Name="SortType" Shell.FlyoutItemIsVisible="False" Clicked="SortTypeClicked"/>
<MenuItem Text=" - Tera Type" x:Name="SortTera" Shell.FlyoutItemIsVisible="False" Clicked="SortTeraClicked"/>
<MenuItem Text=" - Version" x:Name="SortVersion" Shell.FlyoutItemIsVisible="False" Clicked="SortVersionClicked"/>
<MenuItem Text=" - Base Stat Total" x:Name="SortBaseStat" Shell.FlyoutItemIsVisible="False" Clicked="SortBaseStatClicked"/>
<MenuItem Text=" - Scale" x:Name="SortScale" Shell.FlyoutItemIsVisible="False" Clicked="SortScaleClicked"/>
<MenuItem Text=" - Ribbon Count" x:Name="SortRibbonCount" Shell.FlyoutItemIsVisible="False" Clicked="SortRibbonClicked"/>
<MenuItem Text=" - Mark Count" x:Name="SortMarkCount" Shell.FlyoutItemIsVisible="False" Clicked="SortMarkClicked"/>
<MenuItem Text=" - Legal" x:Name="SortLegal" Shell.FlyoutItemIsVisible="False" Clicked="SortLegalClicked"/>
<MenuItem Text=" - Encounter Type" x:Name="SortEncounter" Shell.FlyoutItemIsVisible="False" Clicked="SortEncounterClicked"/>
<MenuItem Text=" - Modify" x:Name="ModifyBoxes" Shell.FlyoutItemIsVisible="False" Clicked="ModifyBoxesClicked"/>
<MenuItem Text=" - Hatch Eggs" x:Name="HatchEggs" Shell.FlyoutItemIsVisible="False" Clicked="HatchEggsClicked"/>
<MenuItem Text=" - Max Friendship" x:Name="MaxFriendship" Shell.FlyoutItemIsVisible="False" Clicked="MaxFriendshipClicked"/>
<MenuItem Text=" - Max Level" x:Name="MaxLevel" Shell.FlyoutItemIsVisible="False" Clicked="MaxLevelClicked"/>
<MenuItem Text=" - Reset Moves" x:Name="ResetMoves" Shell.FlyoutItemIsVisible="False" Clicked="ResetMovesClicked"/>
<MenuItem Text=" - Randomize Moves" x:Name="RandomizeMoves" Shell.FlyoutItemIsVisible="False" Clicked="RandomizeMovesClicked"/>
<MenuItem Text=" - Hyper Train" x:Name="HyperTrain" Shell.FlyoutItemIsVisible="False" Clicked="HyperTrainClicked"/>
<MenuItem Text=" - Remove Nicknames" x:Name="RemoveNicknames" Shell.FlyoutItemIsVisible="False" Clicked="RemoveNicknamesClicked"/>
<MenuItem Text=" - Delete Held Item" x:Name="DeleteHeldItem" Shell.FlyoutItemIsVisible="False" Clicked="DeleteHeldItemClicked"/>
<MenuItem Text=" - Heal (Stats/PP)" x:Name="Heal" Shell.FlyoutItemIsVisible="False" Clicked="HealClicked"/>
<FlyoutItem FlyoutDisplayOptions="AsMultipleItems" Shell.TabBarIsVisible="False" Title="Settings">
<Tab Icon="main.png" Title="Settings">
<ShellContent Title="PKHeX Settings" ContentTemplate="{DataTemplate local:PKHeXSettings}"/>
<ShellContent Title="ALM Settings" ContentTemplate="{DataTemplate local:ALMSettings}"/>
<ShellContent Title="Legality Settings" ContentTemplate="{DataTemplate local:LegalitySettings}"/>
</Tab>
</FlyoutItem>
<FlyoutItem Icon="users.png" Title="Encounter Database">
<ShellContent Title="Encounter Database" ContentTemplate="{DataTemplate local:EncounterDB}" Route="EncounterPage"/>
</FlyoutItem>
<FlyoutItem FlyoutDisplayOptions="AsMultipleItems" Shell.TabBarIsVisible="False" x:Name="LiveHexFlyout" Route="LiveHexFlyout" Title="LiveHex">
<Tab Icon="language.png" Title="LiveHex" x:Name="livehextab" Route="livehextab">
<ShellContent Title="LiveHex" ContentTemplate="{DataTemplate local:LiveHex}"/>
</Tab>
<Tab Title="Save Editors" Route="SaveEditorsPage">
<ShellContent Title="Save Editors" ContentTemplate="{DataTemplate local:SaveEditors}"/>
</Tab>
</FlyoutItem>
</Shell>