Changeset 7500 for code/trunk/data/gui
- Timestamp:
- Sep 29, 2010, 2:52:47 PM (14 years ago)
- Location:
- code/trunk/data/gui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/data/gui/layouts/ChatBox.layout
r7163 r7500 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/trunk/data/gui/scripts/ChatBox.lua
r7163 r7500 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.