Changeset 6369 for code/branches/presentation2/data
- Timestamp:
- Dec 17, 2009, 10:57:08 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/data/gui/scripts/KeyBindMenu.lua
r6363 r6369 136 136 plus:setPosition(CEGUI.UVector2(CEGUI.UDim(0, offset), CEGUI.UDim(0.15, 0))) 137 137 plus:setText("add") 138 orxonox. KeyBinderManager:getInstance():subscribeEventHelper(plus, "Clicked", P.filename .. ".KeyBindPlus_clicked")138 orxonox.GUIManager:subscribeEventHelper(plus, "Clicked", P.filename .. ".KeyBindPlus_clicked") 139 139 line:addChildWindow(plus) 140 140 offset = offset + addWidth + spaceWidth … … 151 151 button:setSize(CEGUI.UVector2(CEGUI.UDim(0, buttonWidth), CEGUI.UDim(0.7, 0))) 152 152 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") 154 154 --button:subscribeScriptedEvent("EventClicked", P.filename .. ".KeyBindButton_clicked") 155 155 line:addChildWindow(button) … … 160 160 clear:setPosition(CEGUI.UVector2(CEGUI.UDim(0, offset), CEGUI.UDim(0.15, 0))) 161 161 clear:setText("X") 162 orxonox. KeyBinderManager:getInstance():subscribeEventHelper(clear, "Clicked", P.filename .. ".KeyBindClear_clicked")162 orxonox.GUIManager:subscribeEventHelper(clear, "Clicked", P.filename .. ".KeyBindClear_clicked") 163 163 line:addChildWindow(clear) 164 164 offset = offset + clearWidth + spaceWidth
Note: See TracChangeset
for help on using the changeset viewer.