Changeset 8700 for code/branches/presentation/data/gui/scripts
- Timestamp:
- Jun 6, 2011, 8:15:38 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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
Note: See TracChangeset
for help on using the changeset viewer.