From 442dde12304acefd900f399103804c8e44920a1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EF=BC=B4=EF=BC=B2?= <31824852+TetsuOtter@users.noreply.github.com> Date: Mon, 6 Nov 2023 00:52:43 +0900 Subject: [PATCH 01/28] add `ForegroundBlackWhite` --- TRViS/DTAC/DTACElementStyles.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/TRViS/DTAC/DTACElementStyles.cs b/TRViS/DTAC/DTACElementStyles.cs index a18e9faf..3451a873 100644 --- a/TRViS/DTAC/DTACElementStyles.cs +++ b/TRViS/DTAC/DTACElementStyles.cs @@ -45,6 +45,8 @@ public static readonly AppThemeGenericsBindingExtension MarkerMarkButtonB new(0x00, 0x33, 0x00) ); + public static readonly AppThemeColorBindingExtension ForegroundBlackWhite = genColor(0x00, 0xFF); + public static readonly AppThemeColorBindingExtension LocationServiceSelectedSideFrameColor = genColor(0xFF, 0xAA); public static readonly AppThemeColorBindingExtension LocationServiceSelectedSideTextColor = genColor(0xFF, 0xDD); public static readonly AppThemeColorBindingExtension LocationServiceNotSelectedSideBaseColor = genColor(0xFF, 0xDD); From 70e1397ab555dafbe93c1027dc505584b96d8ca2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EF=BC=B4=EF=BC=B2?= <31824852+TetsuOtter@users.noreply.github.com> Date: Mon, 6 Nov 2023 00:52:53 +0900 Subject: [PATCH 02/28] Create SimpleRow.cs --- TRViS/DTAC/HakoParts/SimpleRow.cs | 141 ++++++++++++++++++++++++++++++ 1 file changed, 141 insertions(+) create mode 100644 TRViS/DTAC/HakoParts/SimpleRow.cs diff --git a/TRViS/DTAC/HakoParts/SimpleRow.cs b/TRViS/DTAC/HakoParts/SimpleRow.cs new file mode 100644 index 00000000..c28a2c04 --- /dev/null +++ b/TRViS/DTAC/HakoParts/SimpleRow.cs @@ -0,0 +1,141 @@ +using Microsoft.Maui.Controls.Shapes; + +using TRViS.Controls; +using TRViS.IO.Models; + +namespace TRViS.DTAC.HakoParts; + +public partial class SimpleRow +{ + private static readonly NLog.Logger logger = NLog.LogManager.GetCurrentClassLogger(); + + public event ValueChangedEventHandler? IsSelectedChanged; + + readonly Label FromStationNameLabel = DTACElementStyles.LargeLabelStyle