From 19dd4f43e4fe434d2ce9e9ed9ba75c151cf1679e Mon Sep 17 00:00:00 2001 From: Deterous <138427222+Deterous@users.noreply.github.com> Date: Sun, 29 Dec 2024 13:02:06 +0900 Subject: [PATCH] Minor UI changes to DIW (#803) * Change DIW userinput ratio to 3:7 * Add groupboxes around contents and readonly tabs in DIW * Use real PVD and PIC in debug data * rearrange groupbox / stackpanel * group boxes --- MPF.Frontend/ViewModels/MainViewModel.cs | 5 +- MPF.UI/UserControls/UserInput.xaml | 2 +- MPF.UI/Windows/DiscInformationWindow.xaml | 288 ++++++++++++---------- 3 files changed, 158 insertions(+), 137 deletions(-) diff --git a/MPF.Frontend/ViewModels/MainViewModel.cs b/MPF.Frontend/ViewModels/MainViewModel.cs index 41ea0027..b200fe96 100644 --- a/MPF.Frontend/ViewModels/MainViewModel.cs +++ b/MPF.Frontend/ViewModels/MainViewModel.cs @@ -867,6 +867,7 @@ namespace MPF.Frontend.ViewModels CommentsSpecialFields = new Dictionary() { [SiteCode.ISBN] = "ISBN", + [SiteCode.RingNonZeroDataStart] = "+123" }, Contents = "Special contents 1\r\nSpecial contents 2", ContentsSpecialFields = new Dictionary() @@ -896,10 +897,10 @@ namespace MPF.Frontend.ViewModels Extras = new ExtrasSection() { - PVD = "PVD with a stupidly long line and nothing else but a little more\nPVD with a stupidly long line and nothing else but a little more\nPVD with a stupidly long line and nothing else but a little more\nPVD with a stupidly long line and nothing else but a little more\nPVD with a stupidly long line and nothing else but a little more\nPVD with a stupidly long line and nothing else but a little more\n", + PVD = "0320 : 20 20 20 20 20 20 20 20 20 20 20 20 20 32 30 31 201\n0330 : 30 31 30 32 35 31 36 31 39 30 30 30 00 04 32 30 010251619000 .20\n0340 : 31 30 31 30 32 35 31 36 31 39 30 30 30 00 04 30 1010251619000 .0\n0350 : 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 00 000000000000000 \n0360 : 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 0000000000000000\n0370 : 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 . ", DiscKey = "Disc key", DiscID = "Disc ID", - PIC = "PIC", + PIC = "10020000444901080000200042444F01\n1101010001000000004F947F00100000\n004F947E000000000000000000000000\n00000000000000000000000000000000\n00000000000000000000000000000000\n00000000000000000000000000000000\n00000000000000000000000000000000\n00000000000000000000000000000000\n00000000", Header = "Header", BCA = "BCA", SecuritySectorRanges = "SSv1 Ranges", diff --git a/MPF.UI/UserControls/UserInput.xaml b/MPF.UI/UserControls/UserInput.xaml index dc9fc3e0..6e4e9b38 100644 --- a/MPF.UI/UserControls/UserInput.xaml +++ b/MPF.UI/UserControls/UserInput.xaml @@ -7,7 +7,7 @@ - +