mirror of
https://github.com/ZuneDev/ZuneUIXTools.git
synced 2026-07-27 13:11:59 -07:00
Initial decomp work
This commit is contained in:
@@ -0,0 +1,97 @@
|
||||
<!-- Copyright (C) Microsoft Corporation. All rights reserved. -->
|
||||
<UIX
|
||||
xmlns="http://schemas.microsoft.com/2007/uix"
|
||||
xmlns:iris="assembly://UIX/Microsoft.Iris"
|
||||
xmlns:zune="assembly://ZuneShell/ZuneUI"
|
||||
xmlns:styles="res://ZuneShellResources!Styles.uix"
|
||||
xmlns:dialog="res://ZuneShellResources!Dialog.uix"
|
||||
xmlns:core="res://ZuneShellResources!Controls.uix"
|
||||
xmlns:linkButtons="res://ZuneShellResources!LinkButtons.uix"
|
||||
xmlns:me="Me">
|
||||
|
||||
<UI Name="Default">
|
||||
<Content>
|
||||
<me:AboutDialog/>
|
||||
</Content>
|
||||
</UI>
|
||||
|
||||
<Class Name="AboutDialog" Base="dialog:Dialog">
|
||||
<Properties>
|
||||
<String Name="ContentUI" String="res://ZuneShellResources!AboutDialog.uix#AboutDialogContentUI"/>
|
||||
<iris:Command Name="Cancel" Description="{zune:Shell.LoadString(zune:StringId.IDS_DIALOG_OK)}"/>
|
||||
<zune:WebHelpCommand Name="TechSupportLink"
|
||||
Description="{zune:Shell.LoadString(zune:StringId.IDS_ABOUTDIALOG_TECHNICAL_SUPPORT_INFORMATION)}"
|
||||
Url="http://www.zune.net/support/"/>
|
||||
<String Name="AccessibleDescription" String="{zune:Shell.LoadString(zune:StringId.IDS_ABOUTDIALOG_TITLE)}"/>
|
||||
</Properties>
|
||||
</Class>
|
||||
|
||||
<UI Name="AboutDialogContentUI" Base="dialog:DialogContentUI">
|
||||
<Properties>
|
||||
<me:AboutDialog Name="Dialog"/> <!--AboutDialog="$Required"/-->
|
||||
</Properties>
|
||||
<Scripts>
|
||||
<Script>
|
||||
if (iris:Application.RenderingType == iris:RenderingType.GDI)
|
||||
{
|
||||
GDIModeLabel.Visible = true;
|
||||
GDIModeLabel.Content = zune:Shell.LoadString(zune:StringId.IDS_ABOUTDIALOG_GDI_MODE_NOTICE);
|
||||
}
|
||||
</Script>
|
||||
</Scripts>
|
||||
<Content>
|
||||
<Panel Navigation="ContainAll,WrapAll" MaximumSize="360,0" Margins="10">
|
||||
<Layout>
|
||||
<FlowLayout Orientation="Vertical"/>
|
||||
</Layout>
|
||||
<Children>
|
||||
|
||||
<core:Label Content="{zune:Shell.LoadString(zune:StringId.IDS_ABOUTDIALOG_TITLE)}" Style="{styles:SharedStyles.DialogHeaderStyle}" WordWrap="true"/>
|
||||
|
||||
<Panel Margins="10">
|
||||
<Layout>
|
||||
<FlowLayout Orientation="Horizontal"/>
|
||||
</Layout>
|
||||
<Children>
|
||||
<Graphic Content="res://ZuneShellResources!ZuneColorLogo.png" StretchingPolicy="Uniform" SizingPolicy="SizeToContent"/>
|
||||
<Panel Margins="10">
|
||||
<Layout>
|
||||
<DockLayout DefaultLayoutInput="Top"/>
|
||||
</Layout>
|
||||
<Children>
|
||||
<core:Label Content="{zune:Shell.LoadString(zune:StringId.IDS_ABOUTDIALOG_COPYRIGHT_LINE1)}" Style="{styles:SharedStyles.DialogTextStyle}"/>
|
||||
<core:Label Content="{zune:Shell.LoadString(zune:StringId.IDS_ABOUTDIALOG_COPYRIGHT_LINE2)}" Style="{styles:SharedStyles.DialogTextStyle}"/>
|
||||
<core:Label Content="{zune:Shell.LoadString(zune:StringId.IDS_ABOUTDIALOG_COPYRIGHT_LINE3)}" Style="{styles:SharedStyles.DialogTextStyle}"/>
|
||||
<Panel Layout="HorizontalFlow">
|
||||
<Children>
|
||||
<core:Label Content="{zune:Shell.LoadString(zune:StringId.IDS_ABOUTDIALOG_VERSION_HEADER)}" Style="{styles:SharedStyles.DialogTextStyle}"/>
|
||||
<core:Label Content="{zune:ZuneShell.DefaultInstance.Management.BuildNumber}" Margins="5,0,0,0" Style="{styles:SharedStyles.DialogTextStyle}"/>
|
||||
</Children>
|
||||
</Panel>
|
||||
<Panel Layout="HorizontalFlow">
|
||||
<Children>
|
||||
<core:Label Content="{zune:Shell.LoadString(zune:StringId.IDS_ABOUTDIALOG_PRODUCT_ID)}" Style="{styles:SharedStyles.DialogTextStyle}"/>
|
||||
<core:Label Content="{zune:SoftwareUpdates.PID}" Margins="5,0,0,0" Style="{styles:SharedStyles.DialogTextStyle}"/>
|
||||
</Children>
|
||||
</Panel>
|
||||
<core:Label Name="GDIModeLabel" Visible="false" Style="{styles:SharedStyles.DialogTextStyle}"/>
|
||||
</Children>
|
||||
</Panel>
|
||||
</Children>
|
||||
</Panel>
|
||||
|
||||
<core:Label Content="{zune:Shell.LoadString(zune:StringId.IDS_ABOUTDIALOG_WARNING)}" Style="{styles:SharedStyles.DialogTextStyle}" WordWrap="true"/>
|
||||
|
||||
<Panel Layout ="VerticalFlow" Margins="0,10,0,0">
|
||||
<Children>
|
||||
<linkButtons:ExternalLink Model="{Dialog.TechSupportLink}" ToolTipEnabled="false" TileMinSize="160,16"/>
|
||||
<core:BigActionButton Model="{Dialog.Cancel}" Margins="0,10,0,0" ToolTipEnabled="false" FocusOrder="0"/>
|
||||
</Children>
|
||||
</Panel>
|
||||
|
||||
</Children>
|
||||
</Panel>
|
||||
</Content>
|
||||
</UI>
|
||||
|
||||
</UIX>
|
||||
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1 @@
|
||||
<UI Name="Default"><Content><Text Color="A=255, R=255, G=0, B=0" Content="Howdy from Microsoft.Iris!" /></Content></UI>
|
||||
@@ -0,0 +1 @@
|
||||
<UI Name="Default" />
|
||||
Binary file not shown.
+6
-6
@@ -1,8 +1,8 @@
|
||||
<UIX xmlns="http://schemas.microsoft.com/2007/uix"
|
||||
xmlns:me="Me">
|
||||
|
||||
<UI Name="TextDisplay">
|
||||
<!-- This UI displays the other UIs. -->
|
||||
<UI Name="Default">
|
||||
<!-- This UI displays the other UIs. TextDisplay -->
|
||||
<Locals>
|
||||
|
||||
<Font Name="SmallFont" Font="Bahnschrift,10" />
|
||||
@@ -28,7 +28,7 @@
|
||||
<Content>
|
||||
<Panel Layout="VerticalFlow" MaximumSize="140,0">
|
||||
<Children>
|
||||
<Text HighlightColor="Gold" Font="{me:BigFont}" MaximumLines="3" WordWrap="true" Content="This large text will wrap. This sentence won't be displayed because it exceeds the 3 line maximum." />
|
||||
<Text HighlightColor="Gold" Font="Bahnschrift" MaximumLines="3" WordWrap="true" Content="This large text will wrap. This sentence won't be displayed because it exceeds the 3 line maximum." />
|
||||
</Children>
|
||||
</Panel>
|
||||
</Content>
|
||||
@@ -39,8 +39,8 @@
|
||||
<Content>
|
||||
<Panel Layout="VerticalFlow">
|
||||
<Children>
|
||||
<Text Color="Aquamarine" Font="{me:SmallFont}" Content="You can use margins to create space between text items:" />
|
||||
<Text Margins="0,20,0,0" Color="SkyBlue" Font="{me:SmallFont}" Content="This sentence has a top margin of 20 pixels." />
|
||||
<Text Color="Aquamarine" Font="Bahnschrift" Content="You can use margins to create space between text items:" />
|
||||
<Text Margins="0,20,0,0" Color="SkyBlue" Font="Bahnschrift" Content="This sentence has a top margin of 20 pixels." />
|
||||
</Children>
|
||||
</Panel>
|
||||
</Content>
|
||||
@@ -51,7 +51,7 @@
|
||||
<Content>
|
||||
<Panel Layout="VerticalFlow" MinimumSize="500,40">
|
||||
<Children>
|
||||
<Text LineAlignment="Center" Color="Maroon" Font="{me:SmallFont}" Content="This text is placed in a ColorFill view item." />
|
||||
<Text LineAlignment="Center" Color="Maroon" Font="Bahnschrift" Content="Gig em, Ags!" />
|
||||
</Children>
|
||||
</Panel>
|
||||
</Content>
|
||||
|
||||
Reference in New Issue
Block a user