Changeset 8700 for code/branches/presentation/data
- Timestamp:
- Jun 6, 2011, 8:15:38 AM (14 years ago)
- Location:
- code/branches/presentation/data
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation/data/gui/layouts/DockingDialog.layout
r8643 r8700 2 2 3 3 <GUILayout > 4 <Window Type="MenuWidgets/StaticImage" Name="orxonox/Docking Background" >4 <Window Type="MenuWidgets/StaticImage" Name="orxonox/Docking/Background" > 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="MenuWidgets/StaticText" Name="orxonox/Docking Title" >10 <Window Type="MenuWidgets/StaticText" Name="orxonox/Docking/Title" > 11 11 <Property Name="Text" Value="Docking" /> 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.7,0}}" /> 18 <Window Type="MenuWidgets/Listbox" Name="orxonox/Docking Docks" >18 <Window Type="MenuWidgets/Listbox" Name="orxonox/Docking/Docks" > 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.85,0}}" /> 21 21 </Window> 22 22 </Window> 23 <Window Type="MenuWidgets/Button" Name="orxonox/Docking DockButton" >23 <Window Type="MenuWidgets/Button" Name="orxonox/Docking/DockButton" > 24 24 <Property Name="Text" Value="Dock" /> 25 25 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> … … 27 27 <Event Name="Clicked" Function="DockingDialog.dockButton_clicked"/> 28 28 </Window> 29 <Window Type="MenuWidgets/Button" Name="orxonox/Docking CancelButton" >29 <Window Type="MenuWidgets/Button" Name="orxonox/Docking/CancelButton" > 30 30 <Property Name="Text" Value="Cancel" /> 31 31 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> -
code/branches/presentation/data/gui/scripts/DockingDialog.lua
r8643 r8700 9 9 --button are arranged in a 1x2 matrix 10 10 P:setButton(1, 1, { 11 ["button"] = winMgr:getWindow("orxonox/Docking DockButton"),11 ["button"] = winMgr:getWindow("orxonox/Docking/DockButton"), 12 12 ["callback"] = P.dockButton_clicked 13 13 }) 14 14 15 15 P:setButton(1, 2, { 16 ["button"] = winMgr:getWindow("orxonox/Docking CancelButton"),16 ["button"] = winMgr:getWindow("orxonox/Docking/CancelButton"), 17 17 ["callback"] = P.cancelButton_clicked 18 18 }) … … 37 37 end 38 38 39 local listbox = CEGUI.toListbox(winMgr:getWindow("orxonox/Docking Docks"))39 local listbox = CEGUI.toListbox(winMgr:getWindow("orxonox/Docking/Docks")) 40 40 listbox:resetList() 41 41 … … 51 51 52 52 function P.dockButton_clicked(e) 53 local listbox = CEGUI.toListbox(winMgr:getWindow("orxonox/Docking Docks"))53 local listbox = CEGUI.toListbox(winMgr:getWindow("orxonox/Docking/Docks")) 54 54 local choice = listbox:getFirstSelectedItem() 55 55 if choice ~= nil then -
code/branches/presentation/data/levels/presentationFS11.oxw
r8684 r8700 139 139 <!-- PARTICLE EFFECT --> 140 140 141 <ParticleSpawner position="-50,50,-125" source="Orxonox/RingExp" autostart="false" lifetime=500 loop=1 startdelay= 7.5>141 <ParticleSpawner position="-50,50,-125" source="Orxonox/RingExp" autostart="false" lifetime=500 loop=1 startdelay=2.5> 142 142 <events> 143 143 <spawn> 144 <EventListener event=spawn trigger/>144 <EventListener event=spawndelaytrigger1 /> 145 145 </spawn> 146 146 </events> 147 147 </ParticleSpawner> 148 <ParticleSpawner position="-50,50,-125" source="Orxonox/RingExp2" autostart="false" lifetime=500 loop=1 startdelay= 7>148 <ParticleSpawner position="-50,50,-125" source="Orxonox/RingExp2" autostart="false" lifetime=500 loop=1 startdelay=2> 149 149 <events> 150 150 <spawn> 151 <EventListener event=spawn trigger/>151 <EventListener event=spawndelaytrigger1 /> 152 152 </spawn> 153 153 </events> 154 154 </ParticleSpawner> 155 <ParticleSpawner position="-50,50,-125" source="Orxonox/RingExp3" autostart="false" lifetime=500 loop=1 startdelay= 7>155 <ParticleSpawner position="-50,50,-125" source="Orxonox/RingExp3" autostart="false" lifetime=500 loop=1 startdelay=2> 156 156 <events> 157 157 <spawn> 158 <EventListener event=spawn trigger/>158 <EventListener event=spawndelaytrigger1 /> 159 159 </spawn> 160 160 </events>
Note: See TracChangeset
for help on using the changeset viewer.