Changeset 6595 for code/branches/gamestates2/data
- Timestamp:
- Mar 22, 2010, 2:47:10 PM (15 years ago)
- Location:
- code/branches/gamestates2
- Files:
-
- 31 deleted
- 42 edited
- 14 copied
Legend:
- Unmodified
- Added
- Removed
-
code/branches/gamestates2
- Property svn:mergeinfo changed
/code/branches/gamestate merged: 6441-6442,6459,6537,6544-6546,6548,6564,6566-6567,6569,6571-6572
- Property svn:mergeinfo changed
-
code/branches/gamestates2/data/gui/layouts/AudioMenu.layout
r6417 r6595 2 2 3 3 <GUILayout > 4 <Window Type=" TaharezLook/StaticImage" Name="orxonox/AudioBackground" >4 <Window Type="MenuWidgets/StaticImage" Name="orxonox/AudioBackground" > 5 5 <Property Name="FrameEnabled" Value="False" /> 6 6 <Property Name="InheritsAlpha" Value="False" /> … … 8 8 <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1,0},{1,0}}" /> 9 9 <Property Name="BackgroundEnabled" Value="False" /> 10 <Window Type=" TaharezLook/StaticText" Name="orxonox/AudioWindow" >10 <Window Type="MenuWidgets/StaticText" Name="orxonox/AudioWindow" > 11 11 <Property Name="Text" Value="Audio" /> 12 12 <Property Name="Alpha" Value="0.8" /> … … 16 16 <Property Name="VertFormatting" Value="TopAligned" /> 17 17 <Property Name="UnifiedAreaRect" Value="{{0.2,0},{0.2875,0},{0.8,0},{0.6375,0}}" /> 18 <Window Type=" TaharezLook/StaticText" Name="orxonox/MasterVolume" >18 <Window Type="MenuWidgets/StaticText" Name="orxonox/MasterVolume" > 19 19 <Property Name="Text" Value="Master volume " /> 20 20 <Property Name="InheritsAlpha" Value="False" /> … … 23 23 <Property Name="VertFormatting" Value="TopAligned" /> 24 24 <Property Name="UnifiedAreaRect" Value="{{0.041666,0},{0.15,0},{0.5625,0},{0.3525,0}}" /> 25 <Window Type=" TaharezLook/HorizontalScrollbar" Name="orxonox/MasterScrollbar" >25 <Window Type="MenuWidgets/HorizontalScrollbar" Name="orxonox/MasterScrollbar" > 26 26 <Property Name="PageSize" Value="0" /> 27 27 <Property Name="StepSize" Value="1" /> … … 36 36 <Event Name="ScrollPosChanged" Function="AudioMenu.AudioMasterScrollbar_changed" /> 37 37 </Window> 38 <Window Type=" TaharezLook/Checkbox" Name="orxonox/MasterCheckbox" >38 <Window Type="MenuWidgets/Checkbox" Name="orxonox/MasterCheckbox" > 39 39 <Property Name="Text" Value="Mute" /> 40 40 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> … … 43 43 </Window> 44 44 </Window> 45 <Window Type=" TaharezLook/StaticText" Name="orxonox/MusicVolume" >45 <Window Type="MenuWidgets/StaticText" Name="orxonox/MusicVolume" > 46 46 <Property Name="Text" Value="Music volume " /> 47 47 <Property Name="InheritsAlpha" Value="False" /> … … 50 50 <Property Name="VertFormatting" Value="TopAligned" /> 51 51 <Property Name="UnifiedAreaRect" Value="{{0.041666,0},{0.4335,0},{0.5625,0},{0.636,0}}" /> 52 <Window Type=" TaharezLook/HorizontalScrollbar" Name="orxonox/MusicScrollbar" >52 <Window Type="MenuWidgets/HorizontalScrollbar" Name="orxonox/MusicScrollbar" > 53 53 <Property Name="PageSize" Value="0" /> 54 54 <Property Name="StepSize" Value="1" /> … … 63 63 <Event Name="ScrollPosChanged" Function="AudioMenu.AudioMusicScrollbar_changed" /> 64 64 </Window> 65 <Window Type=" TaharezLook/Checkbox" Name="orxonox/MusicCheckbox" >65 <Window Type="MenuWidgets/Checkbox" Name="orxonox/MusicCheckbox" > 66 66 <Property Name="Text" Value="Mute" /> 67 67 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> … … 70 70 </Window> 71 71 </Window> 72 <Window Type=" TaharezLook/StaticText" Name="orxonox/EffectsVolume" >72 <Window Type="MenuWidgets/StaticText" Name="orxonox/EffectsVolume" > 73 73 <Property Name="Text" Value="Effects volume " /> 74 74 <Property Name="InheritsAlpha" Value="False" /> … … 77 77 <Property Name="VertFormatting" Value="TopAligned" /> 78 78 <Property Name="UnifiedAreaRect" Value="{{0.041666,0},{0.717,0},{0.5625,0},{0.9195,0}}" /> 79 <Window Type=" TaharezLook/HorizontalScrollbar" Name="orxonox/EffectsScrollbar" >79 <Window Type="MenuWidgets/HorizontalScrollbar" Name="orxonox/EffectsScrollbar" > 80 80 <Property Name="PageSize" Value="0" /> 81 81 <Property Name="StepSize" Value="1" /> … … 90 90 <Event Name="ScrollPosChanged" Function="AudioMenu.AudioEffectsScrollbar_changed" /> 91 91 </Window> 92 <Window Type=" TaharezLook/Checkbox" Name="orxonox/EffectsCheckbox" >92 <Window Type="MenuWidgets/Checkbox" Name="orxonox/EffectsCheckbox" > 93 93 <Property Name="Text" Value="Mute" /> 94 94 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> … … 97 97 </Window> 98 98 </Window> 99 <Window Type=" TaharezLook/StaticText" Name="orxonox/AudioTheme" >99 <Window Type="MenuWidgets/StaticText" Name="orxonox/AudioTheme" > 100 100 <Property Name="Text" Value="Theme" /> 101 101 <Property Name="InheritsAlpha" Value="False" /> … … 104 104 <Property Name="VertFormatting" Value="TopAligned" /> 105 105 <Property Name="UnifiedAreaRect" Value="{{0.604166,0},{0.15,0},{0.958333,0},{0.636,0}}" /> 106 <Window Type=" TaharezLook/Listbox" Name="orxonox/AudioThemeListbox" >106 <Window Type="MenuWidgets/Listbox" Name="orxonox/AudioThemeListbox" > 107 107 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> 108 108 <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.225,0},{0.95,0},{0.92,0}}" /> … … 110 110 </Window> 111 111 </Window> 112 <Window Type=" TaharezLook/StaticText" Name="orxonox/AudioInfo" >112 <Window Type="MenuWidgets/StaticText" Name="orxonox/AudioInfo" > 113 113 <Property Name="Text" >Theme changes might take 114 114 up to a minute.</Property> … … 121 121 </Window> 122 122 </Window> 123 <Window Type=" TaharezLook/Button" Name="orxonox/AudioBackButton" >123 <Window Type="MenuWidgets/Button" Name="orxonox/AudioBackButton" > 124 124 <Property Name="Text" Value="Back" /> 125 125 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> -
code/branches/gamestates2/data/gui/layouts/ControlsMenu.layout
r6417 r6595 2 2 3 3 <GUILayout > 4 <Window Type=" TaharezLook/StaticImage" Name="orxonox/ControlsBackground" >4 <Window Type="MenuWidgets/StaticImage" Name="orxonox/ControlsBackground" > 5 5 <Property Name="FrameEnabled" Value="False" /> 6 6 <Property Name="InheritsAlpha" Value="False" /> … … 8 8 <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1,0},{1,0}}" /> 9 9 <Property Name="BackgroundEnabled" Value="False" /> 10 <Window Type=" TaharezLook/StaticText" Name="orxonox/ControlsWindow" >10 <Window Type="MenuWidgets/StaticText" Name="orxonox/ControlsWindow" > 11 11 <Property Name="Text" Value="Controls" /> 12 12 <Property Name="Alpha" Value="0.8" /> … … 16 16 <Property Name="VertFormatting" Value="TopAligned" /> 17 17 <Property Name="UnifiedAreaRect" Value="{{0.25,0},{0.3625,0},{0.75,0},{0.6375,0}}" /> 18 <Window Type=" TaharezLook/Button" Name="orxonox/MouseControlsButton" >18 <Window Type="MenuWidgets/Button" Name="orxonox/MouseControlsButton" > 19 19 <Property Name="Text" Value="Mouse controls" /> 20 20 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> … … 22 22 <Event Name="Clicked" Function="ControlsMenu.ControlsMouseControlsButton_clicked"/> 23 23 </Window> 24 <Window Type=" TaharezLook/Button" Name="orxonox/KeybindingsButton" >24 <Window Type="MenuWidgets/Button" Name="orxonox/KeybindingsButton" > 25 25 <Property Name="Text" Value="Keybindings" /> 26 26 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> … … 29 29 </Window> 30 30 </Window> 31 <Window Type=" TaharezLook/Button" Name="orxonox/ControlsBackButton" >31 <Window Type="MenuWidgets/Button" Name="orxonox/ControlsBackButton" > 32 32 <Property Name="Text" Value="Back" /> 33 33 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> -
code/branches/gamestates2/data/gui/layouts/CreditsMenu.layout
r6417 r6595 2 2 3 3 <GUILayout > 4 <Window Type=" TaharezLook/StaticImage" Name="orxonox/CreditsBackground" >4 <Window Type="MenuWidgets/StaticImage" Name="orxonox/CreditsBackground" > 5 5 <Property Name="FrameEnabled" Value="False" /> 6 6 <Property Name="InheritsAlpha" Value="False" /> … … 8 8 <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1,0},{1,0}}" /> 9 9 <Property Name="BackgroundEnabled" Value="False" /> 10 <Window Type=" TaharezLook/StaticText" Name="orxonox/CreditsWindow" >10 <Window Type="MenuWidgets/StaticText" Name="orxonox/CreditsWindow" > 11 11 <Property Name="Text" Value="Credits" /> 12 12 <Property Name="Alpha" Value="0.8" /> … … 16 16 <Property Name="VertFormatting" Value="TopAligned" /> 17 17 <Property Name="UnifiedAreaRect" Value="{{0.25,0},{0.3625,0},{0.75,0},{0.6375,0}}" /> 18 <Window Type=" TaharezLook/StaticText" Name="orxonox/CreditsText" >18 <Window Type="MenuWidgets/StaticText" Name="orxonox/CreditsText" > 19 19 <Property Name="Text">Orxonox version 0.0.3 20 20 … … 32 32 </Window> 33 33 </Window> 34 <Window Type=" TaharezLook/Button" Name="orxonox/CreditsBackButton" >34 <Window Type="MenuWidgets/Button" Name="orxonox/CreditsBackButton" > 35 35 <Property Name="Text" Value="Back" /> 36 36 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> -
code/branches/gamestates2/data/gui/layouts/DecisionPopup.layout
r6417 r6595 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/StaticImage" Name="orxonox/DecisionPopup_Background" >8 <Window Type="MenuWidgets/StaticImage" Name="orxonox/DecisionPopup_Background" > 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 11 <Property Name="Alpha" Value="0.6" /> 12 <Window Type="TaharezLook/Button" Name="orxonox/DecisionPopup_button_yes" > 13 <Property Name="Font" Value="BlueHighway-12" /> 12 <Window Type="MenuWidgets/Button" Name="orxonox/DecisionPopup_button_yes" > 14 13 <Property Name="Text" Value="Yes" /> 15 14 <Property Name="Alpha" Value="0.7" /> … … 19 18 <Event Name="Clicked" Function="DecisionPopup.button_yes"/> 20 19 </Window> 21 <Window Type="TaharezLook/Button" Name="orxonox/DecisionPopup_button_no" > 22 <Property Name="Font" Value="BlueHighway-12" /> 20 <Window Type="MenuWidgets/Button" Name="orxonox/DecisionPopup_button_no" > 23 21 <Property Name="Text" Value="No" /> 24 22 <Property Name="Alpha" Value="0.8" /> … … 28 26 <Event Name="Clicked" Function="DecisionPopup.button_no"/> 29 27 </Window> 30 <Window Type=" TaharezLook/StaticText" Name="orxonox/DecisionPopup_text" >28 <Window Type="MenuWidgets/StaticText" Name="orxonox/DecisionPopup_text" > 31 29 <Property Name="Text" Value="Template text" /> 32 30 <Property Name="HorzFormatting" Value="WordWrapCentred" /> -
code/branches/gamestates2/data/gui/layouts/GameplayMenu.layout
r6417 r6595 2 2 3 3 <GUILayout > 4 <Window Type=" TaharezLook/StaticImage" Name="orxonox/GameplayBackground" >4 <Window Type="MenuWidgets/StaticImage" Name="orxonox/GameplayBackground" > 5 5 <Property Name="FrameEnabled" Value="False" /> 6 6 <Property Name="InheritsAlpha" Value="False" /> … … 8 8 <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1,0},{1,0}}" /> 9 9 <Property Name="BackgroundEnabled" Value="False" /> 10 <Window Type=" TaharezLook/StaticText" Name="orxonox/GameplayWindow" >10 <Window Type="MenuWidgets/StaticText" Name="orxonox/GameplayWindow" > 11 11 <Property Name="Text" Value="Gameplay" /> 12 12 <Property Name="Alpha" Value="0.8" /> … … 16 16 <Property Name="VertFormatting" Value="TopAligned" /> 17 17 <Property Name="UnifiedAreaRect" Value="{{0.25,0},{0.3625,0},{0.75,0},{0.6375,0}}" /> 18 <Window Type=" TaharezLook/StaticText" Name="orxonox/Difficulty" >18 <Window Type="MenuWidgets/StaticText" Name="orxonox/Difficulty" > 19 19 <Property Name="Text" Value="Difficulty" /> 20 20 <Property Name="InheritsAlpha" Value="False" /> … … 23 23 <Property Name="VertFormatting" Value="TopAligned" /> 24 24 <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.2,0},{0.475,0},{0.9,0}}" /> 25 <Window Type=" TaharezLook/RadioButton" Name="orxonox/DifficultyEasyButton" >25 <Window Type="MenuWidgets/RadioButton" Name="orxonox/DifficultyEasyButton" > 26 26 <Property Name="Text" Value="Easy" /> 27 27 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> … … 29 29 <Event Name="SelectStateChanged" Function="GameplayMenu.GameplayDifficultyEasyButton_clicked"/> 30 30 </Window> 31 <Window Type=" TaharezLook/RadioButton" Name="orxonox/DifficultyNormalButton" >31 <Window Type="MenuWidgets/RadioButton" Name="orxonox/DifficultyNormalButton" > 32 32 <Property Name="Text" Value="Normal" /> 33 33 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> … … 35 35 <Event Name="SelectStateChanged" Function="GameplayMenu.GameplayDifficultyNormalButton_clicked"/> 36 36 </Window> 37 <Window Type=" TaharezLook/RadioButton" Name="orxonox/DifficultyHardButton" >37 <Window Type="MenuWidgets/RadioButton" Name="orxonox/DifficultyHardButton" > 38 38 <Property Name="Text" Value="Hard" /> 39 39 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> … … 42 42 </Window> 43 43 </Window> 44 <Window Type=" TaharezLook/StaticText" Name="orxonox/Theme" >44 <Window Type="MenuWidgets/StaticText" Name="orxonox/Theme" > 45 45 <Property Name="Text" Value="Theme" /> 46 46 <Property Name="InheritsAlpha" Value="False" /> … … 49 49 <Property Name="VertFormatting" Value="TopAligned" /> 50 50 <Property Name="UnifiedAreaRect" Value="{{0.525,0},{0.2,0},{0.95,0},{0.9,0}}" /> 51 <Window Type=" TaharezLook/Combobox" Name="orxonox/ThemeCombobox" >51 <Window Type="MenuWidgets/Combobox" Name="orxonox/ThemeCombobox" > 52 52 <Property Name="AlwaysOnTop" Value="True" /> 53 53 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> … … 59 59 </Window> 60 60 </Window> 61 <Window Type=" TaharezLook/Button" Name="orxonox/GameplayBackButton" >61 <Window Type="MenuWidgets/Button" Name="orxonox/GameplayBackButton" > 62 62 <Property Name="Text" Value="Back" /> 63 63 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> -
code/branches/gamestates2/data/gui/layouts/GraphicsMenu.layout
r6417 r6595 2 2 3 3 <GUILayout > 4 <Window Type=" TaharezLook/StaticImage" Name="orxonox/GraphicsBackground" >4 <Window Type="MenuWidgets/StaticImage" Name="orxonox/GraphicsBackground" > 5 5 <Property Name="FrameEnabled" Value="False" /> 6 6 <Property Name="InheritsAlpha" Value="False" /> … … 8 8 <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1,0},{1,0}}" /> 9 9 <Property Name="BackgroundEnabled" Value="False" /> 10 <Window Type=" TaharezLook/StaticText" Name="orxonox/GraphicsWindow" >10 <Window Type="MenuWidgets/StaticText" Name="orxonox/GraphicsWindow" > 11 11 <Property Name="Text" Value="Graphics" /> 12 12 <Property Name="Alpha" Value="0.8" /> … … 16 16 <Property Name="VertFormatting" Value="TopAligned" /> 17 17 <Property Name="UnifiedAreaRect" Value="{{0.25,0},{0.2875,0},{0.75,0},{0.6375,0}}" /> 18 <Window Type=" TaharezLook/StaticText" Name="orxonox/Resolution" >18 <Window Type="MenuWidgets/StaticText" Name="orxonox/Resolution" > 19 19 <Property Name="Text" Value="Resolution" /> 20 20 <Property Name="InheritsAlpha" Value="False" /> … … 23 23 <Property Name="VertFormatting" Value="TopAligned" /> 24 24 <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.15,0},{0.475,0},{0.92,0}}" /> 25 <Window Type=" TaharezLook/Listbox" Name="orxonox/ResolutionListbox" >25 <Window Type="MenuWidgets/Listbox" Name="orxonox/ResolutionListbox" > 26 26 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> 27 27 <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.15,0},{0.95,0},{0.95,0}}" /> … … 29 29 </Window> 30 30 </Window> 31 <Window Type=" TaharezLook/StaticText" Name="orxonox/Brightness" >31 <Window Type="MenuWidgets/StaticText" Name="orxonox/Brightness" > 32 32 <Property Name="Text" Value="Brightness" /> 33 33 <Property Name="InheritsAlpha" Value="False" /> … … 36 36 <Property Name="VertFormatting" Value="TopAligned" /> 37 37 <Property Name="UnifiedAreaRect" Value="{{0.525,0},{0.15,0},{0.95,0},{0.35,0}}" /> 38 <Window Type=" TaharezLook/HorizontalScrollbar" Name="orxonox/BrightnessScrollbar" >38 <Window Type="MenuWidgets/HorizontalScrollbar" Name="orxonox/BrightnessScrollbar" > 39 39 <Property Name="Disabled" Value="true" /> 40 40 <Property Name="PageSize" Value="0" /> … … 50 50 </Window> 51 51 </Window> 52 <Window Type=" TaharezLook/Checkbox" Name="orxonox/FullscreenCheckbox" >52 <Window Type="MenuWidgets/Checkbox" Name="orxonox/FullscreenCheckbox" > 53 53 <Property Name="Text" Value="Fullscreen" /> 54 54 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> … … 56 56 <Event Name="CheckStateChanged" Function="GraphicsMenu.GraphicsFullscreenCheckbox_clicked"/> 57 57 </Window> 58 <Window Type=" TaharezLook/StaticText" Name="orxonox/GraphicsInfo" >58 <Window Type="MenuWidgets/StaticText" Name="orxonox/GraphicsInfo" > 59 59 <Property Name="Text" > 60 60 Changes in graphics … … 69 69 </Window> 70 70 </Window> 71 <Window Type=" TaharezLook/Button" Name="orxonox/GraphicsBackButton" >71 <Window Type="MenuWidgets/Button" Name="orxonox/GraphicsBackButton" > 72 72 <Property Name="Text" Value="Back" /> 73 73 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> -
code/branches/gamestates2/data/gui/layouts/InGameMenu.layout
r6417 r6595 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" /> 8 <Window Type="MenuWidgets/Button" Name="orxonox/InGameMenu_ReturnButton" > 10 9 <Property Name="Text" Value="Return to Game" /> 11 10 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> … … 14 13 <Event Name="Clicked" Function="InGameMenu.button_return_clicked"/> 15 14 </Window> 16 <Window Type="TaharezLook/Button" Name="orxonox/InGameMenu_MainMenuButton" > 17 <Property Name="Font" Value="BlueHighway-12" /> 15 <Window Type="MenuWidgets/Button" Name="orxonox/InGameMenu_MainMenuButton" > 18 16 <Property Name="Text" Value="Main Menu" /> 19 17 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> … … 22 20 <Event Name="Clicked" Function="InGameMenu.button_mainmenu_clicked"/> 23 21 </Window> 24 <Window Type="TaharezLook/Button" Name="orxonox/InGameMenu_SettingsButton" > 25 <Property Name="Font" Value="BlueHighway-12" /> 22 <Window Type="MenuWidgets/Button" Name="orxonox/InGameMenu_SettingsButton" > 26 23 <Property Name="Text" Value="Settings" /> 27 24 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> … … 30 27 <Event Name="Clicked" Function="InGameMenu.button_settings_clicked"/> 31 28 </Window> 32 <Window Type="TaharezLook/Button" Name="orxonox/InGameMenu_QuitButton" > 33 <Property Name="Font" Value="BlueHighway-12" /> 29 <Window Type="MenuWidgets/Button" Name="orxonox/InGameMenu_QuitButton" > 34 30 <Property Name="Text" Value="Quit" /> 35 31 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> -
code/branches/gamestates2/data/gui/layouts/InGameTest.layout
r5781 r6595 4 4 <Property Name="UnifiedSize" Value="{{1.0,0},{1.0,0}}"/> 5 5 6 <Window Type=" TaharezLook/Button" Name="orxonox/TestButton">6 <Window Type="MenuWidgets/Button" Name="orxonox/TestButton"> 7 7 <Property Name="UnifiedPosition" Value="{{0.11,0},{0.528,0}}"/> 8 8 <Property Name="UnifiedSize" Value="{{0.15,0},{0.05,0}}"/> -
code/branches/gamestates2/data/gui/layouts/InfoPopup.layout
r6417 r6595 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/StaticImage" Name="orxonox/InfoPopup_Background" >8 <Window Type="MenuWidgets/StaticImage" Name="orxonox/InfoPopup_Background" > 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 11 <Property Name="Alpha" Value="0.7" /> 12 <Window Type="TaharezLook/Button" Name="orxonox/InfoPopup_close" > 13 <Property Name="Font" Value="BlueHighway-12" /> 12 <Window Type="MenuWidgets/Button" Name="orxonox/InfoPopup_close" > 14 13 <Property Name="Text" Value="Close" /> 15 14 <Property Name="Alpha" Value="0.7" /> … … 19 18 <Event Name="Clicked" Function="InfoPopup.close"/> 20 19 </Window> 21 <Window Type=" TaharezLook/StaticText" Name="orxonox/InfoPopup_text" >20 <Window Type="MenuWidgets/StaticText" Name="orxonox/InfoPopup_text" > 22 21 <Property Name="Text" Value="Template text" /> 23 22 <Property Name="TextColours" Value="FF4444FF" /> -
code/branches/gamestates2/data/gui/layouts/KeyBindMenu.layout
r6417 r6595 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/StaticText" Name="orxonox/KeyBindWindow" >8 <Window Type="MenuWidgets/StaticText" Name="orxonox/KeyBindWindow" > 9 9 <Property Name="Text" Value="Keybindings" /> 10 10 <Property Name="Alpha" Value="0.8" /> … … 14 14 <Property Name="VertFormatting" Value="TopAligned" /> 15 15 <Property Name="UnifiedAreaRect" Value="{{0.15,0},{0.2125,0},{0.85,0},{0.6375,0}}" /> 16 <Window Type=" TaharezLook/StaticText" Name="orxonox/KeyBindWrapper" >16 <Window Type="MenuWidgets/StaticText" Name="orxonox/KeyBindWrapper" > 17 17 <Property Name="TextColours" Value="FF4444FF" /> 18 18 <Property Name="InheritsAlpha" Value="False" /> … … 21 21 <Property Name="VertFormatting" Value="TopAligned" /> 22 22 <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.15,0},{0.95,0},{0.92,0}}" /> 23 <Window Type=" TaharezLook/ScrollablePane" Name="orxonox/KeyBindPane" >23 <Window Type="MenuWidgets/ScrollablePane" Name="orxonox/KeyBindPane" > 24 24 <Property Name="ContentArea" Value="l:0 t:0 r:0 b:0" /> 25 25 <Property Name="HorzStepSize" Value="0.005" /> … … 34 34 </Window> 35 35 </Window> 36 <Window Type=" TaharezLook/Button" Name="orxonox/KeyBindBackButton" >36 <Window Type="MenuWidgets/Button" Name="orxonox/KeyBindBackButton" > 37 37 <Property Name="Text" Value="Back" /> 38 38 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> -
code/branches/gamestates2/data/gui/layouts/MainMenu.layout
r6417 r6595 2 2 3 3 <GUILayout > 4 <Window Type=" TaharezLook/StaticImage" Name="orxonox/MainMenuBackground" >4 <Window Type="MenuWidgets/StaticImage" Name="orxonox/MainMenuBackground" > 5 5 <Property Name="FrameEnabled" Value="False" /> 6 6 <Property Name="InheritsAlpha" Value="False" /> 7 7 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> 8 <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1.0 2125,0},{1.02167,0}}" />8 <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1.0,0},{1.0,0}}" /> 9 9 <Property Name="BackgroundEnabled" Value="False" /> 10 <Window Type=" TaharezLook/Button" Name="orxonox/QuickGameTestButton" >10 <Window Type="MenuWidgets/Button" Name="orxonox/QuickGameTestButton" > 11 11 <Property Name="Text" Value="Quickstart" /> 12 12 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> … … 14 14 <Event Name="Clicked" Function="MainMenu.QuickGameTestButton_clicked"/> 15 15 </Window> 16 <Window Type=" TaharezLook/Button" Name="orxonox/SingleplayerButton" >16 <Window Type="MenuWidgets/Button" Name="orxonox/SingleplayerButton" > 17 17 <Property Name="Text" Value="Singleplayer" /> 18 18 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> … … 20 20 <Event Name="Clicked" Function="MainMenu.SingleplayerButton_clicked"/> 21 21 </Window> 22 <Window Type=" TaharezLook/Button" Name="orxonox/MultiplayerButton" >22 <Window Type="MenuWidgets/Button" Name="orxonox/MultiplayerButton" > 23 23 <Property Name="Text" Value="Multiplayer" /> 24 24 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> … … 26 26 <Event Name="Clicked" Function="MainMenu.MultiplayerButton_clicked"/> 27 27 </Window> 28 <Window Type=" TaharezLook/Button" Name="orxonox/SettingsButton" >28 <Window Type="MenuWidgets/Button" Name="orxonox/SettingsButton" > 29 29 <Property Name="Text" Value="Settings" /> 30 30 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> … … 32 32 <Event Name="Clicked" Function="MainMenu.SettingsButton_clicked"/> 33 33 </Window> 34 <Window Type=" TaharezLook/Button" Name="orxonox/CreditsButton" >34 <Window Type="MenuWidgets/Button" Name="orxonox/CreditsButton" > 35 35 <Property Name="Text" Value="Credits" /> 36 36 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> … … 38 38 <Event Name="Clicked" Function="MainMenu.CreditsButton_clicked"/> 39 39 </Window> 40 <Window Type=" TaharezLook/Button" Name="orxonox/ExitButton" >40 <Window Type="MenuWidgets/Button" Name="orxonox/ExitButton" > 41 41 <Property Name="Text" Value="Exit" /> 42 42 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> -
code/branches/gamestates2/data/gui/layouts/MainMenuBackground.layout
r6417 r6595 1 1 <?xml version="1.0" ?> 2 2 <GUILayout> 3 <Window Type=" TaharezLook/StaticImage" Name="orxonox/Background">3 <Window Type="MenuWidgets/StaticImage" Name="orxonox/Background"> 4 4 <Property Name="UnifiedSize" Value="{{1.0,0},{1.0,0}}"/> 5 5 <Property Name="Image" Value="set:MainMenuBackground image:Background"/> -
code/branches/gamestates2/data/gui/layouts/MouseControlsMenu.layout
r6417 r6595 2 2 3 3 <GUILayout > 4 <Window Type=" TaharezLook/StaticImage" Name="orxonox/MouseControlsBackground" >4 <Window Type="MenuWidgets/StaticImage" Name="orxonox/MouseControlsBackground" > 5 5 <Property Name="FrameEnabled" Value="False" /> 6 6 <Property Name="InheritsAlpha" Value="False" /> … … 8 8 <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1,0},{1,0}}" /> 9 9 <Property Name="BackgroundEnabled" Value="False" /> 10 <Window Type=" TaharezLook/StaticText" Name="orxonox/MouseControlsWindow" >10 <Window Type="MenuWidgets/StaticText" Name="orxonox/MouseControlsWindow" > 11 11 <Property Name="Text" Value="Mouse controls" /> 12 12 <Property Name="Alpha" Value="0.8" /> … … 16 16 <Property Name="VertFormatting" Value="TopAligned" /> 17 17 <Property Name="UnifiedAreaRect" Value="{{0.25,0},{0.3625,0},{0.75,0},{0.6375,0}}" /> 18 <Window Type=" TaharezLook/StaticText" Name="orxonox/MouseNormalSensitivity" >18 <Window Type="MenuWidgets/StaticText" Name="orxonox/MouseNormalSensitivity" > 19 19 <Property Name="Text" Value="Sensitivity (normal mode) " /> 20 20 <Property Name="InheritsAlpha" Value="False" /> … … 23 23 <Property Name="VertFormatting" Value="TopAligned" /> 24 24 <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.2,0},{0.95,0},{0.45,0}}" /> 25 <Window Type=" TaharezLook/HorizontalScrollbar" Name="orxonox/MouseNormalScrollbar" >25 <Window Type="MenuWidgets/HorizontalScrollbar" Name="orxonox/MouseNormalScrollbar" > 26 26 <Property Name="PageSize" Value="0" /> 27 27 <Property Name="StepSize" Value="1" /> … … 36 36 <Event Name="ScrollPosChanged" Function="MouseControlsMenu.MouseControlsMouseNormalScrollbar_changed" /> 37 37 </Window> 38 <Window Type=" TaharezLook/RadioButton" Name="orxonox/MouseNormalButton" >38 <Window Type="MenuWidgets/RadioButton" Name="orxonox/MouseNormalButton" > 39 39 <Property Name="Text" Value="Normal mouse input" /> 40 40 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> … … 43 43 </Window> 44 44 </Window> 45 <Window Type=" TaharezLook/StaticText" Name="orxonox/MouseDeriveSensitivity" >45 <Window Type="MenuWidgets/StaticText" Name="orxonox/MouseDeriveSensitivity" > 46 46 <Property Name="Text" Value="Sensitivity (derive mode) " /> 47 47 <Property Name="InheritsAlpha" Value="False" /> … … 50 50 <Property Name="VertFormatting" Value="TopAligned" /> 51 51 <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.55,0},{0.95,0},{0.8,0}}" /> 52 <Window Type=" TaharezLook/HorizontalScrollbar" Name="orxonox/MouseDeriveScrollbar" >52 <Window Type="MenuWidgets/HorizontalScrollbar" Name="orxonox/MouseDeriveScrollbar" > 53 53 <Property Name="PageSize" Value="0" /> 54 54 <Property Name="StepSize" Value="1" /> … … 63 63 <Event Name="ScrollPosChanged" Function="MouseControlsMenu.MouseControlsMouseDeriveScrollbar_changed" /> 64 64 </Window> 65 <Window Type=" TaharezLook/RadioButton" Name="orxonox/MouseDeriveButton" >65 <Window Type="MenuWidgets/RadioButton" Name="orxonox/MouseDeriveButton" > 66 66 <Property Name="Text" Value="Derive mouse input" /> 67 67 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> … … 70 70 </Window> 71 71 </Window> 72 <Window Type=" TaharezLook/Checkbox" Name="orxonox/MouseInvertCheckbox" >72 <Window Type="MenuWidgets/Checkbox" Name="orxonox/MouseInvertCheckbox" > 73 73 <Property Name="Text" Value="Invert mouse" /> 74 74 <Property Name="Disabled" Value="true" /> … … 78 78 </Window> 79 79 </Window> 80 <Window Type=" TaharezLook/Button" Name="orxonox/MouseControlsBackButton" >80 <Window Type="MenuWidgets/Button" Name="orxonox/MouseControlsBackButton" > 81 81 <Property Name="Text" Value="Back" /> 82 82 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> -
code/branches/gamestates2/data/gui/layouts/MultiplayerMenu.layout
r6417 r6595 2 2 3 3 <GUILayout > 4 <Window Type=" TaharezLook/StaticImage" Name="orxonox/MultiplayerBackground" >4 <Window Type="MenuWidgets/StaticImage" Name="orxonox/MultiplayerBackground" > 5 5 <Property Name="FrameEnabled" Value="False" /> 6 6 <Property Name="InheritsAlpha" Value="False" /> … … 8 8 <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1,0},{1,0}}" /> 9 9 <Property Name="BackgroundEnabled" Value="False" /> 10 <Window Type=" TaharezLook/StaticText" Name="orxonox/MultiplayerWindow" >10 <Window Type="MenuWidgets/StaticText" Name="orxonox/MultiplayerWindow" > 11 11 <Property Name="Text" Value="Multiplayer" /> 12 12 <Property Name="Alpha" Value="0.8" /> … … 16 16 <Property Name="VertFormatting" Value="TopAligned" /> 17 17 <Property Name="UnifiedAreaRect" Value="{{0.25,0},{0.2875,0},{0.75,0},{0.6375,0}}" /> 18 <Window Type=" TaharezLook/Listbox" Name="orxonox/MultiplayerLevelListbox" >18 <Window Type="MenuWidgets/Listbox" Name="orxonox/MultiplayerLevelListbox" > 19 19 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> 20 20 <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.15,0},{0.95,0},{0.8,0}}" /> 21 21 </Window> 22 <Window Type=" TaharezLook/RadioButton" Name="orxonox/MultiplayerJoinButton" >22 <Window Type="MenuWidgets/RadioButton" Name="orxonox/MultiplayerJoinButton" > 23 23 <Property Name="Text" Value="Join" /> 24 24 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> … … 26 26 <Event Name="SelectStateChanged" Function="MultiplayerMenu.MultiplayerJoinButton_clicked"/> 27 27 </Window> 28 <Window Type=" TaharezLook/RadioButton" Name="orxonox/MultiplayerHostButton" >28 <Window Type="MenuWidgets/RadioButton" Name="orxonox/MultiplayerHostButton" > 29 29 <Property Name="Text" Value="Host" /> 30 30 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> … … 32 32 <Event Name="SelectStateChanged" Function="MultiplayerMenu.MultiplayerHostButton_clicked"/> 33 33 </Window> 34 <Window Type=" TaharezLook/RadioButton" Name="orxonox/MultiplayerDedicatedButton" >34 <Window Type="MenuWidgets/RadioButton" Name="orxonox/MultiplayerDedicatedButton" > 35 35 <Property Name="Text" Value="Dedicated" /> 36 36 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> … … 39 39 </Window> 40 40 </Window> 41 <Window Type=" TaharezLook/Button" Name="orxonox/MultiplayerStartButton" >41 <Window Type="MenuWidgets/Button" Name="orxonox/MultiplayerStartButton" > 42 42 <Property Name="Text" Value="Start" /> 43 43 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> … … 45 45 <Event Name="Clicked" Function="MultiplayerMenu.MultiplayerStartButton_clicked"/> 46 46 </Window> 47 <Window Type=" TaharezLook/Button" Name="orxonox/MultiplayerBackButton" >47 <Window Type="MenuWidgets/Button" Name="orxonox/MultiplayerBackButton" > 48 48 <Property Name="Text" Value="Back" /> 49 49 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> -
code/branches/gamestates2/data/gui/layouts/MultiplayerOptionsMenu.layout
r6417 r6595 2 2 3 3 <GUILayout > 4 <Window Type=" TaharezLook/StaticImage" Name="orxonox/MultiplayerOptionsBackground" >4 <Window Type="MenuWidgets/StaticImage" Name="orxonox/MultiplayerOptionsBackground" > 5 5 <Property Name="FrameEnabled" Value="False" /> 6 6 <Property Name="InheritsAlpha" Value="False" /> … … 8 8 <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1,0},{1,0}}" /> 9 9 <Property Name="BackgroundEnabled" Value="False" /> 10 <Window Type=" TaharezLook/StaticText" Name="orxonox/MultiplayerOptionsWindow" >10 <Window Type="MenuWidgets/StaticText" Name="orxonox/MultiplayerOptionsWindow" > 11 11 <Property Name="Text" Value="Multiplayer options" /> 12 12 <Property Name="Alpha" Value="0.8" /> … … 17 17 <Property Name="UnifiedAreaRect" Value="{{0.25,0},{0.3625,0},{0.75,0},{0.6375,0}}" /> 18 18 </Window> 19 <Window Type=" TaharezLook/Button" Name="orxonox/MultiplayerOptionsBackButton" >19 <Window Type="MenuWidgets/Button" Name="orxonox/MultiplayerOptionsBackButton" > 20 20 <Property Name="Text" Value="Back" /> 21 21 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> -
code/branches/gamestates2/data/gui/layouts/PickupInventory.layout
r6417 r6595 1 1 <?xml version="1.0" encoding="UTF-8" ?> 2 2 <GUILayout> 3 <Window Type=" TaharezLook/FrameWindow" Name="orxonox/Inventory">3 <Window Type="MenuWidgets/FrameWindow" Name="orxonox/Inventory"> 4 4 <Property Name="UnifiedMinSize" Value="{{0.0,385},{0.0,200}}" /> 5 5 <Property Name="UnifiedMaxSize" Value="{{0.0,385},{0.0,200}}" /> … … 9 9 <Property Name="CloseButtonEnabled" Value="False" /> 10 10 11 <Window Type=" TaharezLook/TabControl" Name="orxonox/Inventory/TabControl" >11 <Window Type="MenuWidgets/TabControl" Name="orxonox/Inventory/TabControl" > 12 12 <Property Name="Tooltip" Value="Inventory" /> 13 13 <Property Name="TabHeight" Value="{0,-1}" /> … … 16 16 <Property Name="UnifiedAreaRect" Value="{{0,10},{0,30},{1,-10},{1,-10}}" /> 17 17 18 <Window Type=" TaharezLook/ScrollablePane" Name="orxonox/Inventory/TabControl/TabEquipment">18 <Window Type="MenuWidgets/ScrollablePane" Name="orxonox/Inventory/TabControl/TabEquipment"> 19 19 <Property Name="Text" Value="Equipment" /> 20 20 <Property Name="UnifiedPosition" Value="{{0.0,3},{0.0,3}}"/> 21 21 <Property Name="UnifiedSize" Value="{{1.0,-6},{1.0,-6}}"/> 22 22 </Window> 23 <Window Type=" TaharezLook/ScrollablePane" Name="orxonox/Inventory/TabControl/TabUsable">23 <Window Type="MenuWidgets/ScrollablePane" Name="orxonox/Inventory/TabControl/TabUsable"> 24 24 <Property Name="Text" Value="Usable" /> 25 25 <Property Name="UnifiedPosition" Value="{{0.0,3},{0.0,3}}"/> -
code/branches/gamestates2/data/gui/layouts/QuestGUI.layout
r6417 r6595 1 1 <?xml version="1.0" ?> 2 2 <GUILayout> 3 <Window Type=" TaharezLook/StaticImage" Name="orxonox/QuestGUI/Background">3 <Window Type="MenuWidgets/StaticImage" Name="orxonox/QuestGUI/Background"> 4 4 <Property Name="UnifiedSize" Value="{{1.0,0},{1.0,0}}"/> 5 5 <Property Name="Image" Value="set:MainMenuBackground image:Background"/> … … 8 8 <Property Name="InheritsAlpha" Value="False" /> 9 9 10 <Window Type=" TaharezLook/Titlebar" Name="orxonox/QuestGUI/Title">10 <Window Type="MenuWidgets/Titlebar" Name="orxonox/QuestGUI/Title"> 11 11 <Property Name="UnifiedPosition" Value="{{0.05,0},{0.05,0}}"/> 12 12 <Property Name="UnifiedSize" Value="{{0.9,0},{0.05,0}}"/> … … 14 14 </Window> 15 15 16 <Window Type=" TaharezLook/Listbox" Name="orxonox/QuestGUI/QuestsList">16 <Window Type="MenuWidgets/Listbox" Name="orxonox/QuestGUI/QuestsList"> 17 17 <Property Name="UnifiedPosition" Value="{{0.07,0},{0.18,0}}" /> 18 18 <Property Name="UnifiedSize" Value="{{0.86,0},{0.8,0}}" /> -
code/branches/gamestates2/data/gui/layouts/SettingsMenu.layout
r6417 r6595 2 2 3 3 <GUILayout > 4 <Window Type=" TaharezLook/StaticImage" Name="orxonox/SettingsBackground" >4 <Window Type="MenuWidgets/StaticImage" Name="orxonox/SettingsBackground" > 5 5 <Property Name="InheritsAlpha" Value="False" /> 6 6 <Property Name="FrameEnabled" Value="False" /> … … 8 8 <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1,0},{1,0}}" /> 9 9 <Property Name="BackgroundEnabled" Value="False" /> 10 <Window Type=" TaharezLook/StaticText" Name="orxonox/SettingsWindow" >10 <Window Type="MenuWidgets/StaticText" Name="orxonox/SettingsWindow" > 11 11 <Property Name="Text" Value="Settings" /> 12 12 <Property Name="Alpha" Value="0.8" /> … … 16 16 <Property Name="VertFormatting" Value="TopAligned" /> 17 17 <Property Name="UnifiedAreaRect" Value="{{0.25,0},{0.3625,0},{0.75,0},{0.6375,0}}" /> 18 <Window Type=" TaharezLook/Button" Name="orxonox/GameplayButton" >18 <Window Type="MenuWidgets/Button" Name="orxonox/GameplayButton" > 19 19 <Property Name="Text" Value="Gameplay" /> 20 20 <Property Name="Disabled" Value="True" /> … … 23 23 <Event Name="Clicked" Function="SettingsMenu.SettingsGameplayButton_clicked"/> 24 24 </Window> 25 <Window Type=" TaharezLook/Button" Name="orxonox/MultiplayerOptionsButton" >25 <Window Type="MenuWidgets/Button" Name="orxonox/MultiplayerOptionsButton" > 26 26 <Property Name="Text" Value="Multiplayer options" /> 27 27 <Property Name="Disabled" Value="True" /> … … 30 30 <Event Name="Clicked" Function="SettingsMenu.SettingsMultiplayerOptionsButton_clicked"/> 31 31 </Window> 32 <Window Type=" TaharezLook/Button" Name="orxonox/ControlsButton" >32 <Window Type="MenuWidgets/Button" Name="orxonox/ControlsButton" > 33 33 <Property Name="Text" Value="Controls" /> 34 34 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> … … 36 36 <Event Name="Clicked" Function="SettingsMenu.SettingsControlsButton_clicked"/> 37 37 </Window> 38 <Window Type=" TaharezLook/Button" Name="orxonox/GraphicsButton" >38 <Window Type="MenuWidgets/Button" Name="orxonox/GraphicsButton" > 39 39 <Property Name="Text" Value="Graphics" /> 40 40 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> … … 42 42 <Event Name="Clicked" Function="SettingsMenu.SettingsGraphicsButton_clicked"/> 43 43 </Window> 44 <Window Type=" TaharezLook/Button" Name="orxonox/AudioButton" >44 <Window Type="MenuWidgets/Button" Name="orxonox/AudioButton" > 45 45 <Property Name="Text" Value="Audio" /> 46 46 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> … … 48 48 <Event Name="Clicked" Function="SettingsMenu.SettingsAudioButton_clicked"/> 49 49 </Window> 50 <Window Type=" TaharezLook/Button" Name="orxonox/ResetSettingsButton" >50 <Window Type="MenuWidgets/Button" Name="orxonox/ResetSettingsButton" > 51 51 <Property Name="Text" Value="Reset settings" /> 52 52 <Property Name="Disabled" Value="True" /> … … 56 56 </Window> 57 57 </Window> 58 <Window Type=" TaharezLook/Button" Name="orxonox/SettingsBackButton" >58 <Window Type="MenuWidgets/Button" Name="orxonox/SettingsBackButton" > 59 59 <Property Name="Text" Value="Back" /> 60 60 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> -
code/branches/gamestates2/data/gui/layouts/SingleplayerMenu.layout
r6417 r6595 2 2 3 3 <GUILayout > 4 <Window Type=" TaharezLook/StaticImage" Name="orxonox/SingleplayerBackground" >4 <Window Type="MenuWidgets/StaticImage" Name="orxonox/SingleplayerBackground" > 5 5 <Property Name="FrameEnabled" Value="False" /> 6 6 <Property Name="InheritsAlpha" Value="False" /> … … 8 8 <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1,0},{1,0}}" /> 9 9 <Property Name="BackgroundEnabled" Value="False" /> 10 <Window Type=" TaharezLook/StaticText" Name="orxonox/SingleplayerWindow" >10 <Window Type="MenuWidgets/StaticText" Name="orxonox/SingleplayerWindow" > 11 11 <Property Name="Text" Value="Singleplayer" /> 12 12 <Property Name="Alpha" Value="0.8" /> … … 16 16 <Property Name="VertFormatting" Value="TopAligned" /> 17 17 <Property Name="UnifiedAreaRect" Value="{{0.25,0},{0.2875,0},{0.75,0},{0.6375,0}}" /> 18 <Window Type=" TaharezLook/Listbox" Name="orxonox/SingleplayerLevelListbox" >18 <Window Type="MenuWidgets/Listbox" Name="orxonox/SingleplayerLevelListbox" > 19 19 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> 20 20 <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.15,0},{0.95,0},{0.92,0}}" /> 21 21 </Window> 22 22 </Window> 23 <Window Type=" TaharezLook/Button" Name="orxonox/SingleplayerStartButton" >23 <Window Type="MenuWidgets/Button" Name="orxonox/SingleplayerStartButton" > 24 24 <Property Name="Text" Value="Start" /> 25 25 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> … … 27 27 <Event Name="Clicked" Function="SingleplayerMenu.SingleplayerStartButton_clicked"/> 28 28 </Window> 29 <Window Type=" TaharezLook/Button" Name="orxonox/SingleplayerBackButton" >29 <Window Type="MenuWidgets/Button" Name="orxonox/SingleplayerBackButton" > 30 30 <Property Name="Text" Value="Back" /> 31 31 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> -
code/branches/gamestates2/data/gui/schemes/OrxonoxGUIScheme.scheme
r5951 r6595 2 2 <GUIScheme Name="OrxonoxGUI"> 3 3 <Imageset Name="MainMenuBackground" Filename="MainMenuBackground.imageset"/> 4 <Font Name="BlueHighway-12" Filename="bluehighway-12.font" /> 5 <Font Name="BlueHighway-10" Filename="bluehighway-10.font" /> 6 <Font Name="BlueHighway-8" Filename="bluehighway-8.font" /> 4 7 </GUIScheme> -
code/branches/gamestates2/data/gui/schemes/TaharezLook.scheme
r5781 r6595 2 2 <GUIScheme Name="TaharezLook"> 3 3 <Imageset Name="TaharezLook" Filename="TaharezLook.imageset" /> 4 <Font Name="Commonwealth-10" Filename="Commonwealth-10.font" />5 4 <LookNFeel Filename="TaharezLook.looknfeel" /> 6 5 <WindowRendererSet Filename="CEGUIFalagardWRBase" /> 7 <FalagardMapping WindowType="TaharezLook/Button" TargetType="CEGUI/PushButton" Renderer="Falagard/Button" LookNFeel="TaharezLook/Button" /> 8 <FalagardMapping WindowType="TaharezLook/Checkbox" TargetType="CEGUI/Checkbox" Renderer="Falagard/ToggleButton" LookNFeel="TaharezLook/Checkbox" /> 9 <FalagardMapping WindowType="TaharezLook/ImageButton" TargetType="CEGUI/PushButton" Renderer="Falagard/Button" LookNFeel="TaharezLook/ImageButton" /> 10 <FalagardMapping WindowType="TaharezLook/RadioButton" TargetType="CEGUI/RadioButton" Renderer="Falagard/ToggleButton" LookNFeel="TaharezLook/RadioButton" /> 11 <FalagardMapping WindowType="TaharezLook/FrameWindow" TargetType="CEGUI/FrameWindow" Renderer="Falagard/FrameWindow" LookNFeel="TaharezLook/FrameWindow" /> 12 <FalagardMapping WindowType="TaharezLook/Titlebar" TargetType="CEGUI/Titlebar" Renderer="Falagard/Titlebar" LookNFeel="TaharezLook/Titlebar" /> 13 <FalagardMapping WindowType="TaharezLook/SystemButton" TargetType="CEGUI/PushButton" Renderer="Falagard/SystemButton" LookNFeel="TaharezLook/Button" /> 14 <FalagardMapping WindowType="TaharezLook/Editbox" TargetType="CEGUI/Editbox" Renderer="Falagard/Editbox" LookNFeel="TaharezLook/Editbox" /> 15 <FalagardMapping WindowType="TaharezLook/MultiLineEditbox" TargetType="CEGUI/MultiLineEditbox" Renderer="Falagard/MultiLineEditbox" LookNFeel="TaharezLook/MultiLineEditbox" /> 16 <FalagardMapping WindowType="TaharezLook/Menubar" TargetType="CEGUI/Menubar" Renderer="Falagard/Menubar" LookNFeel="TaharezLook/Menubar" /> 17 <FalagardMapping WindowType="TaharezLook/PopupMenu" TargetType="CEGUI/PopupMenu" Renderer="Falagard/PopupMenu" LookNFeel="TaharezLook/PopupMenu" /> 18 <FalagardMapping WindowType="TaharezLook/MenuItem" TargetType="CEGUI/MenuItem" Renderer="Falagard/MenuItem" LookNFeel="TaharezLook/MenuItem" /> 19 <FalagardMapping WindowType="TaharezLook/AlternateProgressBar" TargetType="CEGUI/ProgressBar" Renderer="Falagard/ProgressBar" LookNFeel="TaharezLook/AltProgressBar" /> 20 <FalagardMapping WindowType="TaharezLook/ProgressBar" TargetType="CEGUI/ProgressBar" Renderer="Falagard/ProgressBar" LookNFeel="TaharezLook/ProgressBar" /> 21 <FalagardMapping WindowType="TaharezLook/VUMeter" TargetType="CEGUI/ProgressBar" Renderer="Falagard/ProgressBar" LookNFeel="TaharezLook/VUMeter" /> 22 <FalagardMapping WindowType="TaharezLook/VerticalScrollbar" TargetType="CEGUI/Scrollbar" Renderer="Falagard/Scrollbar" LookNFeel="TaharezLook/VerticalScrollbar" /> 23 <FalagardMapping WindowType="TaharezLook/HorizontalScrollbar" TargetType="CEGUI/Scrollbar" Renderer="Falagard/Scrollbar" LookNFeel="TaharezLook/HorizontalScrollbar" /> 24 <FalagardMapping WindowType="TaharezLook/VerticalScrollbarThumb" TargetType="CEGUI/Thumb" Renderer="Falagard/Button" LookNFeel="TaharezLook/VerticalScrollbarThumb" /> 25 <FalagardMapping WindowType="TaharezLook/HorizontalScrollbarThumb" TargetType="CEGUI/Thumb" Renderer="Falagard/Button" LookNFeel="TaharezLook/HorizontalScrollbarThumb" /> 26 <FalagardMapping WindowType="TaharezLook/LargeVerticalScrollbar" TargetType="CEGUI/Scrollbar" Renderer="Falagard/Scrollbar" LookNFeel="TaharezLook/LargeVerticalScrollbar" /> 27 <FalagardMapping WindowType="TaharezLook/LargeVerticalScrollbarThumb" TargetType="CEGUI/Thumb" Renderer="Falagard/Button" LookNFeel="TaharezLook/LargeVerticalScrollbarThumb" /> 28 <FalagardMapping WindowType="TaharezLook/TabButton" TargetType="CEGUI/TabButton" Renderer="Falagard/TabButton" LookNFeel="TaharezLook/TabButton" /> 29 <FalagardMapping WindowType="TaharezLook/TabControl" TargetType="CEGUI/TabControl" Renderer="Falagard/TabControl" LookNFeel="TaharezLook/TabControl" /> 30 <FalagardMapping WindowType="TaharezLook/TabContentPane" TargetType="DefaultWindow" Renderer="Falagard/Default" LookNFeel="TaharezLook/TabContentPane" /> 31 <FalagardMapping WindowType="TaharezLook/TabButtonPane" TargetType="DefaultWindow" Renderer="Falagard/Default" LookNFeel="TaharezLook/TabButtonPane" /> 32 <FalagardMapping WindowType="TaharezLook/ComboDropList" TargetType="CEGUI/ComboDropList" Renderer="Falagard/Listbox" LookNFeel="TaharezLook/ComboDropList" /> 33 <FalagardMapping WindowType="TaharezLook/ComboEditbox" TargetType="CEGUI/Editbox" Renderer="Falagard/Editbox" LookNFeel="TaharezLook/ComboEditbox" /> 34 <FalagardMapping WindowType="TaharezLook/Combobox" TargetType="CEGUI/Combobox" Renderer="Falagard/Default" LookNFeel="TaharezLook/Combobox" /> 35 <FalagardMapping WindowType="TaharezLook/Listbox" TargetType="CEGUI/Listbox" Renderer="Falagard/Listbox" LookNFeel="TaharezLook/Listbox" /> 36 <FalagardMapping WindowType="TaharezLook/ListHeader" TargetType="CEGUI/ListHeader" Renderer="Falagard/ListHeader" LookNFeel="TaharezLook/ListHeader" /> 37 <FalagardMapping WindowType="TaharezLook/ListHeaderSegment" TargetType="CEGUI/ListHeaderSegment" Renderer="Falagard/ListHeaderSegment" LookNFeel="TaharezLook/ListHeaderSegment" /> 38 <FalagardMapping WindowType="TaharezLook/MultiColumnList" TargetType="CEGUI/MultiColumnList" Renderer="Falagard/MultiColumnList" LookNFeel="TaharezLook/MultiColumnList" /> 39 <FalagardMapping WindowType="TaharezLook/Slider" TargetType="CEGUI/Slider" Renderer="Falagard/Slider" LookNFeel="TaharezLook/Slider" /> 40 <FalagardMapping WindowType="TaharezLook/SliderThumb" TargetType="CEGUI/Thumb" Renderer="Falagard/Button" LookNFeel="TaharezLook/SliderThumb" /> 41 <FalagardMapping WindowType="TaharezLook/ScrollablePane" TargetType="CEGUI/ScrollablePane" Renderer="Falagard/ScrollablePane" LookNFeel="TaharezLook/ScrollablePane" /> 42 <FalagardMapping WindowType="TaharezLook/Spinner" TargetType="CEGUI/Spinner" Renderer="Falagard/Default" LookNFeel="TaharezLook/Spinner" /> 43 <FalagardMapping WindowType="TaharezLook/Tooltip" TargetType="CEGUI/Tooltip" Renderer="Falagard/Tooltip" LookNFeel="TaharezLook/Tooltip" /> 44 <FalagardMapping WindowType="TaharezLook/StaticImage" TargetType="DefaultWindow" Renderer="Falagard/StaticImage" LookNFeel="TaharezLook/StaticImage" /> 45 <FalagardMapping WindowType="TaharezLook/StaticText" TargetType="DefaultWindow" Renderer="Falagard/StaticText" LookNFeel="TaharezLook/StaticText" /> 46 <FalagardMapping WindowType="TaharezLook/ItemListbox" TargetType="CEGUI/ItemListbox" Renderer="Falagard/ItemListbox" LookNFeel="TaharezLook/ItemListbox" /> 47 <FalagardMapping WindowType="TaharezLook/ListboxItem" TargetType="CEGUI/ItemEntry" Renderer="Falagard/ItemEntry" LookNFeel="TaharezLook/ListboxItem" /> 48 <FalagardMapping WindowType="TaharezLook/GroupBox" TargetType="CEGUI/GroupBox" Renderer="Falagard/Default" LookNFeel="TaharezLook/GroupBox" /> 49 <FalagardMapping WindowType="TaharezLook/Tree" TargetType="CEGUI/Tree" Renderer="Falagard/Tree" LookNFeel="TaharezLook/Tree" /> 6 7 <!-- Standard widgets --> 8 <FalagardMapping WindowType="TaharezLook/StaticImage" TargetType="DefaultWindow" Renderer="Falagard/StaticImage" LookNFeel="TaharezLook/StaticImage" /> 9 <FalagardMapping WindowType="TaharezLook/StaticText" TargetType="DefaultWindow" Renderer="Falagard/StaticText" LookNFeel="TaharezLook/StaticText" /> 10 <FalagardMapping WindowType="TaharezLook/TabButtonPane" TargetType="DefaultWindow" Renderer="Falagard/Default" LookNFeel="TaharezLook/TabButtonPane" /> 11 <FalagardMapping WindowType="TaharezLook/TabContentPane" TargetType="DefaultWindow" Renderer="Falagard/Default" LookNFeel="TaharezLook/TabContentPane" /> 12 <FalagardMapping WindowType="TaharezLook/Checkbox" TargetType="CEGUI/Checkbox" Renderer="Falagard/ToggleButton" LookNFeel="TaharezLook/Checkbox" /> 13 <FalagardMapping WindowType="TaharezLook/Combobox" TargetType="CEGUI/Combobox" Renderer="Falagard/Default" LookNFeel="TaharezLook/Combobox" /> 14 <FalagardMapping WindowType="TaharezLook/ComboDropList" TargetType="CEGUI/ComboDropList" Renderer="Falagard/Listbox" LookNFeel="TaharezLook/ComboDropList" /> 15 <FalagardMapping WindowType="TaharezLook/ComboEditbox" TargetType="CEGUI/Editbox" Renderer="Falagard/Editbox" LookNFeel="TaharezLook/ComboEditbox" /> 16 <FalagardMapping WindowType="TaharezLook/Editbox" TargetType="CEGUI/Editbox" Renderer="Falagard/Editbox" LookNFeel="TaharezLook/Editbox" /> 17 <FalagardMapping WindowType="TaharezLook/FrameWindow" TargetType="CEGUI/FrameWindow" Renderer="Falagard/FrameWindow" LookNFeel="TaharezLook/FrameWindow" /> 18 <FalagardMapping WindowType="TaharezLook/GroupBox" TargetType="CEGUI/GroupBox" Renderer="Falagard/Default" LookNFeel="TaharezLook/GroupBox" /> 19 <FalagardMapping WindowType="TaharezLook/ItemListbox" TargetType="CEGUI/ItemListbox" Renderer="Falagard/ItemListbox" LookNFeel="TaharezLook/ItemListbox" /> 20 <FalagardMapping WindowType="TaharezLook/ListboxItem" TargetType="CEGUI/ItemEntry" Renderer="Falagard/ItemEntry" LookNFeel="TaharezLook/ListboxItem" /> 21 <FalagardMapping WindowType="TaharezLook/Listbox" TargetType="CEGUI/Listbox" Renderer="Falagard/Listbox" LookNFeel="TaharezLook/Listbox" /> 22 <FalagardMapping WindowType="TaharezLook/ListHeader" TargetType="CEGUI/ListHeader" Renderer="Falagard/ListHeader" LookNFeel="TaharezLook/ListHeader" /> 23 <FalagardMapping WindowType="TaharezLook/ListHeaderSegment" TargetType="CEGUI/ListHeaderSegment" Renderer="Falagard/ListHeaderSegment" LookNFeel="TaharezLook/ListHeaderSegment" /> 24 <FalagardMapping WindowType="TaharezLook/MultiLineEditbox" TargetType="CEGUI/MultiLineEditbox" Renderer="Falagard/MultiLineEditbox" LookNFeel="TaharezLook/MultiLineEditbox" /> 25 <FalagardMapping WindowType="TaharezLook/Menubar" TargetType="CEGUI/Menubar" Renderer="Falagard/Menubar" LookNFeel="TaharezLook/Menubar" /> 26 <FalagardMapping WindowType="TaharezLook/MenuItem" TargetType="CEGUI/MenuItem" Renderer="Falagard/MenuItem" LookNFeel="TaharezLook/MenuItem" /> 27 <FalagardMapping WindowType="TaharezLook/MultiColumnList" TargetType="CEGUI/MultiColumnList" Renderer="Falagard/MultiColumnList" LookNFeel="TaharezLook/MultiColumnList" /> 28 <FalagardMapping WindowType="TaharezLook/PopupMenu" TargetType="CEGUI/PopupMenu" Renderer="Falagard/PopupMenu" LookNFeel="TaharezLook/PopupMenu" /> 29 <FalagardMapping WindowType="TaharezLook/ProgressBar" TargetType="CEGUI/ProgressBar" Renderer="Falagard/ProgressBar" LookNFeel="TaharezLook/ProgressBar" /> 30 <FalagardMapping WindowType="TaharezLook/Button" TargetType="CEGUI/PushButton" Renderer="Falagard/Button" LookNFeel="TaharezLook/Button" /> 31 <FalagardMapping WindowType="TaharezLook/ImageButton" TargetType="CEGUI/PushButton" Renderer="Falagard/Button" LookNFeel="TaharezLook/ImageButton" /> 32 <FalagardMapping WindowType="TaharezLook/RadioButton" TargetType="CEGUI/RadioButton" Renderer="Falagard/ToggleButton" LookNFeel="TaharezLook/RadioButton" /> 33 <FalagardMapping WindowType="TaharezLook/SystemButton" TargetType="CEGUI/PushButton" Renderer="Falagard/SystemButton" LookNFeel="TaharezLook/Button" /> 34 <FalagardMapping WindowType="TaharezLook/ScrollablePane" TargetType="CEGUI/ScrollablePane" Renderer="Falagard/ScrollablePane" LookNFeel="TaharezLook/ScrollablePane" /> 35 <FalagardMapping WindowType="TaharezLook/HorizontalScrollbar" TargetType="CEGUI/Scrollbar" Renderer="Falagard/Scrollbar" LookNFeel="TaharezLook/HorizontalScrollbar" /> 36 <FalagardMapping WindowType="TaharezLook/VerticalScrollbar" TargetType="CEGUI/Scrollbar" Renderer="Falagard/Scrollbar" LookNFeel="TaharezLook/VerticalScrollbar" /> 37 <FalagardMapping WindowType="TaharezLook/Slider" TargetType="CEGUI/Slider" Renderer="Falagard/Slider" LookNFeel="TaharezLook/Slider" /> 38 <FalagardMapping WindowType="TaharezLook/Spinner" TargetType="CEGUI/Spinner" Renderer="Falagard/Default" LookNFeel="TaharezLook/Spinner" /> 39 <FalagardMapping WindowType="TaharezLook/TabButton" TargetType="CEGUI/TabButton" Renderer="Falagard/TabButton" LookNFeel="TaharezLook/TabButton" /> 40 <FalagardMapping WindowType="TaharezLook/TabControl" TargetType="CEGUI/TabControl" Renderer="Falagard/TabControl" LookNFeel="TaharezLook/TabControl" /> 41 <FalagardMapping WindowType="TaharezLook/HorizontalScrollbarThumb" TargetType="CEGUI/Thumb" Renderer="Falagard/Button" LookNFeel="TaharezLook/HorizontalScrollbarThumb" /> 42 <FalagardMapping WindowType="TaharezLook/SliderThumb" TargetType="CEGUI/Thumb" Renderer="Falagard/Button" LookNFeel="TaharezLook/SliderThumb" /> 43 <FalagardMapping WindowType="TaharezLook/VerticalScrollbarThumb" TargetType="CEGUI/Thumb" Renderer="Falagard/Button" LookNFeel="TaharezLook/VerticalScrollbarThumb" /> 44 <FalagardMapping WindowType="TaharezLook/Titlebar" TargetType="CEGUI/Titlebar" Renderer="Falagard/Titlebar" LookNFeel="TaharezLook/Titlebar" /> 45 <FalagardMapping WindowType="TaharezLook/Tooltip" TargetType="CEGUI/Tooltip" Renderer="Falagard/Tooltip" LookNFeel="TaharezLook/Tooltip" /> 46 <FalagardMapping WindowType="TaharezLook/Tree" TargetType="CEGUI/Tree" Renderer="Falagard/Tree" LookNFeel="TaharezLook/Tree" /> 47 48 <!-- Additional widgets --> 49 <FalagardMapping WindowType="TaharezLook/AlternateProgressBar" TargetType="CEGUI/ProgressBar" Renderer="Falagard/ProgressBar" LookNFeel="TaharezLook/AltProgressBar" /> 50 <FalagardMapping WindowType="TaharezLook/VUMeter" TargetType="CEGUI/ProgressBar" Renderer="Falagard/ProgressBar" LookNFeel="TaharezLook/VUMeter" /> 51 <FalagardMapping WindowType="TaharezLook/LargeVerticalScrollbar" TargetType="CEGUI/Scrollbar" Renderer="Falagard/Scrollbar" LookNFeel="TaharezLook/LargeVerticalScrollbar" /> 52 <FalagardMapping WindowType="TaharezLook/LargeVerticalScrollbarThumb" TargetType="CEGUI/Thumb" Renderer="Falagard/Button" LookNFeel="TaharezLook/LargeVerticalScrollbarThumb" /> 50 53 </GUIScheme> -
code/branches/gamestates2/data/gui/schemes/WindowsLook.scheme
r5781 r6595 1 1 <?xml version="1.0" ?> 2 <GUIScheme Name="WindowsLookSkin"> 3 <Imageset Name="WindowsLook" Filename="WindowsLook.imageset" /> 4 <LookNFeel Filename="WindowsLook.looknfeel" /> 5 <WindowSet Filename="CEGUIFalagardWRBase" /> 6 <FalagardMapping WindowType="WindowsLook/Button" TargetType="CEGUI/PushButton" Renderer="Falagard/Button" LookNFeel="WindowsLook/Button" /> 7 <FalagardMapping WindowType="WindowsLook/Checkbox" TargetType="CEGUI/Checkbox" Renderer="Falagard/ToggleButton" LookNFeel="WindowsLook/Checkbox" /> 8 <FalagardMapping WindowType="WindowsLook/IconButton" TargetType="CEGUI/PushButton" Renderer="Falagard/Button" LookNFeel="WindowsLook/IconButton" /> 9 <FalagardMapping WindowType="WindowsLook/RadioButton" TargetType="CEGUI/RadioButton" Renderer="Falagard/ToggleButton" LookNFeel="WindowsLook/RadioButton" /> 10 <FalagardMapping WindowType="WindowsLook/FrameWindow" TargetType="CEGUI/FrameWindow" Renderer="Falagard/FrameWindow" LookNFeel="WindowsLook/FrameWindow" /> 11 <FalagardMapping WindowType="WindowsLook/Titlebar" TargetType="CEGUI/Titlebar" Renderer="Falagard/Titlebar" LookNFeel="WindowsLook/Titlebar" /> 12 <FalagardMapping WindowType="WindowsLook/SystemButton" TargetType="CEGUI/PushButton" Renderer="Falagard/SystemButton" LookNFeel="WindowsLook/SystemButton" /> 13 <FalagardMapping WindowType="WindowsLook/Editbox" TargetType="CEGUI/Editbox" Renderer="Falagard/Editbox" LookNFeel="WindowsLook/Editbox" /> 14 <FalagardMapping WindowType="WindowsLook/MultiLineEditbox" TargetType="CEGUI/MultiLineEditbox" Renderer="Falagard/MultiLineEditbox" LookNFeel="WindowsLook/MultiLineEditbox" /> 15 <FalagardMapping WindowType="WindowsLook/Menubar" TargetType="CEGUI/Menubar" Renderer="Falagard/Menubar" LookNFeel="WindowsLook/Menubar" /> 16 <FalagardMapping WindowType="WindowsLook/PopupMenu" TargetType="CEGUI/PopupMenu" Renderer="Falagard/PopupMenu" LookNFeel="WindowsLook/PopupMenu" /> 17 <FalagardMapping WindowType="WindowsLook/MenuItem" TargetType="CEGUI/MenuItem" Renderer="Falagard/MenuItem" LookNFeel="WindowsLook/MenuItem" /> 18 <FalagardMapping WindowType="WindowsLook/ProgressBar" TargetType="CEGUI/ProgressBar" Renderer="Falagard/ProgressBar" LookNFeel="WindowsLook/ProgressBar" /> 19 <FalagardMapping WindowType="WindowsLook/VerticalScrollbar" TargetType="CEGUI/Scrollbar" Renderer="Falagard/Scrollbar" LookNFeel="WindowsLook/VerticalScrollbar" /> 20 <FalagardMapping WindowType="WindowsLook/HorizontalScrollbar" TargetType="CEGUI/Scrollbar" Renderer="Falagard/Scrollbar" LookNFeel="WindowsLook/HorizontalScrollbar" /> 21 <FalagardMapping WindowType="WindowsLook/VerticalScrollbarThumb" TargetType="CEGUI/Thumb" Renderer="Falagard/Button" LookNFeel="WindowsLook/VerticalScrollbarThumb" /> 22 <FalagardMapping WindowType="WindowsLook/HorizontalScrollbarThumb" TargetType="CEGUI/Thumb" Renderer="Falagard/Button" LookNFeel="WindowsLook/HorizontalScrollbarThumb" /> 23 <FalagardMapping WindowType="WindowsLook/TabButton" TargetType="CEGUI/TabButton" Renderer="Falagard/TabButton" LookNFeel="WindowsLook/TabButton" /> 24 <FalagardMapping WindowType="WindowsLook/TabControl" TargetType="CEGUI/TabControl" Renderer="Falagard/TabControl" LookNFeel="WindowsLook/TabControl" /> 25 <FalagardMapping WindowType="WindowsLook/TabContentPane" TargetType="DefaultWindow" Renderer="Falagard/Default" LookNFeel="WindowsLook/TabContentPane" /> 26 <FalagardMapping WindowType="WindowsLook/TabButtonPane" TargetType="DefaultWindow" Renderer="Falagard/Default" LookNFeel="WindowsLook/TabButtonPane" /> 27 <FalagardMapping WindowType="WindowsLook/ComboDropList" TargetType="CEGUI/ComboDropList" Renderer="Falagard/Listbox" LookNFeel="WindowsLook/ComboDropList" /> 28 <FalagardMapping WindowType="WindowsLook/Combobox" TargetType="CEGUI/Combobox" Renderer="Falagard/Default" LookNFeel="WindowsLook/Combobox" /> 29 <FalagardMapping WindowType="WindowsLook/Listbox" TargetType="CEGUI/Listbox" Renderer="Falagard/Listbox" LookNFeel="WindowsLook/Listbox" /> 30 <FalagardMapping WindowType="WindowsLook/ListHeader" TargetType="CEGUI/ListHeader" Renderer="Falagard/ListHeader" LookNFeel="WindowsLook/ListHeader" /> 31 <FalagardMapping WindowType="WindowsLook/ListHeaderSegment" TargetType="CEGUI/ListHeaderSegment" Renderer="Falagard/ListHeaderSegment" LookNFeel="WindowsLook/ListHeaderSegment" /> 32 <FalagardMapping WindowType="WindowsLook/MultiColumnList" TargetType="CEGUI/MultiColumnList" Renderer="Falagard/MultiColumnList" LookNFeel="WindowsLook/MultiColumnList" /> 33 <FalagardMapping WindowType="WindowsLook/Slider" TargetType="CEGUI/Slider" Renderer="Falagard/Slider" LookNFeel="WindowsLook/Slider" /> 34 <FalagardMapping WindowType="WindowsLook/SliderThumb" TargetType="CEGUI/Thumb" Renderer="Falagard/Button" LookNFeel="WindowsLook/SliderThumb" /> 35 <FalagardMapping WindowType="WindowsLook/ScrollablePane" TargetType="CEGUI/ScrollablePane" Renderer="Falagard/ScrollablePane" LookNFeel="WindowsLook/ScrollablePane" /> 36 <FalagardMapping WindowType="WindowsLook/Spinner" TargetType="CEGUI/Spinner" Renderer="Falagard/Default" LookNFeel="WindowsLook/Spinner" /> 37 <FalagardMapping WindowType="WindowsLook/Tooltip" TargetType="CEGUI/Tooltip" Renderer="Falagard/Tooltip" LookNFeel="WindowsLook/Tooltip" /> 38 <FalagardMapping WindowType="WindowsLook/Static" TargetType="DefaultWindow" Renderer="Falagard/Static" LookNFeel="WindowsLook/Static" /> 39 <FalagardMapping WindowType="WindowsLook/StaticImage" TargetType="DefaultWindow" Renderer="Falagard/StaticImage" LookNFeel="WindowsLook/StaticImage" /> 40 <FalagardMapping WindowType="WindowsLook/StaticText" TargetType="DefaultWindow" Renderer="Falagard/StaticText" LookNFeel="WindowsLook/StaticText" /> 41 <FalagardMapping WindowType="WindowsLook/ItemListbox" TargetType="CEGUI/ItemListbox" Renderer="Falagard/ItemListbox" LookNFeel="WindowsLook/ItemListbox" /> 42 <FalagardMapping WindowType="WindowsLook/ListboxItem" TargetType="CEGUI/ItemEntry" Renderer="Falagard/ItemEntry" LookNFeel="WindowsLook/ListboxItem" /> 43 <FalagardMapping WindowType="WindowsLook/GroupBox" TargetType="CEGUI/GroupBox" Renderer="Falagard/Default" LookNFeel="WindowsLook/GroupBox" /> 2 <GUIScheme Name="WindowsLook"> 3 <Imageset Name="WindowsLook" Filename="WindowsLook.imageset" /> 4 <Imageset Name="TaharezLook" Filename="TaharezLook.imageset" /> 5 <LookNFeel Filename="WindowsLook.looknfeel" /> 6 <LookNFeel Filename="TaharezLook.looknfeel" /> 7 <WindowRendererSet Filename="CEGUIFalagardWRBase" /> 8 9 <!-- Standard widgets --> 10 <FalagardMapping WindowType="WindowsLook/StaticImage" TargetType="DefaultWindow" Renderer="Falagard/StaticImage" LookNFeel="WindowsLook/StaticImage" /> 11 <FalagardMapping WindowType="WindowsLook/StaticText" TargetType="DefaultWindow" Renderer="Falagard/StaticText" LookNFeel="WindowsLook/StaticText" /> 12 <FalagardMapping WindowType="WindowsLook/TabButtonPane" TargetType="DefaultWindow" Renderer="Falagard/Default" LookNFeel="WindowsLook/TabButtonPane" /> 13 <FalagardMapping WindowType="WindowsLook/TabContentPane" TargetType="DefaultWindow" Renderer="Falagard/Default" LookNFeel="WindowsLook/TabContentPane" /> 14 <FalagardMapping WindowType="WindowsLook/Checkbox" TargetType="CEGUI/Checkbox" Renderer="Falagard/ToggleButton" LookNFeel="WindowsLook/Checkbox" /> 15 <FalagardMapping WindowType="WindowsLook/Combobox" TargetType="CEGUI/Combobox" Renderer="Falagard/Default" LookNFeel="WindowsLook/Combobox" /> 16 <FalagardMapping WindowType="WindowsLook/ComboDropList" TargetType="CEGUI/ComboDropList" Renderer="Falagard/Listbox" LookNFeel="WindowsLook/ComboDropList" /> 17 <FalagardMapping WindowType="WindowsLook/Editbox" TargetType="CEGUI/Editbox" Renderer="Falagard/Editbox" LookNFeel="WindowsLook/Editbox" /> 18 <FalagardMapping WindowType="WindowsLook/FrameWindow" TargetType="CEGUI/FrameWindow" Renderer="Falagard/FrameWindow" LookNFeel="WindowsLook/FrameWindow" /> 19 <FalagardMapping WindowType="WindowsLook/GroupBox" TargetType="CEGUI/GroupBox" Renderer="Falagard/Default" LookNFeel="WindowsLook/GroupBox" /> 20 <FalagardMapping WindowType="WindowsLook/ItemListbox" TargetType="CEGUI/ItemListbox" Renderer="Falagard/ItemListbox" LookNFeel="WindowsLook/ItemListbox" /> 21 <FalagardMapping WindowType="WindowsLook/ListboxItem" TargetType="CEGUI/ItemEntry" Renderer="Falagard/ItemEntry" LookNFeel="WindowsLook/ListboxItem" /> 22 <FalagardMapping WindowType="WindowsLook/Listbox" TargetType="CEGUI/Listbox" Renderer="Falagard/Listbox" LookNFeel="WindowsLook/Listbox" /> 23 <FalagardMapping WindowType="WindowsLook/ListHeader" TargetType="CEGUI/ListHeader" Renderer="Falagard/ListHeader" LookNFeel="WindowsLook/ListHeader" /> 24 <FalagardMapping WindowType="WindowsLook/ListHeaderSegment" TargetType="CEGUI/ListHeaderSegment" Renderer="Falagard/ListHeaderSegment" LookNFeel="WindowsLook/ListHeaderSegment" /> 25 <FalagardMapping WindowType="WindowsLook/MultiLineEditbox" TargetType="CEGUI/MultiLineEditbox" Renderer="Falagard/MultiLineEditbox" LookNFeel="WindowsLook/MultiLineEditbox" /> 26 <FalagardMapping WindowType="WindowsLook/Menubar" TargetType="CEGUI/Menubar" Renderer="Falagard/Menubar" LookNFeel="WindowsLook/Menubar" /> 27 <FalagardMapping WindowType="WindowsLook/MenuItem" TargetType="CEGUI/MenuItem" Renderer="Falagard/MenuItem" LookNFeel="WindowsLook/MenuItem" /> 28 <FalagardMapping WindowType="WindowsLook/MultiColumnList" TargetType="CEGUI/MultiColumnList" Renderer="Falagard/MultiColumnList" LookNFeel="WindowsLook/MultiColumnList" /> 29 <FalagardMapping WindowType="WindowsLook/PopupMenu" TargetType="CEGUI/PopupMenu" Renderer="Falagard/PopupMenu" LookNFeel="WindowsLook/PopupMenu" /> 30 <FalagardMapping WindowType="WindowsLook/ProgressBar" TargetType="CEGUI/ProgressBar" Renderer="Falagard/ProgressBar" LookNFeel="WindowsLook/ProgressBar" /> 31 <FalagardMapping WindowType="WindowsLook/Button" TargetType="CEGUI/PushButton" Renderer="Falagard/Button" LookNFeel="WindowsLook/Button" /> 32 <FalagardMapping WindowType="WindowsLook/RadioButton" TargetType="CEGUI/RadioButton" Renderer="Falagard/ToggleButton" LookNFeel="WindowsLook/RadioButton" /> 33 <FalagardMapping WindowType="WindowsLook/SystemButton" TargetType="CEGUI/PushButton" Renderer="Falagard/SystemButton" LookNFeel="WindowsLook/Button" /> 34 <FalagardMapping WindowType="WindowsLook/ScrollablePane" TargetType="CEGUI/ScrollablePane" Renderer="Falagard/ScrollablePane" LookNFeel="WindowsLook/ScrollablePane" /> 35 <FalagardMapping WindowType="WindowsLook/HorizontalScrollbar" TargetType="CEGUI/Scrollbar" Renderer="Falagard/Scrollbar" LookNFeel="WindowsLook/HorizontalScrollbar" /> 36 <FalagardMapping WindowType="WindowsLook/VerticalScrollbar" TargetType="CEGUI/Scrollbar" Renderer="Falagard/Scrollbar" LookNFeel="WindowsLook/VerticalScrollbar" /> 37 <FalagardMapping WindowType="WindowsLook/Slider" TargetType="CEGUI/Slider" Renderer="Falagard/Slider" LookNFeel="WindowsLook/Slider" /> 38 <FalagardMapping WindowType="WindowsLook/Spinner" TargetType="CEGUI/Spinner" Renderer="Falagard/Default" LookNFeel="WindowsLook/Spinner" /> 39 <FalagardMapping WindowType="WindowsLook/TabButton" TargetType="CEGUI/TabButton" Renderer="Falagard/TabButton" LookNFeel="WindowsLook/TabButton" /> 40 <FalagardMapping WindowType="WindowsLook/TabControl" TargetType="CEGUI/TabControl" Renderer="Falagard/TabControl" LookNFeel="WindowsLook/TabControl" /> 41 <FalagardMapping WindowType="WindowsLook/HorizontalScrollbarThumb" TargetType="CEGUI/Thumb" Renderer="Falagard/Button" LookNFeel="WindowsLook/HorizontalScrollbarThumb" /> 42 <FalagardMapping WindowType="WindowsLook/SliderThumb" TargetType="CEGUI/Thumb" Renderer="Falagard/Button" LookNFeel="WindowsLook/SliderThumb" /> 43 <FalagardMapping WindowType="WindowsLook/VerticalScrollbarThumb" TargetType="CEGUI/Thumb" Renderer="Falagard/Button" LookNFeel="WindowsLook/VerticalScrollbarThumb" /> 44 <FalagardMapping WindowType="WindowsLook/Titlebar" TargetType="CEGUI/Titlebar" Renderer="Falagard/Titlebar" LookNFeel="WindowsLook/Titlebar" /> 45 <FalagardMapping WindowType="WindowsLook/Tooltip" TargetType="CEGUI/Tooltip" Renderer="Falagard/Tooltip" LookNFeel="WindowsLook/Tooltip" /> 46 47 <!-- Missing widgets (using Taharez LookNFeel) --> 48 <FalagardMapping WindowType="WindowsLook/ComboEditbox" TargetType="CEGUI/Editbox" Renderer="Falagard/Editbox" LookNFeel="TaharezLook/ComboEditbox" /> 49 <FalagardMapping WindowType="WindowsLook/ImageButton" TargetType="CEGUI/PushButton" Renderer="Falagard/Button" LookNFeel="TaharezLook/ImageButton" /> 50 <FalagardMapping WindowType="WindowsLook/Tree" TargetType="CEGUI/Tree" Renderer="Falagard/Tree" LookNFeel="TaharezLook/Tree" /> 51 52 <!-- Additional widgets --> 53 <FalagardMapping WindowType="WindowsLook/IconButton" TargetType="CEGUI/PushButton" Renderer="Falagard/Button" LookNFeel="WindowsLook/IconButton" /> 54 <FalagardMapping WindowType="WindowsLook/Static" TargetType="DefaultWindow" Renderer="Falagard/Static" LookNFeel="WindowsLook/Static" /> 44 55 </GUIScheme> -
code/branches/gamestates2/data/gui/scripts/AudioMenu.lua
r6417 r6595 2 2 3 3 BasicGUI = require("BasicGUI") 4 local P = BasicGUI:new( ) --inherit everything from the gui package4 local P = BasicGUI:new("AudioMenu") 5 5 if _REQUIREDNAME == nil then 6 6 AudioMenu = P … … 8 8 _G[_REQUIREDNAME] = P 9 9 end 10 11 P.filename = "AudioMenu"12 P.layoutString = "AudioMenu.layout"13 10 14 11 function P:init() … … 43 40 for k,v in pairs(themeList) do 44 41 item = CEGUI.createListboxTextItem(v) 45 item:setSelectionBrushImage( "TaharezLook", "MultiListSelectionBrush")42 item:setSelectionBrushImage(menuImageSet, "MultiListSelectionBrush") 46 43 CEGUI.toListbox(listboxwindow):addItem(item) 47 44 end -
code/branches/gamestates2/data/gui/scripts/BasicGUI.lua
r5781 r6595 8 8 end 9 9 10 -- useless, even wrong? P is the class, not the object.. 10 11 P.overlay = nil 11 12 12 13 -- constructor of the GUI 13 function P:new (gui, fname) 14 local newElement = { window = gui, filename = fname, visible = false } or {} 14 function P:new(_filename, _gui, _visible) 15 local newElement = { 16 filename = _filename, 17 gui = _gui, 18 visible = _visible or false 19 } or {} 15 20 setmetatable(newElement, self) -- connects new element with class 16 21 self.__index = self … … 18 23 end 19 24 25 -- Override this function if you need to 20 26 function P:init() 21 -- this function is empty and intended for inheriting GUIs to use 27 end 28 29 -- Override this function if you need to 30 -- But don't forget to stick to the naming convention ("GUI_" .. self.filename) 31 function P:createInputState() 32 self.inputState = guiMgr:createInputState("GUI_" .. self.filename) 22 33 end 23 34 24 35 -- hide function for the GUI 25 function P:hide 36 function P:hide() 26 37 self.window:hide() 27 38 self.visible = false … … 29 40 30 41 -- show function for the GUI 31 function P:show 42 function P:show() 32 43 self.window:show() 33 44 self.visible = true 34 45 end 35 46 36 function P:load () 37 self.window = winMgr:loadWindowLayout(self.layoutString) 47 function P:load() 48 self.window = winMgr:loadWindowLayout(self.filename .. ".layout") 49 self:createInputState() 38 50 self:init() 39 51 return self -
code/branches/gamestates2/data/gui/scripts/ControlsMenu.lua
r6417 r6595 2 2 3 3 BasicGUI = require("BasicGUI") 4 local P = BasicGUI:new( ) --inherit everything from the gui package4 local P = BasicGUI:new("ControlsMenu") 5 5 if _REQUIREDNAME == nil then 6 6 ControlsMenu = P … … 8 8 _G[_REQUIREDNAME] = P 9 9 end 10 11 P.filename = "ControlsMenu"12 P.layoutString = "ControlsMenu.layout"13 10 14 11 function P.ControlsMouseControlsButton_clicked(e) -
code/branches/gamestates2/data/gui/scripts/CreditsMenu.lua
r6417 r6595 2 2 3 3 BasicGUI = require("BasicGUI") 4 local P = BasicGUI:new( ) --inherit everything from the gui package4 local P = BasicGUI:new("CreditsMenu") 5 5 if _REQUIREDNAME == nil then 6 6 CreditsMenu = P … … 8 8 _G[_REQUIREDNAME] = P 9 9 end 10 11 P.filename = "CreditsMenu"12 P.layoutString = "CreditsMenu.layout"13 10 14 11 function P.CreditsBackButton_clicked(e) -
code/branches/gamestates2/data/gui/scripts/DecisionPopup.lua
r6417 r6595 2 2 3 3 BasicGUI = require("BasicGUI") 4 local P = BasicGUI:new( ) --inherit everything from the gui package4 local P = BasicGUI:new("DecisionPopup") 5 5 if _REQUIREDNAME == nil then 6 6 DecisionPopup = P 7 7 else 8 8 _G[_REQUIREDNAME] = P 9 end10 11 P.filename = "DecisionPopup"12 P.layoutString = "DecisionPopup.layout"13 14 function P:init()15 9 end 16 10 -
code/branches/gamestates2/data/gui/scripts/GameplayMenu.lua
r6417 r6595 2 2 3 3 BasicGUI = require("BasicGUI") 4 local P = BasicGUI:new( ) --inherit everything from the gui package4 local P = BasicGUI:new("GameplayMenu") 5 5 if _REQUIREDNAME == nil then 6 6 GameplayMenu = P … … 8 8 _G[_REQUIREDNAME] = P 9 9 end 10 11 P.filename = "GameplayMenu"12 P.layoutString = "GameplayMenu.layout"13 10 14 11 function P:init() … … 20 17 for k,v in pairs(themeList) do 21 18 item = CEGUI.createListboxTextItem(v) 22 item:setSelectionBrushImage( "TaharezLook", "MultiListSelectionBrush")19 item:setSelectionBrushImage(menuImageSet, "MultiListSelectionBrush") 23 20 CEGUI.toCombobox(dropdown):addItem(item) 24 21 end -
code/branches/gamestates2/data/gui/scripts/GraphicsMenu.lua
r6417 r6595 2 2 3 3 BasicGUI = require("BasicGUI") 4 local P = BasicGUI:new( ) --inherit everything from the gui package4 local P = BasicGUI:new("GraphicsMenu") 5 5 if _REQUIREDNAME == nil then 6 6 GraphicsMenu = P … … 8 8 _G[_REQUIREDNAME] = P 9 9 end 10 11 P.filename = "GraphicsMenu"12 P.layoutString = "GraphicsMenu.layout"13 10 14 11 function P:init() … … 62 59 for k,v in pairs(resolutionList) do 63 60 item = CEGUI.createListboxTextItem(v) 64 item:setSelectionBrushImage( "TaharezLook", "MultiListSelectionBrush")61 item:setSelectionBrushImage(menuImageSet, "MultiListSelectionBrush") 65 62 CEGUI.toListbox(listboxwindow):addItem(item) 66 63 end -
code/branches/gamestates2/data/gui/scripts/InGameMenu.lua
r6417 r6595 2 2 3 3 BasicGUI = require("BasicGUI") 4 local P = BasicGUI:new( ) --inherit everything from the gui package4 local P = BasicGUI:new("InGameMenu") 5 5 if _REQUIREDNAME == nil then 6 6 InGameMenu = P … … 8 8 _G[_REQUIREDNAME] = P 9 9 end 10 11 P.filename = "InGameMenu"12 P.layoutString = "InGameMenu.layout"13 14 function P:init()15 end16 17 10 18 11 -- events for ingamemenu -
code/branches/gamestates2/data/gui/scripts/InfoPopup.lua
r6417 r6595 2 2 3 3 BasicGUI = require("BasicGUI") 4 local P = BasicGUI:new( ) --inherit everything from the gui package4 local P = BasicGUI:new("InfoPopup") 5 5 6 6 if _REQUIREDNAME == nil then … … 8 8 else 9 9 _G[_REQUIREDNAME] = P 10 end11 12 P.filename = "InfoPopup"13 P.layoutString = "InfoPopup.layout"14 15 function P:init()16 10 end 17 11 … … 26 20 end 27 21 28 function P.setText( text)22 function P.setText(text) 29 23 winMgr:getWindow("orxonox/InfoPopup_text"):setText( text ) 30 24 end … … 42 36 -- events for ingamemenu 43 37 function P.close(e) 44 hideGUI( "InfoPopup")38 hideGUI(P.filename) 45 39 end 46 40 -
code/branches/gamestates2/data/gui/scripts/InitialiseGUI.lua
r6417 r6595 1 winMgr = CEGUI.WindowManager:getSingleton() 2 guiMgr = orxonox.GUIManager:getInstance() 3 inputMgr = orxonox.InputManager:getInstance() 4 1 5 local schemeMgr = CEGUI.SchemeManager:getSingleton() 2 winMgr = CEGUI.WindowManager:getSingleton() 3 local logger = CEGUI.Logger:getSingleton() 4 local system = CEGUI.System:getSingleton() 5 local cursor = CEGUI.MouseCursor:getSingleton() 6 7 schemeMgr:loadScheme("TaharezLookSkin.scheme") 8 -- load scheme with our own images 6 local system = CEGUI.System:getSingleton() 7 local cursor = CEGUI.MouseCursor:getSingleton() 8 9 -- Load all required skins 10 schemeMgr:loadScheme("TaharezGreenLook.scheme") 11 --schemeMgr:loadScheme("TaharezLook.scheme") 12 --schemeMgr:loadScheme("WindowsLook.scheme") 13 --schemeMgr:loadScheme("VanillaLook.scheme") 14 --schemeMgr:loadScheme("SleekSpaceLook.scheme") 15 16 -- Connect skin specific window types with our own window types 17 -- By loading a different file (if there is) you can change the skin 18 -- of the menus or the HUD independently 19 schemeMgr:loadScheme("TaharezGreenMenuWidgets.scheme") 20 menuImageSet = "TaharezGreenLook" 21 schemeMgr:loadScheme("TaharezGreenHUDWidgets.scheme") 22 hudImageSet = "TaharezGreenLook" 23 24 -- Just a remaining test hack 9 25 schemeMgr:loadScheme("OrxonoxGUIScheme.scheme") 10 26 11 system:setDefaultMouseCursor( "TaharezLook", "MouseArrow")27 system:setDefaultMouseCursor(menuImageSet, "MouseArrow") 12 28 system:setDefaultFont("BlueHighway-12") 13 system:setDefaultTooltip(" TaharezLook/Tooltip")29 system:setDefaultTooltip("MenuWidgets/Tooltip") 14 30 15 31 loadedGUIs = {} … … 51 67 end 52 68 53 -- shows the specified and loads it if not loaded already 54 -- be sure to set the global variable "filename" before calling this function 69 -- shows the specified GUI sheet and loads it if not loaded already 55 70 function showGUI(filename, hidePrevious, bCursorVisible) 56 71 if bCursorVisible == nil then … … 87 102 else 88 103 if nrOfActiveSheets == 0 then 89 orxonox.InputManager:getInstance():enterState("guiMouseOnly")104 --orxonox.InputManager:getInstance():enterState("guiMouseOnly") 90 105 orxonox.HumanController:pauseControl() 91 106 end 92 107 end 108 orxonox.InputManager:getInstance():enterState(currentGUI.inputState) 109 93 110 nrOfActiveSheets = nrOfActiveSheets + 1 94 111 table.insert(activeSheets, filename) … … 161 178 bHidePrevious[filename] = nil 162 179 if nrOfActiveSheets == 0 then 163 orxonox.InputManager:getInstance():leaveState("guiMouseOnly")180 --orxonox.InputManager:getInstance():leaveState("guiMouseOnly") 164 181 orxonox.HumanController:resumeControl() 165 182 hideCursor() 166 183 end 184 orxonox.InputManager:getInstance():leaveState(currentGUI.inputState) 167 185 end 168 186 -
code/branches/gamestates2/data/gui/scripts/KeyBindMenu.lua
r6549 r6595 2 2 3 3 BasicGUI = require("BasicGUI") 4 local P = BasicGUI:new( ) --inherit everything from the gui package4 local P = BasicGUI:new("KeyBindMenu") 5 5 6 6 if _REQUIREDNAME == nil then … … 9 9 _G[_REQUIREDNAME] = P 10 10 end 11 12 P.filename = "KeyBindMenu"13 P.layoutString = "KeyBindMenu.layout"14 11 15 12 function P:init() … … 68 65 69 66 --Calculate design parameters: 70 sampleWindow = winMgr:createWindow(" TaharezLook/StaticText", "orxonox/KeyBindPane/SampleWindow")67 sampleWindow = winMgr:createWindow("MenuWidgets/StaticText", "orxonox/KeyBindPane/SampleWindow") 71 68 sampleWindow:setText("SampleText") 72 69 … … 125 122 line:setPosition(CEGUI.UVector2(CEGUI.UDim(0, 0), CEGUI.UDim(0, lineHeight*(k-1)))) 126 123 127 local command = winMgr:createWindow(" TaharezLook/StaticText", "orxonox/KeyBindPane/Binding" .. k .. "/Command")124 local command = winMgr:createWindow("MenuWidgets/StaticText", "orxonox/KeyBindPane/Binding" .. k .. "/Command") 128 125 command:setText(nameList[k]) 129 126 command:setSize(CEGUI.UVector2(CEGUI.UDim(0, commandWidth), CEGUI.UDim(1, 0))) … … 132 129 offset = offset + commandWidth + spaceWidth 133 130 134 local plus = winMgr:createWindow(" TaharezLook/TabButton", "orxonox/KeyBindPane/Binding" .. k .. "/Plus")131 local plus = winMgr:createWindow("MenuWidgets/TabButton", "orxonox/KeyBindPane/Binding" .. k .. "/Plus") 135 132 plus:setSize(CEGUI.UVector2(CEGUI.UDim(0, addWidth), CEGUI.UDim(0.7, 0))) 136 133 plus:setPosition(CEGUI.UVector2(CEGUI.UDim(0, offset), CEGUI.UDim(0.15, 0))) … … 142 139 local numButtons = orxonox.KeyBinderManager:getInstance():getCurrent():getNumberOfBindings(commandList[k]); 143 140 for i=0,(numButtons-1) do 144 local button = winMgr:createWindow(" TaharezLook/TabButton", "orxonox/KeyBindPane/Binding" .. k .. "/Button" .. i)141 local button = winMgr:createWindow("MenuWidgets/TabButton", "orxonox/KeyBindPane/Binding" .. k .. "/Button" .. i) 145 142 local name = orxonox.KeyBinderManager:getInstance():getCurrent():getBinding(commandList[k],i) 146 143 name = P.KeyNameNiceifier(name) … … 156 153 offset = offset + buttonWidth 157 154 158 local clear = winMgr:createWindow(" TaharezLook/TabButton", "orxonox/KeyBindPane/Binding" .. k .. "/Clear" .. i)155 local clear = winMgr:createWindow("MenuWidgets/TabButton", "orxonox/KeyBindPane/Binding" .. k .. "/Clear" .. i) 159 156 clear:setSize(CEGUI.UVector2(CEGUI.UDim(0, clearWidth), CEGUI.UDim(0.7, 0))) 160 157 clear:setPosition(CEGUI.UVector2(CEGUI.UDim(0, offset), CEGUI.UDim(0.15, 0))) -
code/branches/gamestates2/data/gui/scripts/MainMenu.lua
r6417 r6595 2 2 3 3 BasicGUI = require("BasicGUI") 4 local P = BasicGUI:new( ) --inherit everything from the gui package4 local P = BasicGUI:new("MainMenu") 5 5 if _REQUIREDNAME == nil then 6 6 MainMenu = P … … 8 8 _G[_REQUIREDNAME] = P 9 9 end 10 11 P.filename = "MainMenu"12 P.layoutString = "MainMenu.layout"13 10 14 11 -- events for MainMenu -
code/branches/gamestates2/data/gui/scripts/MouseControlsMenu.lua
r6417 r6595 2 2 3 3 BasicGUI = require("BasicGUI") 4 local P = BasicGUI:new( ) --inherit everything from the gui package4 local P = BasicGUI:new("MouseControlsMenu") 5 5 if _REQUIREDNAME == nil then 6 6 MouseControlsMenu = P … … 8 8 _G[_REQUIREDNAME] = P 9 9 end 10 11 P.filename = "MouseControlsMenu"12 P.layoutString = "MouseControlsMenu.layout"13 10 14 11 function P:init() -
code/branches/gamestates2/data/gui/scripts/MultiplayerMenu.lua
r6417 r6595 2 2 3 3 BasicGUI = require("BasicGUI") 4 local P = BasicGUI:new( ) --inherit everything from the gui package4 local P = BasicGUI:new("MultiplayerMenu") 5 5 if _REQUIREDNAME == nil then 6 6 MultiplayerMenu = P … … 8 8 _G[_REQUIREDNAME] = P 9 9 end 10 11 P.filename = "MultiplayerMenu"12 P.layoutString = "MultiplayerMenu.layout"13 10 14 11 function P:init() … … 30 27 for k,v in pairs(levelList) do 31 28 item = CEGUI.createListboxTextItem(v) 32 item:setSelectionBrushImage( "TaharezLook", "MultiListSelectionBrush")29 item:setSelectionBrushImage(menuImageSet, "MultiListSelectionBrush") 33 30 CEGUI.toListbox(listbox):addItem(item) 34 31 if v .. ".oxw" == preselect then -
code/branches/gamestates2/data/gui/scripts/MultiplayerOptionsMenu.lua
r6417 r6595 2 2 3 3 BasicGUI = require("BasicGUI") 4 local P = BasicGUI:new( ) --inherit everything from the gui package4 local P = BasicGUI:new("MultiplayerOptionsMenu") 5 5 if _REQUIREDNAME == nil then 6 6 MultiplayerOptionsMenu = P … … 9 9 end 10 10 11 P.filename = "MultiplayerOptionsMenu"12 P.layoutString = "MultiplayerOptionsMenu.layout"13 14 11 function P.MultiplayerOptionsBackButton_clicked(e) 15 12 hideGUI(P.filename) -
code/branches/gamestates2/data/gui/scripts/PickupInventory.lua
r6417 r6595 2 2 3 3 BasicGUI = require("BasicGUI") 4 local P = BasicGUI:new( ) --inherit everything from the gui package4 local P = BasicGUI:new("PickupInventory") 5 5 if _REQUIREDNAME == nil then 6 6 PickupInventory = P … … 8 8 _G[_REQUIREDNAME] = P 9 9 end 10 11 P.filename = "PickupInventory"12 P.layoutString = "PickupInventory.layout"13 10 14 11 P.lastEquipmentCount_ = 0 -
code/branches/gamestates2/data/gui/scripts/QuestGUI.lua
r6417 r6595 1 1 gui = require("BasicGUI") 2 local P = BasicGUI:new( ) --inherit everything from the gui package2 local P = BasicGUI:new("QuestGUI") 3 3 if _REQUIREDNAME == nil then 4 4 QuestGUI = P … … 6 6 _G[_REQUIREDNAME] = P 7 7 end 8 9 P.filename = "QuestGUI"10 P.layoutString = "QuestGUI.layout"11 8 12 9 function P:show() -
code/branches/gamestates2/data/gui/scripts/SettingsMenu.lua
r6417 r6595 2 2 3 3 BasicGUI = require("BasicGUI") 4 local P = BasicGUI:new( ) --inherit everything from the gui package4 local P = BasicGUI:new("SettingsMenu") 5 5 if _REQUIREDNAME == nil then 6 6 SettingsMenu = P … … 8 8 _G[_REQUIREDNAME] = P 9 9 end 10 11 P.filename = "SettingsMenu"12 P.layoutString = "SettingsMenu.layout"13 10 14 11 function P.SettingsGameplayButton_clicked(e) -
code/branches/gamestates2/data/gui/scripts/SingleplayerMenu.lua
r6417 r6595 2 2 3 3 BasicGUI = require("BasicGUI") 4 local P = BasicGUI:new( ) --inherit everything from the gui package4 local P = BasicGUI:new("SingleplayerMenu") 5 5 if _REQUIREDNAME == nil then 6 6 SingleplayerMenu = P … … 8 8 _G[_REQUIREDNAME] = P 9 9 end 10 11 P.filename = "SingleplayerMenu"12 P.layoutString = "SingleplayerMenu.layout"13 10 14 11 function P:init() … … 30 27 for k,v in pairs(levelList) do 31 28 item = CEGUI.createListboxTextItem(v) 32 item:setSelectionBrushImage( "TaharezLook", "MultiListSelectionBrush")29 item:setSelectionBrushImage(menuImageSet, "MultiListSelectionBrush") 33 30 CEGUI.toListbox(listbox):addItem(item) 34 31 if v .. ".oxw" == preselect then
Note: See TracChangeset
for help on using the changeset viewer.