-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathCiv6_BenchmarkContext.xml
89 lines (83 loc) · 4.77 KB
/
Civ6_BenchmarkContext.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<?xml version="1.0" encoding="utf-8"?>
<Context xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="..\..\..\..\CivTech\Libs\ForgeUI\ForgeUI_Assets\Controls.xsd"
Name="BenchmarkContext" FontStyle="Shadow" ColorSet="BodyTextCool" FontSize="20">
<!--Empty modal panel to disable interaction while waiting-->
<Grid Size="320,240" ID="WaitingPanel" Anchor="C,T" Offset="0,100" Color="0,0,0,0" />
<!--UI shown while the graphics benchmark is running-->
<Grid Style="WindowFrameHUD" Anchor="C,T" Offset="0,50" Size="640,230" ID="GraphicsBenchmarkPanel">
<Container Size="260,230" Anchor="L,C">
<Stack StackPadding="8" StackGrowth="Down" Anchor="L,C" >
<Label String="LOC_BENCHMARK_TITLE" Anchor="C,C" />
<Container Anchor="C,C" Size="parent-10,20">
<Label String="LOC_BENCHMARK_FRAME" Anchor="L,C"/>
<Label ID="FrameText" Anchor="R,C"/>
</Container>
<Container Anchor="C,C" Size="parent-10,20">
<Label String="LOC_BENCHMARK_CURRENT_FPS" Anchor="L,C"/>
<Label ID="FPSText" Anchor="R,C"/>
</Container>
<Container Anchor="C,C" Size="parent-10,20">
<Label String="LOC_BENCHMARK_FRAME_TIME" Anchor="L,C"/>
<Label ID="CurrText" Anchor="R,C"/>
</Container>
<Container Anchor="C,C" Size="parent-10,20">
<Label String="LOC_BENCHMARK_99TH_PERCENTILE" Anchor="L,C"/>
<Label ID="99thText" Anchor="R,C"/>
</Container>
<Container Anchor="C,C" Size="parent-10,20">
<Label String="LOC_BENCHMARK_AVERAGE" Anchor="L,C"/>
<Label ID="AvgText" Anchor="R,C"/>
</Container>
<GridButton ID="CloseGraphicsBenchmark" Anchor="L,T" Size="parent-10,40" Style="MainButton" String="LOC_HUD_CLOSE" />
</Stack>
</Container>
<Graph ID="FrameGraph" Size="365,210" Anchor="R,C" Offset="0,0" Domain="0,100" Range="0,33" TickInterval="0,5" NumberInterval="0,5" ShowTicks="0,1" ShowGridLines="1,1" ShowNumbers="0,1" ShowAxes="0,1" GridColor="Civ6Green" />
</Grid>
<!--UI shown while the AI benchmark is running-->
<Grid Style="WindowFrameHUD" Anchor="C,T" Offset="0,50" Size="260,0" AutoSize="Vertical" ID="AIBenchmarkPanel">
<Stack StackPadding="8" StackGrowth="Down" Anchor="C,C" >
<Label String="LOC_BENCHMARK_TITLE" Anchor="C,C" />
<Container Anchor="C,C" Size="parent-10,20">
<Label String="LOC_BENCHMARK_TIME" Anchor="L,C"/>
<Label ID="TimeText" Anchor="R,C"/> <!--use LOC_KEY_TIME_MINS_SECONDS-->
</Container>
<Container Anchor="C,C" Size="parent-10,20">
<Label String="LOC_BENCHMARK_TURN" Anchor="L,C"/>
<Label ID="TurnsPassed" Anchor="R,C"/>
</Container>
<GridButton ID="CloseAIBenchmark" Anchor="C,T" Size="parent-10,40" Style="MainButton" String="LOC_HUD_CLOSE" />
</Stack>
</Grid>
<!--UI shown while the graphics benchmark is complete-->
<Grid Style="WindowFrameHUD" Anchor="C,C" Size="0,0" AutoSize="1" AutoSizePadding="10,10" ID="GraphicsResultsPanel">
<Stack StackPadding="8" StackGrowth="Down" Anchor="C,C" >
<Label String="LOC_BENCHMARK_RESULTS_TITLE" Anchor="C,T" />
<Label ID="GraphicsResultsFileText" Anchor="C,T"/>
<Stack StackPadding="50" StackGrowth="Left" Anchor="C,T" >
<Stack StackPadding="8" StackGrowth="Down" Anchor="R,C" >
<Label ID="ResultsAvgText" Anchor="R,C"/>
<Label ID="Results99thText" Anchor="R,C"/>
</Stack>
<Stack StackPadding="8" StackGrowth="Down" Anchor="L,C" >
<Label String="LOC_BENCHMARK_AVG_FRAME_TIME" Anchor="L,C"/>
<Label String="LOC_BENCHMARK_99TH_PERCENTILE" Anchor="L,C"/>
</Stack>
</Stack>
<Label String="LOC_FRAME_TIME_DISTRIBUTION" Anchor="C,T" />
<Graph ID="FrameDistribution" Size="236,120" Anchor="C,T" Domain="0,40" Range="0,100" TickInterval="5,0" NumberInterval="5,0" ShowTicks="1,0" ShowGridLines="1,0" ShowNumbers="1,0" ShowAxes="1,0" GridColor="Civ6Green" />
<GridButton ID="CloseGraphicsResults" Anchor="C,T" Size="236,40" Style="MainButton" String="LOC_HUD_CLOSE" />
</Stack>
</Grid>
<!--UI shown while the AI benchmark is complete-->
<Grid Style="WindowFrameHUD" Anchor="C,C" Size="0,0" AutoSize="1" AutoSizePadding="10,10" ID="AIResultsPanel">
<Stack StackPadding="8" StackGrowth="Down" Anchor="C,C" >
<Label String="LOC_BENCHMARK_RESULTS_TITLE" Anchor="C,T" />
<Label ID="AIResultsFileText" Anchor="C,T"/>
<Stack StackPadding="50" StackGrowth="Left" Anchor="C,T" >
<Label ID="AIResultsAvg" Anchor="R,C"/>
<Label String="LOC_BENCHMARK_AVG_TURN_TIME" Anchor="L,C"/>
</Stack>
<GridButton ID="CloseAIResults" Anchor="C,T" Size="236,40" Style="MainButton" String="LOC_HUD_CLOSE" />
</Stack>
</Grid>
</Context>