[Orxonox-commit 1041] r5761 - in code/trunk/data/gui: layouts scripts

dafrick at orxonox.net dafrick at orxonox.net
Wed Sep 23 15:12:05 CEST 2009


Author: dafrick
Date: 2009-09-23 15:12:05 +0200 (Wed, 23 Sep 2009)
New Revision: 5761

Modified:
   code/trunk/data/gui/layouts/QuestGUI.layout
   code/trunk/data/gui/scripts/QuestGUI.lua
Log:
Removed unused buttons.

Modified: code/trunk/data/gui/layouts/QuestGUI.layout
===================================================================
--- code/trunk/data/gui/layouts/QuestGUI.layout	2009-09-22 10:44:05 UTC (rev 5760)
+++ code/trunk/data/gui/layouts/QuestGUI.layout	2009-09-23 13:12:05 UTC (rev 5761)
@@ -11,28 +11,7 @@
             <Property Name="UnifiedSize" Value="{{0.9,0},{0.05,0}}"/>
             <Property Name="Text" Value="Your Quests"/>
         </Window>
-        
-        <Window Type="TaharezLook/Button" Name="orxonox/QuestGUI/ActiveQuestsButton">
-            <Property Name="UnifiedPosition" Value="{{0.11,0},{0.11,0}}"/>
-            <Property Name="UnifiedSize" Value="{{0.15,0},{0.05,0}}"/>
-            <Property Name="Text" Value="Active Quests"/>
-            <Event Name="Clicked" Function="QuestGUI.button_activeQuests_clicked"/>
-        </Window>
 
-        <Window Type="TaharezLook/Button" Name="orxonox/CompletedQuestsButton">
-            <Property Name="UnifiedPosition" Value="{{0.43,0},{0.11,0}}"/>
-            <Property Name="UnifiedSize" Value="{{0.15,0},{0.05,0}}"/>
-            <Property Name="Text" Value="Completed Quests"/>
-            <Event Name="Clicked" Function="QuestGUI.button_activeQuests_clicked"/>
-        </Window>
-
-        <Window Type="TaharezLook/Button" Name="orxonox/FailedQuestsButton">
-            <Property Name="UnifiedPosition" Value="{{0.74,0},{0.11,0}}"/>
-            <Property Name="UnifiedSize" Value="{{0.15,0},{0.05,0}}"/>
-            <Property Name="Text" Value="Failed Quests"/>
-            <Event Name="Clicked" Function="QuestGUI.button_activeQuests_clicked"/>
-        </Window>
-
         <Window Type="TaharezLook/Listbox" Name="orxonox/QuestGUI/QuestsList">
             <Property Name="UnifiedPosition" Value="{{0.07,0},{0.18,0}}" />
             <Property Name="UnifiedSize" Value="{{0.86,0},{0.8,0}}" />

Modified: code/trunk/data/gui/scripts/QuestGUI.lua
===================================================================
--- code/trunk/data/gui/scripts/QuestGUI.lua	2009-09-22 10:44:05 UTC (rev 5760)
+++ code/trunk/data/gui/scripts/QuestGUI.lua	2009-09-23 13:12:05 UTC (rev 5761)
@@ -23,17 +23,5 @@
 
 end
 
-function P:button_activeQuests_clicked(e)
-    
-end
-
-function P:button_completedQuests_clicked(e)
-    
-end
-
-function P:button_failedQuests_clicked(e)
-    
-end
-
 return P
 




More information about the Orxonox-commit mailing list