Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 6, 2011, 8:15:38 AM (14 years ago)
Author:
dafrick
Message:

Adherence to styleguide.

Location:
code/branches/presentation/data
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation/data/gui/layouts/DockingDialog.layout

    r8643 r8700  
    22
    33<GUILayout >
    4     <Window Type="MenuWidgets/StaticImage" Name="orxonox/DockingBackground" >
     4    <Window Type="MenuWidgets/StaticImage" Name="orxonox/Docking/Background" >
    55        <Property Name="FrameEnabled" Value="False" />
    66        <Property Name="InheritsAlpha" Value="False" />
     
    88        <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1,0},{1,0}}" />
    99        <Property Name="BackgroundEnabled" Value="False" />
    10         <Window Type="MenuWidgets/StaticText" Name="orxonox/DockingTitle" >
     10        <Window Type="MenuWidgets/StaticText" Name="orxonox/Docking/Title" >
    1111            <Property Name="Text" Value="Docking" />
    1212            <Property Name="Alpha" Value="0.8" />
     
    1616            <Property Name="VertFormatting" Value="TopAligned" />
    1717            <Property Name="UnifiedAreaRect" Value="{{0.25,0},{0.2875,0},{0.75,0},{0.7,0}}" />
    18             <Window Type="MenuWidgets/Listbox" Name="orxonox/DockingDocks" >
     18            <Window Type="MenuWidgets/Listbox" Name="orxonox/Docking/Docks" >
    1919                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    2020                <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.15,0},{0.95,0},{0.85,0}}" />
    2121            </Window>
    2222        </Window>
    23         <Window Type="MenuWidgets/Button" Name="orxonox/DockingDockButton" >
     23        <Window Type="MenuWidgets/Button" Name="orxonox/Docking/DockButton" >
    2424            <Property Name="Text" Value="Dock" />
    2525            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
     
    2727            <Event Name="Clicked" Function="DockingDialog.dockButton_clicked"/>
    2828        </Window>
    29         <Window Type="MenuWidgets/Button" Name="orxonox/DockingCancelButton" >
     29        <Window Type="MenuWidgets/Button" Name="orxonox/Docking/CancelButton" >
    3030            <Property Name="Text" Value="Cancel" />
    3131            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
  • code/branches/presentation/data/gui/scripts/DockingDialog.lua

    r8643 r8700  
    99     --button are arranged in a 1x2 matrix
    1010    P:setButton(1, 1, {
    11             ["button"] = winMgr:getWindow("orxonox/DockingDockButton"),
     11            ["button"] = winMgr:getWindow("orxonox/Docking/DockButton"),
    1212            ["callback"]  = P.dockButton_clicked
    1313    })
    1414
    1515    P:setButton(1, 2, {
    16             ["button"] = winMgr:getWindow("orxonox/DockingCancelButton"),
     16            ["button"] = winMgr:getWindow("orxonox/Docking/CancelButton"),
    1717            ["callback"]  = P.cancelButton_clicked
    1818    })
     
    3737    end
    3838
    39     local listbox = CEGUI.toListbox(winMgr:getWindow("orxonox/DockingDocks"))
     39    local listbox = CEGUI.toListbox(winMgr:getWindow("orxonox/Docking/Docks"))
    4040    listbox:resetList()
    4141
     
    5151
    5252function P.dockButton_clicked(e)
    53     local listbox = CEGUI.toListbox(winMgr:getWindow("orxonox/DockingDocks"))
     53    local listbox = CEGUI.toListbox(winMgr:getWindow("orxonox/Docking/Docks"))
    5454    local choice = listbox:getFirstSelectedItem()
    5555    if choice ~= nil then
  • code/branches/presentation/data/levels/presentationFS11.oxw

    r8684 r8700  
    139139    <!-- PARTICLE EFFECT -->
    140140
    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>
    142142        <events>
    143143            <spawn>
    144                 <EventListener event=spawntrigger />
     144                <EventListener event=spawndelaytrigger1 />
    145145            </spawn>
    146146        </events>
    147147    </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>
    149149        <events>
    150150            <spawn>
    151                 <EventListener event=spawntrigger />
     151                <EventListener event=spawndelaytrigger1 />
    152152            </spawn>
    153153        </events>
    154154    </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>
    156156        <events>
    157157            <spawn>
    158                 <EventListener event=spawntrigger />
     158                <EventListener event=spawndelaytrigger1 />
    159159            </spawn>
    160160        </events>
Note: See TracChangeset for help on using the changeset viewer.