Last change
on this file since 7864 was
7499,
checked in by dafrick, 14 years ago
|
Fix to get rid of lua/cegui error.
|
-
Property svn:eol-style set to
native
|
File size:
351 bytes
|
Line | |
---|
1 | -- ChatBox.lua |
---|
2 | |
---|
3 | local P = createMenuSheet("ChatBox") |
---|
4 | |
---|
5 | function P.onLoad() |
---|
6 | local window = winMgr:getWindow("orxonox/ChatBox") |
---|
7 | orxonox.GUIManager:subscribeEventHelper(window, "CloseClicked", P.name .. ".ChatBoxCloseButton_clicked") |
---|
8 | end |
---|
9 | |
---|
10 | function P.ChatBoxCloseButton_clicked(e) |
---|
11 | orxonox.ChatInputHandler:getInstance():deactivate() |
---|
12 | end |
---|
13 | |
---|
14 | return P |
---|
15 | |
---|
Note: See
TracBrowser
for help on using the repository browser.