Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6369 for code


Ignore:
Timestamp:
Dec 17, 2009, 10:57:08 AM (15 years ago)
Author:
rgrieder
Message:

Belongs to r6367, forgot to tick a file for the commit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation2/data/gui/scripts/KeyBindMenu.lua

    r6363 r6369  
    136136    plus:setPosition(CEGUI.UVector2(CEGUI.UDim(0, offset), CEGUI.UDim(0.15, 0)))
    137137    plus:setText("add")
    138     orxonox.KeyBinderManager:getInstance():subscribeEventHelper(plus, "Clicked", P.filename .. ".KeyBindPlus_clicked")
     138    orxonox.GUIManager:subscribeEventHelper(plus, "Clicked", P.filename .. ".KeyBindPlus_clicked")
    139139    line:addChildWindow(plus)
    140140    offset = offset + addWidth + spaceWidth
     
    151151        button:setSize(CEGUI.UVector2(CEGUI.UDim(0, buttonWidth), CEGUI.UDim(0.7, 0)))
    152152        button:setPosition(CEGUI.UVector2(CEGUI.UDim(0, offset), CEGUI.UDim(0.15, 0)))
    153         orxonox.KeyBinderManager:getInstance():subscribeEventHelper(button, "Clicked", P.filename .. ".KeyBindButton_clicked")
     153        orxonox.GUIManager:subscribeEventHelper(button, "Clicked", P.filename .. ".KeyBindButton_clicked")
    154154        --button:subscribeScriptedEvent("EventClicked", P.filename .. ".KeyBindButton_clicked")
    155155        line:addChildWindow(button)
     
    160160        clear:setPosition(CEGUI.UVector2(CEGUI.UDim(0, offset), CEGUI.UDim(0.15, 0)))
    161161        clear:setText("X")
    162         orxonox.KeyBinderManager:getInstance():subscribeEventHelper(clear, "Clicked", P.filename .. ".KeyBindClear_clicked")
     162        orxonox.GUIManager:subscribeEventHelper(clear, "Clicked", P.filename .. ".KeyBindClear_clicked")
    163163        line:addChildWindow(clear)
    164164        offset = offset + clearWidth + spaceWidth
Note: See TracChangeset for help on using the changeset viewer.