Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 11, 2017, 2:33:45 PM (7 years ago)
Author:
kuchlert
Message:

altes Dialogue entfernt

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/Dialog_HS17/data/gui/scripts/Dialog.lua

    r11644 r11652  
    1 -- Dialogue.lua
     1-- Dialog.lua
    22
    33local P = createMenuSheet("Dialog")
     
    77P.showing = false
    88P.choice = 0
     9P.scrollbarWidth = 12
    910
    1011function P.onLoad() --wird ausgefuert wenn Fenster geladen
     
    3536    personfield:setText(person)
    3637
    37     local questionfiled = winMgr:getWindow("orxonox/Dialog/Question")
     38    local questionfield = winMgr:getWindow("orxonox/Dialog/Question")
    3839    local question = manager:getQuestion()
    39     questionfiled:setText(question)
     40    questionfield:setText(question)
    4041
    4142    local listboxwindow = winMgr:getWindow("orxonox/AnsListbox")
     
    6061    manager:update(P.choice)
    6162
    62     local questionfiled = winMgr:getWindow("orxonox/Dialog/Question")
     63    local questionfield = winMgr:getWindow("orxonox/Dialog/Question")
    6364    local question = manager:getQuestion()
    64     questionfiled:setText(question)
     65    questionfield:setText(question)
    6566
    6667    local listboxwindow = winMgr:getWindow("orxonox/AnsListbox")
Note: See TracChangeset for help on using the changeset viewer.