#71 implement new icon set and allow configuration via IconName in configuration json.

This commit is contained in:
Izakbar
2025-04-04 10:52:23 +01:00
parent 3177c80c66
commit bfcb7916e3
19 changed files with 967 additions and 885 deletions

View File

@@ -45,6 +45,8 @@ namespace EveOPreview.Presenters
this.View.ThumbnailStateChanged = this.UpdateThumbnailState;
this.View.DocumentationLinkActivated = this.OpenDocumentationLink;
this.View.ApplicationExitRequested = this.ExitApplication;
this.View.IconName = this._configuration.IconName;
}
private void Activate()
@@ -131,6 +133,8 @@ namespace EveOPreview.Presenters
this.View.OverlayLabelColor = this._configuration.OverlayLabelColor;
this.View.OverlayLabelSize = this._configuration.OverlayLabelSize;
this.View.IconName = this._configuration.IconName;
}
private async void SaveApplicationSettings()
@@ -172,6 +176,8 @@ namespace EveOPreview.Presenters
this._configuration.OverlayLabelColor = this.View.OverlayLabelColor;
this._configuration.OverlayLabelSize = this.View.OverlayLabelSize;
this._configuration.IconName = this.View.IconName;
this._configurationStorage.Save();
this.View.RefreshZoomSettings();