Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8500


Ignore:
Timestamp:
May 18, 2011, 11:03:13 AM (14 years ago)
Author:
dafrick
Message:

Adding menu navigation do DockingDialog.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/dockingsystem2/data/gui/scripts/DockingDialog.lua

    r8493 r8500  
    66
    77function P.onLoad()
     8
     9     --button are arranged in a 1x2 matrix
     10    P:setButton(1, 1, {
     11            ["button"] = winMgr:getWindow("orxonox/DockingDockButton"),
     12            ["callback"]  = P.dockButton_clicked
     13    })
     14
     15    P:setButton(1, 2, {
     16            ["button"] = winMgr:getWindow("orxonox/DockingCancelButto"),
     17            ["callback"]  = P.cancelButton_clicked
     18    })
    819   
    920end
Note: See TracChangeset for help on using the changeset viewer.