Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <ContextDefaults ColorSet="BodyTextCool" Style="FontNormal22" FontStyle="Stroke" Name="MainMenu" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="..\..\ForgeUI_Assets\Controls.xsd">
- <Stack ID="ShellMenuAndLogo" StackGrowth="Down" Anchor="C,C">
- <Image ID="Logo" Anchor="C,T" Offset="0,0" Texture="MainLogo.dds" StretchMode="Auto"/>
- <SlideAnim ID="SubMenuSlide" Begin="200,0" End="0,0" Size="640,450" Anchor="C,T" Speed="2" Cycle="Once" Function="OutQuad" Stopped="1" FunctionPower="5" Hidden="0">
- <Stack ID="ShellStack" StackGrowth="Right" StackPadding="20">
- <Container Size="300,400">
- <ScrollPanel ID="MainMenuClip" Anchor="L,C" Size="400,450" FullClip="1" Disabled="1">
- <Image Texture="Controls_DivVertical" Size="14,20" StretchMode="None" AnchorSide="I,O" Anchor="T,L" Color="90,139,190"/>
- <SlideAnim ID="MainButtonTrackAnim" Begin="0,-390" End="0,-20" Size="full,full" Speed="1" Pause=".5" Cycle="Once" Function="Root" Stopped="1">
- <Grid ID="MainButtonTrack" Style="DividerVertical" Size="14,390" Color="90,139,190"/>
- </SlideAnim>
- <ScrollPanel ID="MainButtonClip" Anchor="L,T" Offset="9,0" Size="parent-10,parent" FullClip="1" Disabled="1">
- <AlphaAnim Pause="1.6" AlphaBegin="0" AlphaEnd="1" Cycle="Once" Function="Root" Speed="1">
- <Stack ID="MainMenuOptionStack" StackGrowth="Down" StackPadding="-2" Offset="0,4"/>
- </AlphaAnim>
- </ScrollPanel>
- </ScrollPanel>
- </Container>
- <Container ID="SubMenuContainer" Size="300,400">
- <AlphaAnim ID="SubMenuAlpha" Pause="0" AlphaBegin="0" AlphaEnd="1" Cycle="Once" Function="Root" Speed="3" Size="400,450" Stopped="1" Offset="0,40" Anchor="L,C">
- <ScrollPanel ID="SubMenuClip" Anchor="L,C" Size="400,450" FullClip="1" Disabled="1">
- <Image Texture="Controls_DivVertical" Size="14,20" StretchMode="None" AnchorSide="I,O" Anchor="T,L" Color="90,139,190"/>
- <SlideAnim ID="SubButtonTrackAnim" Begin="0,-390" End="0,-20" Size="full,full" Speed="3" Cycle="Once" Function="Root" Stopped="1">
- <Grid ID="SubButtonTrack" Style="DividerVertical" Size="14,390" Color="90,139,190"/>
- </SlideAnim>
- <ScrollPanel ID="SubButtonClip" Anchor="L,T" Offset="9,0" Size="parent-10,parent" FullClip="1" Disabled="1">
- <AlphaAnim Pause="0" AlphaBegin="0" AlphaEnd="1" Cycle="Once" Function="Root" Speed="3">
- <Stack ID="SubMenuOptionStack" StackGrowth="Down" StackPadding="-2" Offset="0,4"/>
- </AlphaAnim>
- </ScrollPanel>
- </ScrollPanel>
- </AlphaAnim>
- </Container>
- </Stack>
- </SlideAnim>
- </Stack>
- <!-- Dialog Support -->
- <Box Style="PopupDialogBox"/>
- <Instance Name="PopupButtonInstance">
- <GridButton ID="Button" Style="MainButton" Size="200,41" />
- </Instance>
- <Instance Name="PopupButtonAltInstance">
- <GridButton ID="Button" Style="ButtonRed" Size="200,41" />
- </Instance>
- <Instance Name="PopupTextInstance">
- <Label ID="Text" Anchor="C,T" Style="BodyTextDark18" Align="Center" WrapWidth="400"/>
- </Instance>
- <Instance Name="RowInstance">
- <Stack ID="Row" Anchor="C,T" StackGrowth="Right" StackWrap="Bottom" StackPadding="10" />
- </Instance>
- <Instance Name="MenuOption">
- <Container Size="300,40" ID="Top">
- <SlideAnim ID="FlagAnim" Begin="-300,0" End="-10,0" Size="300,32" Speed="4" Cycle="Bounce" Function="OutQuad" Stopped="1" FunctionPower="1">
- <GridButton ID="OptionButton" Style="ShellFlag" Size="300,32">
- <AlphaAnim ID="LabelAlphaAnim" Pause="2.0" AlphaBegin="0" AlphaEnd="1" Cycle="Once" Function="Root" Speed="1" Size="parent,parent">
- <Label ID="ButtonLabel" Style="ShellFlagButtonFont" Anchor="L,C" Offset="30,0" String="Button Text"/>
- </AlphaAnim>
- </GridButton>
- </SlideAnim>
- <AlphaAnim ID="SelectionAnimAlpha" AlphaBegin="0" AlphaEnd="1" Size="parent,parent" Speed="2" Cycle="Once" Function="OutQuad" Stopped="1" FunctionPower="5">
- <SlideAnim ID="SelectionAnimSlide" Begin="-300,-4" End="0,-4" Size="parent,parent" Speed="2" Cycle="Once" Function="OutQuad" Stopped="1" FunctionPower="5">
- <Image Texture="Shell_ButtonOrnateSelected" StretchMode="Auto">
- <Label ID="SelectedLabel" Style="ShellFlagButtonFont" Anchor="C,C" String="Button Text"/>
- </Image>
- </SlideAnim>
- </AlphaAnim>
- </Container>
- </Instance>
- <Container ID="My2KContents" Anchor="R,B" Offset="5,5" Size="128,75">
- <Image Anchor="R,B" Offset="-345,-195" Size="700,400" Texture="Controls_Glow" Color="9,57,93,255" />
- <Grid Anchor="C,B" Offset="0,-10" Size="parent,32" Style="DropShadow2" Color="0,0,0,100"/>
- <Button ID="My2KLogin" Anchor="C,T" Size="128,64" Style="My2KLogoButton" Disabled="1" />
- <Label ID="My2KStatus" Anchor="C,B" Style="FontNormal12" ColorSet="ButtonCS" String="TXT_KEY_MY2K_MODE_ANONYMOUS"/>
- </Container>
- <Label ID="VersionLabel" Anchor="L,B" Offset="2,2" Style="FontNormal12" ColorSet="ButtonCS" />
- <LuaContext ID="Options" DeferLoad="1" FileName="Options" Hidden="1" />
- <LuaContext ID="ModsContext" DeferLoad="1" FileName="Mods" Hidden="1" />
- <LuaContext ID="AdvancedSetup" DeferLoad="1" FileName="AdvancedSetup" Hidden="1" />
- <LuaContext ID="CreditsScreen" FileName="CreditsScreen" Hidden="1" />
- <LuaContext ID="Civilopedia" FileName="CivilopediaScreen" Hidden="1" />
- <LuaContext ID="My2K" FileName="My2K" Hidden="1" />
- <LuaContext ID="WorldBuilder" DeferLoad="1" FileName="WorldBuilderMenu" Hidden="1" />
- <LuaContext ID="TutorialSetup" DeferLoad="1" FileName="TutorialSetup" Hidden="1" />
- <LuaContext ID="FrontEndPopup" FileName="FrontEndPopup" Hidden="1" />
- <LuaContext ID="Lobby" FileName="Lobby" Hidden="1" />
- <LuaContext ID="HostGame" FileName="HostGame" Hidden="1" />
- <LuaContext ID="StagingRoom" FileName="StagingRoom" Hidden="1" />
- <LuaContext ID="LoadGameMenu" FileName="LoadGameMenu" Hidden="1" />
- </ContextDefaults>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement