Star favourite sceneries in the list

A right click stars or unstars the scenery under it; the starred ones are
gathered in a group on top and marked where they belong. They are kept in
favorites.txt beside the settings, not in eu07.ini.
This commit is contained in:
maj00r
2026-10-04 14:23:16 +02:00
parent be34d48033
commit e0901ae0ab
13 changed files with 223 additions and 6 deletions

View File

@@ -29,9 +29,12 @@
IsCheckedChanged="ArchivalSwitch_OnChanged"
Content="{Binding [HideArchivalSceneries], Source={x:Static starterNg:App.Loc}}" />
<TreeView Name="sceneryList" Classes="Compact"
SelectionChanged="SceneryList_OnSelectionChanged">
SelectionChanged="SceneryList_OnSelectionChanged"
ContextRequested="SceneryList_OnContextRequested">
<TreeView.ContextMenu>
<ContextMenu>
<ContextMenu Opening="SceneryMenu_OnOpening">
<MenuItem Name="favoriteMenuItem" Click="ToggleFavorite_OnClick" />
<Separator />
<MenuItem Click="ReloadSceneries_OnClick"
Header="{Binding [ReloadSceneries], Source={x:Static starterNg:App.Loc}}" />
<MenuItem Click="OpenSceneryDir_OnClick"