From: <sv...@ww...> - 2007-08-14 18:30:15
|
Author: nsmoooose Date: 2007-08-14 11:30:05 -0700 (Tue, 14 Aug 2007) New Revision: 2172 Modified: branches/first_tutorial/csp/data/ui/themes/default/styles.xml branches/first_tutorial/csp/data/ui/tutorials/takeoff/help.xml Log: Adjusted positions of tutorial images and added the tutorial name to the help page. Browse at: https://www.zerobar.net/viewcvs/viewcvs.cgi?view=rev&rev=2172 Modified: branches/first_tutorial/csp/data/ui/themes/default/styles.xml =================================================================== --- branches/first_tutorial/csp/data/ui/themes/default/styles.xml 2007-08-13 23:15:47 UTC (rev 2171) +++ branches/first_tutorial/csp/data/ui/themes/default/styles.xml 2007-08-14 18:30:05 UTC (rev 2172) @@ -240,6 +240,13 @@ <BackgroundColor>fdfdfdff</BackgroundColor> <BorderBottomWidth>1</BorderBottomWidth> <BorderLeftWidth>1</BorderLeftWidth> + </Style> + + <Style Name="tutorial_help"> + <BorderLeftWidth>10</BorderLeftWidth> + <BorderLeftColor>7b8698ff</BorderLeftColor> + <VerticalAlign>middle</VerticalAlign> + <HorizontalAlign>right</HorizontalAlign> </Style> </NamedStyles> </StyleDocument> Modified: branches/first_tutorial/csp/data/ui/tutorials/takeoff/help.xml =================================================================== --- branches/first_tutorial/csp/data/ui/tutorials/takeoff/help.xml 2007-08-13 23:15:47 UTC (rev 2171) +++ branches/first_tutorial/csp/data/ui/tutorials/takeoff/help.xml 2007-08-14 18:30:05 UTC (rev 2172) @@ -4,63 +4,63 @@ <!-- This include will set the default behaviour on all controls. --> <StyleInclude>styles.xml</StyleInclude> <StringTableInclude>global.xml</StringTableInclude> - </Includes> - <Window CssClass="help" LocationZ="-10" SizeWidth="300" SizeHeight="700"> - <Style> - <HorizontalAlign>right</HorizontalAlign> - </Style> + </Includes> + <Window CssClass="tutorial_help" LocationZ="-20" SizeWidth="300" SizeHeight="700"> <Control> <MultiControlContainer> <Controls> - <Label LocationX="20" LocationY="10" SizeWidth="270" SizeHeight="100"> + <Label LocationX="10" LocationY="2" SizeWidth="278" SizeHeight="30" Text="${tutorials_takeoff}" /> + <Label CssClass="stripe" LocationX="0" LocationY="35" SizeWidth="289" SizeHeight="10" /> + + <Label LocationX="10" LocationY="60" SizeWidth="270" SizeHeight="100"> <Style> <TextVerticalAlign>top</TextVerticalAlign> <TextHorizontalAlign>left</TextHorizontalAlign> </Style> - <Text>* Increase throttle to full afterburner. + <Text>1. Increase throttle to full afterburner. -* Pitch up the nose when you reach 150 kts. +2. Pitch up the nose when you reach 150 kts. -* Raise landing gear when you are in the air.</Text> +3. Raise landing gear when you are in the air.</Text> </Label> <!-- Increase / decrease throttle --> - <Image LocationX="20" LocationY="150" SizeHeight="32" SizeWidth="32"> + <Image LocationX="10" LocationY="190" SizeHeight="32" SizeWidth="32"> <Style> <BackgroundColor>ffffffff</BackgroundColor> <BackgroundImage>images/input-keyboard-button-equals.png</BackgroundImage> </Style> </Image> - <Label LocationX="60" LocationY="150" SizeHeight="32" SizeWidth="220" Text="Hold to increase throttle" /> - <Image LocationX="20" LocationY="190" SizeHeight="32" SizeWidth="32"> + <Label LocationX="50" LocationY="190" SizeHeight="32" SizeWidth="220" Text="Hold to increase throttle" /> + <Image LocationX="10" LocationY="230" SizeHeight="32" SizeWidth="32"> <Style> <BackgroundColor>ffffffff</BackgroundColor> <BackgroundImage>images/input-keyboard-button-minus.png</BackgroundImage> </Style> </Image> - <Label LocationX="60" LocationY="190" SizeHeight="32" SizeWidth="220" Text="Hold to decrease throttle" /> + <Label LocationX="50" LocationY="230" SizeHeight="32" SizeWidth="220" Text="Hold to decrease throttle" /> <!-- Pitch up the nose. --> - <Image LocationX="20" LocationY="230" SizeHeight="32" SizeWidth="32"> + <Image LocationX="10" LocationY="270" SizeHeight="32" SizeWidth="32"> <Style> <BackgroundColor>ffffffff</BackgroundColor> <BackgroundImage>images/input-keyboard-button-arrowup.png</BackgroundImage> </Style> </Image> - <Label LocationX="60" LocationY="230" SizeHeight="32" SizeWidth="220" Text="Pitch up the nose" /> + <Label LocationX="50" LocationY="270" SizeHeight="32" SizeWidth="220" Text="Pitch up the nose" /> <!-- Raise / lower landing gear. --> - <Image LocationX="20" LocationY="270" SizeHeight="32" SizeWidth="32"> + <Image LocationX="10" LocationY="310" SizeHeight="32" SizeWidth="32"> <Style> <BackgroundColor>ffffffff</BackgroundColor> <BackgroundImage>images/input-keyboard-button-g.png</BackgroundImage> </Style> </Image> - <Label LocationX="60" LocationY="270" SizeHeight="32" SizeWidth="220" Text="Raise / lower landing gear" /> + <Label LocationX="50" LocationY="310" SizeHeight="32" SizeWidth="220" Text="Raise / lower landing gear" /> <!-- Airspeed indicator --> - <Label LocationX="20" LocationY="310" SizeHeight="32" SizeWidth="220" Text="Airspeed indicator on HUD" /> - <Image LocationX="40" LocationY="340" SizeHeight="151" SizeWidth="151"> + <Label LocationX="10" LocationY="350" SizeHeight="32" SizeWidth="220" Text="Airspeed indicator on HUD" /> + <Image LocationX="30" LocationY="380" SizeHeight="151" SizeWidth="151"> <Style> <BackgroundColor>ffffffff</BackgroundColor> <BackgroundImage>tutorials/takeoff/takeoff_speed.png</BackgroundImage> @@ -69,5 +69,7 @@ </Controls> </MultiControlContainer> </Control> + <Styles> + </Styles> </Window> </WindowDocument> |