Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7500 for code


Ignore:
Timestamp:
Sep 29, 2010, 2:52:47 PM (14 years ago)
Author:
dafrick
Message:

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.

Location:
code/trunk/data/gui
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/data/gui/layouts/ChatBox.layout

    r7163 r7500  
    2525                <Property Name="UnifiedAreaRect" Value="{{0.02,0},{1,-30},{0.98,0},{1,-5}}" />
    2626            </Window>
    27             <Event Name="CloseClicked" Function="ChatBox.ChatBoxCloseButton_clicked"/>
    2827        </Window>
    2928    </Window>
  • code/trunk/data/gui/scripts/ChatBox.lua

    r7163 r7500  
    22
    33local P = createMenuSheet("ChatBox")
     4
     5function P.onLoad()
     6    local window = winMgr:getWindow("orxonox/ChatBox")
     7    orxonox.GUIManager:subscribeEventHelper(window, "CloseClicked", P.name .. ".ChatBoxCloseButton_clicked")
     8end
    49
    510function P.ChatBoxCloseButton_clicked(e)
Note: See TracChangeset for help on using the changeset viewer.