Changeset 11652 for code/branches/Dialog_HS17/data/gui/scripts/Dialog.lua
- Timestamp:
- Dec 11, 2017, 2:33:45 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/Dialog_HS17/data/gui/scripts/Dialog.lua
r11644 r11652 1 -- Dialog ue.lua1 -- Dialog.lua 2 2 3 3 local P = createMenuSheet("Dialog") … … 7 7 P.showing = false 8 8 P.choice = 0 9 P.scrollbarWidth = 12 9 10 10 11 function P.onLoad() --wird ausgefuert wenn Fenster geladen … … 35 36 personfield:setText(person) 36 37 37 local questionfi led = winMgr:getWindow("orxonox/Dialog/Question")38 local questionfield = winMgr:getWindow("orxonox/Dialog/Question") 38 39 local question = manager:getQuestion() 39 questionfi led:setText(question)40 questionfield:setText(question) 40 41 41 42 local listboxwindow = winMgr:getWindow("orxonox/AnsListbox") … … 60 61 manager:update(P.choice) 61 62 62 local questionfi led = winMgr:getWindow("orxonox/Dialog/Question")63 local questionfield = winMgr:getWindow("orxonox/Dialog/Question") 63 64 local question = manager:getQuestion() 64 questionfi led:setText(question)65 questionfield:setText(question) 65 66 66 67 local listboxwindow = winMgr:getWindow("orxonox/AnsListbox")
Note: See TracChangeset
for help on using the changeset viewer.