Changeset 7612 for code/trunk/data
- Timestamp:
- Nov 4, 2010, 10:57:19 AM (14 years ago)
- Location:
- code/trunk/data/gui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/data/gui/layouts/ChatBox.layout
r7500 r7612 13 13 <!--<Property Name="UnifiedAreaRect" Value="{{0.01,0},{0.03,0},{0.6,0},{0.69375,0}}" />--> 14 14 <Property Name="UnifiedAreaRect" Value="{{0.35,0},{0.10,0},{0.98,0},{0.65,0}}" /> 15 <Event Name="CloseClicked" Function="ChatBox.ChatBoxCloseButton_clicked"/> 15 16 <Window Type="MenuWidgets/Listbox" Name="orxonox/ChatBox/history" > 16 17 <Property Name="Font" Value="Monofur-10" /> -
code/trunk/data/gui/scripts/ChatBox.lua
r7500 r7612 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 end9 4 10 5 function P.ChatBoxCloseButton_clicked(e)
Note: See TracChangeset
for help on using the changeset viewer.