Support content init, PLAD, PGET/P/T, LSYM, and serialization of complex objects with simple properties

This commit is contained in:
Yoshi Askharoun
2025-07-17 17:55:04 -05:00
parent 64f7a445eb
commit 2a76d02461
5 changed files with 241 additions and 75 deletions
+2 -2
View File
@@ -132,7 +132,7 @@ AboutDialog_prop:
MINVT 0
PINI 3
PDAD 0, @const4
JMPD 0, 7, 98
PSHC @const8
MINVT 0
@@ -235,7 +235,7 @@ AboutDialogContentUI_cont:
PGETT 19
PINI 18
INIT 28
PLAD 10
PLAD 10 ;
COBJ 13
PSHC @const24
PINI 7
+45 -2
View File
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-16"?>
<UIX xmlns="http://schemas.microsoft.com/2007/uix" xmlns:dialog="res://UIXControls!Dialog.uix" xmlns:iris="assembly://UIX/Microsoft.Iris" xmlns:zuneUI="assembly://ZuneShell/ZuneUI" xmlns:system="assembly://System.Private.CoreLib/System">
<UIX xmlns="http://schemas.microsoft.com/2007/uix" xmlns:dialog="res://UIXControls!Dialog.uix" xmlns:iris="assembly://UIX/Microsoft.Iris" xmlns:zuneUI="assembly://ZuneShell/ZuneUI" xmlns:system="assembly://System.Private.CoreLib/System" xmlns:styles="res://ZuneShellResources!Styles.uix" xmlns:label="res://UIXControls!Label.uix" xmlns:linkButtons="res://ZuneShellResources!LinkButtons.uix">
<Class Name="AboutDialog" Base="dialog:Dialog">
<Properties>
<String String="res://ZuneShellResources!AboutDialog.uix#AboutDialogContentUI" Name="ContentUI" />
@@ -8,5 +8,48 @@
<system:String String="{zuneUI:Shell.LoadString(zuneUI:StringId.IDS_ABOUTDIALOG_TITLE)}" Name="AccessibleDescription" />
</Properties>
</Class>
<UI Name="AboutDialogContentUI" Base="dialog:DialogContentUI" />
<UI Name="AboutDialogContentUI" Base="dialog:DialogContentUI">
<Content xmlns="">
<Panel MaximumSize="360, 0" xmlns="http://schemas.microsoft.com/2007/uix">
<Layout xmlns="">
<FlowLayout DefaultChildAlignment="Near" Orientation="Vertical" xmlns="http://schemas.microsoft.com/2007/uix" />
</Layout>
<Children>
<Panel Margins="10">
<Layout xmlns="">
<FlowLayout Orientation="Horizontal" xmlns="http://schemas.microsoft.com/2007/uix" />
</Layout>
<Children>
<Graphic Content="{styles:Styles.IconZuneAbout}" StretchingPolicy="Uniform" SizingPolicy="SizeToContent" />
<Panel Margins="10, 10, 0, 10">
<Layout xmlns="">
<DockLayout DefaultLayoutInput="Top" xmlns="http://schemas.microsoft.com/2007/uix" />
</Layout>
<Children>
<label:Label Content="{zuneUI:Shell.LoadString(zuneUI:StringId.IDS_ABOUTDIALOG_COPYRIGHT_LINE1)}" Style="{styles:SharedStyles.DialogTextStyle}" />
<label:Label Content="{zuneUI:Shell.LoadString(zuneUI:StringId.IDS_ABOUTDIALOG_COPYRIGHT_LINE2)}" Style="{styles:SharedStyles.DialogTextStyle}" />
<label:Label Content="{zuneUI:Shell.LoadString(zuneUI:StringId.IDS_ABOUTDIALOG_COPYRIGHT_LINE3)}" Style="{styles:SharedStyles.DialogTextStyle}" />
<Panel Layout="HorizontalFlow">
<Children>
<label:Label Content="{zuneUI:Shell.LoadString(zuneUI:StringId.IDS_ABOUTDIALOG_VERSION_HEADER)}" Style="{styles:SharedStyles.DialogTextStyle}" />
<label:Label Content="{zuneUI:ZuneShell.DefaultInstance.Management.BuildNumber}" Margins="5, 0, 0, 0" Style="{styles:SharedStyles.DialogTextStyle}" />
</Children>
</Panel>
<Panel Layout="HorizontalFlow">
<Children>
<label:Label Content="{zuneUI:Shell.LoadString(zuneUI:StringId.IDS_ABOUTDIALOG_PRODUCT_ID)}" Style="{styles:SharedStyles.DialogTextStyle}" />
<label:Label Content="{zuneUI:SoftwareUpdates.PID}" Margins="5, 0, 0, 0" Style="{styles:SharedStyles.DialogTextStyle}" />
</Children>
</Panel>
<label:Label Name="GDIModeLabel" Visible="false" Style="{styles:SharedStyles.DialogTextStyle}" />
</Children>
</Panel>
</Children>
</Panel>
<label:Label Content="{zuneUI:Shell.LoadString(zuneUI:StringId.IDS_ABOUTDIALOG_WARNING)}" Style="{styles:SharedStyles.DialogTextStyle}" WordWrap="true" />
<linkButtons:ExternalLink Model="{Dialog.TechSupportLink}" ToolTipEnabled="false" TileMinSize="160, 16" Margins="0, 10, 0, 0" />
</Children>
</Panel>
</Content>
</UI>
</UIX>