mirror of
https://github.com/vczh-libraries/Release.git
synced 2026-06-01 23:06:39 +08:00
Verified SampleForDoc, some samples need to be taken care of
This commit is contained in:
@@ -7,6 +7,9 @@ Tools/*.exe
|
|||||||
#Vczh Libraries
|
#Vczh Libraries
|
||||||
*.xml.log/
|
*.xml.log/
|
||||||
|
|
||||||
|
#SampleForDoc Binaries
|
||||||
|
SampleForDoc/GacUI/UIRes/*/*.bin
|
||||||
|
|
||||||
# User-specific files
|
# User-specific files
|
||||||
*/**/.vs/
|
*/**/.vs/
|
||||||
*.suo
|
*.suo
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
# SampleForDoc x86 Resource Binaries
|
||||||
|
|
||||||
|
Go to `..\..\XmlRes` folder and run `..\..\..\Tools\GacBuild.ps1 .\GacUI.xml` to generate these files
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
# SampleForDoc x64 Resource Binaries
|
||||||
|
|
||||||
|
Go to `..\..\XmlRes` folder and run `..\..\..\Tools\GacBuild.ps1 .\GacUI.xml` to generate these files
|
||||||
@@ -154,7 +154,7 @@
|
|||||||
bottom:0
|
bottom:0
|
||||||
right:(
|
right:(
|
||||||
cast int Math::Round(
|
cast int Math::Round(
|
||||||
(1 - self.animationBuilder.Current.Length) * (self.boundary.Bounds.x2 - self.boundary.Bounds.x1 - 10)
|
(1 - self.animationBuilder.Current.Length) * (self.boundary.CachedBounds.x2 - self.boundary.CachedBounds.x1 - 10)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
};
|
};
|
||||||
@@ -162,10 +162,10 @@
|
|||||||
]]></ref.Members>
|
]]></ref.Members>
|
||||||
<SelectableButtonTemplate ref.Name="self" ContainerComposition-ref="container" MinSizeLimitation="LimitToElementAndChildren">
|
<SelectableButtonTemplate ref.Name="self" ContainerComposition-ref="container" MinSizeLimitation="LimitToElementAndChildren">
|
||||||
<Bounds ref.Name="boundary" AlignmentToParent="left:0 top:0 right:0 bottom:0">
|
<Bounds ref.Name="boundary" AlignmentToParent="left:0 top:0 right:0 bottom:0">
|
||||||
<Bounds AlignmentToParent-bind="self.observe as _ (_.GetAlignment() on _.boundary.BoundsChanged, _.animationBuilder.Current.LengthChanged)">
|
<Bounds AlignmentToParent-bind="self.observe as _ (_.GetAlignment() on _.boundary.CachedBoundsChanged, _.animationBuilder.Current.LengthChanged)">
|
||||||
<SolidBorder Color-bind="self.animationBuilder.Current.Border" Shape="shapeType:RoundRect radiusX:5 radiusY:5"/>
|
<SolidBorder Color-bind="self.animationBuilder.Current.Border" Shape="shapeType:RoundRect radiusX:5 radiusY:5"/>
|
||||||
</Bounds>
|
</Bounds>
|
||||||
<Bounds AlignmentToParent-bind="self.observe as _ (_.GetAlignment() on _.boundary.BoundsChanged, _.animationBuilder.Current.LengthChanged)">
|
<Bounds AlignmentToParent-bind="self.observe as _ (_.GetAlignment() on _.boundary.CachedBoundsChanged, _.animationBuilder.Current.LengthChanged)">
|
||||||
<SolidBackground Color-bind="self.animationBuilder.Current.Background" Shape="shapeType:RoundRect radiusX:5 radiusY:5"/>
|
<SolidBackground Color-bind="self.animationBuilder.Current.Background" Shape="shapeType:RoundRect radiusX:5 radiusY:5"/>
|
||||||
</Bounds>
|
</Bounds>
|
||||||
</Bounds>
|
</Bounds>
|
||||||
|
|||||||
@@ -33,10 +33,10 @@
|
|||||||
var oIde = new IDE^();
|
var oIde = new IDE^();
|
||||||
for (att in xIde.attributes)
|
for (att in xIde.attributes)
|
||||||
{
|
{
|
||||||
switch (att.name)
|
switch (att.name.value)
|
||||||
{
|
{
|
||||||
case "name": { oIde.Name = att.value; }
|
case "name": { oIde.Name = att.value.value; }
|
||||||
case "dev": { oIde.Developer = att.value; }
|
case "dev": { oIde.Developer = att.value.value; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ides.Add(oIde);
|
ides.Add(oIde);
|
||||||
|
|||||||
Reference in New Issue
Block a user