Changeset 7499
- Timestamp:
- Sep 29, 2010, 2:49:26 PM (14 years ago)
- Location:
- code/branches/tutorial2/data/gui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/tutorial2/data/gui/layouts/ChatBox.layout
r7163 r7499 25 25 <Property Name="UnifiedAreaRect" Value="{{0.02,0},{1,-30},{0.98,0},{1,-5}}" /> 26 26 </Window> 27 <Event Name="CloseClicked" Function="ChatBox.ChatBoxCloseButton_clicked"/>28 27 </Window> 29 28 </Window> -
code/branches/tutorial2/data/gui/scripts/ChatBox.lua
r7163 r7499 2 2 3 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 4 9 5 10 function P.ChatBoxCloseButton_clicked(e)
Note: See TracChangeset
for help on using the changeset viewer.