Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 4, 2010, 10:57:19 AM (13 years ago)
Author:
dafrick
Message:

Reverting a change that I made some time ago.
It turns out, that CEGUI doesn't like it (on some machines, expecially on tardis) if Events for a window are defined after the child windows are defined in the .layout file.
So putting it above the child windows should be fine.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/data/gui/scripts/ChatBox.lua

    r7500 r7612  
    22
    33local 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
    94
    105function P.ChatBoxCloseButton_clicked(e)
Note: See TracChangeset for help on using the changeset viewer.