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/gui
Files:
2 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
Note: See TracChangeset for help on using the changeset viewer.