Changeset 6217 for code/branches/presentation2/data/gui
- Timestamp:
- Dec 2, 2009, 10:13:13 PM (15 years ago)
- Location:
- code/branches/presentation2/data/gui
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/data/gui/layouts/DecisionPopup.layout
r6150 r6217 9 9 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> 10 10 <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1,0},{1,0}}" /> 11 <Property Name="Alpha" Value="0. 5" />11 <Property Name="Alpha" Value="0.6" /> 12 12 <Window Type="TaharezLook/Button" Name="orxonox/DecisionPopup_button_yes" > 13 13 <Property Name="Font" Value="BlueHighway-12" /> -
code/branches/presentation2/data/gui/layouts/InGameMenu.layout
r6150 r6217 6 6 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> 7 7 <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1,0},{1,0}}" /> 8 <Window Type="TaharezLook/Button" Name="orxonox/InGameMenu_ReturnButton" > 9 <Property Name="Font" Value="BlueHighway-12" /> 10 <Property Name="Text" Value="Return to Game" /> 11 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> 12 <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.3,0},{0.6,0},{0.36,0}}" /> 13 <Property Name="Alpha" Value="0.7" /> 14 <Event Name="Clicked" Function="InGameMenu.button_return_clicked"/> 15 </Window> 8 16 <Window Type="TaharezLook/Button" Name="orxonox/InGameMenu_MainMenuButton" > 9 17 <Property Name="Font" Value="BlueHighway-12" /> 10 <Property Name="Text" Value="Main Menu" />18 <Property Name="Text" Value="Main Menu" /> 11 19 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> 12 <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0. 2,0},{0.6,0},{0.3,0}}" />20 <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.4,0},{0.6,0},{0.46,0}}" /> 13 21 <Property Name="Alpha" Value="0.7" /> 14 22 <Event Name="Clicked" Function="InGameMenu.button_mainmenu_clicked"/> 23 </Window> 24 <Window Type="TaharezLook/Button" Name="orxonox/InGameMenu_SettingsButton" > 25 <Property Name="Font" Value="BlueHighway-12" /> 26 <Property Name="Text" Value="Settings" /> 27 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> 28 <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.5,0},{0.6,0},{0.56,0}}" /> 29 <Property Name="Alpha" Value="0.7" /> 30 <Event Name="Clicked" Function="InGameMenu.button_settings_clicked"/> 15 31 </Window> 16 32 <Window Type="TaharezLook/Button" Name="orxonox/InGameMenu_QuitButton" > … … 18 34 <Property Name="Text" Value="Quit" /> 19 35 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> 20 <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0. 4,0},{0.6,0},{0.5,0}}" />36 <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.6,0},{0.6,0},{0.66,0}}" /> 21 37 <Property Name="Alpha" Value="0.7" /> 22 38 <Event Name="Clicked" Function="InGameMenu.button_quit_clicked"/> 23 39 </Window> 24 <Window Type="TaharezLook/Button" Name="orxonox/InGameMenu_ReturnButton" >25 <Property Name="Font" Value="BlueHighway-12" />26 <Property Name="Text" Value="return to Game" />27 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />28 <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.6,0},{0.6,0},{0.7,0}}" />29 <Property Name="Alpha" Value="0.7" />30 <Event Name="Clicked" Function="InGameMenu.button_return_clicked"/>31 </Window>32 40 </Window> 33 41 </GUILayout> -
code/branches/presentation2/data/gui/layouts/MainMenu.layout
r6206 r6217 9 9 <Property Name="BackgroundEnabled" Value="False" /> 10 10 <Window Type="TaharezLook/Button" Name="orxonox/QuickGameTestButton" > 11 <Property Name="Text" Value="Q UICK GAME TEST" />11 <Property Name="Text" Value="Quickstart" /> 12 12 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> 13 13 <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.25,0},{0.6,0},{0.3,0}}" /> -
code/branches/presentation2/data/gui/scripts/InGameMenu.lua
r6150 r6217 25 25 orxonox.Game:getInstance():popState() 26 26 orxonox.Game:getInstance():requestState("mainmenu") 27 orxonox.CommandExecutor:execute("hideGUI InGameMenu") 27 hideGUI("InGameMenu") 28 end 29 30 function P.button_settings_clicked(e) 31 showGUI("SettingsMenu", true) 28 32 end 29 33 30 34 function P.button_return_clicked(e) 31 orxonox.CommandExecutor:execute("hideGUIInGameMenu")35 hideGUI("InGameMenu") 32 36 end 33 37 34 38 function P.callback(doExit) 35 39 if doExit then 36 orxonox.CommandExecutor:execute("hideGUIInGameMenu")40 hideGUI("InGameMenu") 37 41 orxonox.CommandExecutor:execute("exit") 38 42 end
Note: See TracChangeset
for help on using the changeset viewer.