Last change
on this file since 7570 was
7500,
checked in by dafrick, 14 years ago
|
Fixing same issue as in tutorial2 branch. Error only occurs (as far as I can tell) on tardis.
Could be an issue with different CEGUI versions.
|
-
Property svn:eol-style set to
native
|
File size:
355 bytes
|
Rev | Line | |
---|
[6846] | 1 | -- ChatBox.lua |
---|
| 2 | |
---|
| 3 | local P = createMenuSheet("ChatBox") |
---|
[7009] | 4 | |
---|
[7500] | 5 | function P.onLoad() |
---|
| 6 | local window = winMgr:getWindow("orxonox/ChatBox") |
---|
| 7 | orxonox.GUIManager:subscribeEventHelper(window, "CloseClicked", P.name .. ".ChatBoxCloseButton_clicked") |
---|
| 8 | end |
---|
| 9 | |
---|
[7009] | 10 | function P.ChatBoxCloseButton_clicked(e) |
---|
| 11 | orxonox.ChatInputHandler:getInstance():deactivate() |
---|
| 12 | end |
---|
| 13 | |
---|
[6846] | 14 | return P |
---|
| 15 | |
---|
Note: See
TracBrowser
for help on using the repository browser.