diff --git a/Knossos.NET/Models/CustomLauncher.cs b/Knossos.NET/Models/CustomLauncher.cs index e0f7ad9e..24370ab2 100644 --- a/Knossos.NET/Models/CustomLauncher.cs +++ b/Knossos.NET/Models/CustomLauncher.cs @@ -20,13 +20,20 @@ public HomeCustomButtonConfig() { } - public string? ButtonID { get; set; } = null; //ButtonLaunch, ButtonModify, ButtonUpdate, ButtonInstall, ButtonInfo, ButtonDetails, ButtonSettings + /// + /// ButtonLaunch, ButtonModify, ButtonUpdate, ButtonInstall, ButtonInfo, ButtonDetails, ButtonSettings, ButtonLaunchAdvanced + /// ButtonPlayVR, ButtonFred2, ButtonQtFred, ButtonDebug, ButtonFred2Debug, ButtonQtFredDebug, ButtonLogFile + /// + public string? ButtonID { get; set; } = null; public string? DisplayText { get; set; } = null; public string? ToolTip { get; set; } = null; public int? FontSize { get; set; } = null; public string? BackgroundHexColor { get; set; } = null; //#CD3632 hex color value public string? ForegroundHexColor { get; set; } = null; //#CD3632 hex color value - public string? BorderHexColer { get; set; } = null; //#CD3632 hex color value + public string? BorderHexColor { get; set; } = null; //#CD3632 hex color value + public string? MouseOverBackgroundHexColor { get; set; } = null; //#CD3632 hex color value + public string? MouseOverForegroundHexColor { get; set; } = null; //#CD3632 hex color value + public string? MouseOverBorderHexColor { get; set; } = null; //#CD3632 hex color value } public struct CustomMenuButton diff --git a/Knossos.NET/Views/CustomHomeView.axaml b/Knossos.NET/Views/CustomHomeView.axaml index 14e0c38b..59a0a548 100644 --- a/Knossos.NET/Views/CustomHomeView.axaml +++ b/Knossos.NET/Views/CustomHomeView.axaml @@ -68,19 +68,19 @@ - - - - - - - + + + + + + + diff --git a/Knossos.NET/Views/CustomHomeView.axaml.cs b/Knossos.NET/Views/CustomHomeView.axaml.cs index 87011d71..d348b869 100644 --- a/Knossos.NET/Views/CustomHomeView.axaml.cs +++ b/Knossos.NET/Views/CustomHomeView.axaml.cs @@ -1,6 +1,8 @@ using Avalonia.Controls; +using Avalonia.Controls.Presenters; using Avalonia.Media; using Avalonia.Media.Imaging; +using Avalonia.Styling; using Knossos.NET.Converters; using Knossos.NET.Models; using System; @@ -85,7 +87,7 @@ public CustomHomeView() var button = this.FindControl