|
From: <che...@us...> - 2007-05-24 16:27:28
|
Revision: 424
http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=424&view=rev
Author: chef_koch
Date: 2007-05-24 09:27:10 -0700 (Thu, 24 May 2007)
Log Message:
-----------
header label is now set by setproperty (#header_label), no more by setcontrollabel(11)
Modified Paths:
--------------
trunk/plugins/My Connect4/Skin/Skin Blue Two/MyConnect4.xml
trunk/plugins/My Connect4/Source/MyConnect4/MyConnect4.cs
Modified: trunk/plugins/My Connect4/Skin/Skin Blue Two/MyConnect4.xml
===================================================================
--- trunk/plugins/My Connect4/Skin/Skin Blue Two/MyConnect4.xml 2007-05-24 16:15:49 UTC (rev 423)
+++ trunk/plugins/My Connect4/Skin/Skin Blue Two/MyConnect4.xml 2007-05-24 16:27:10 UTC (rev 424)
@@ -22,6 +22,7 @@
<id>11</id>
<posX>250</posX>
<posY>70</posY>
+ <label>#header_label</label>
<font>font16</font>
<align>right</align>
<textcolor>White</textcolor>
Modified: trunk/plugins/My Connect4/Source/MyConnect4/MyConnect4.cs
===================================================================
--- trunk/plugins/My Connect4/Source/MyConnect4/MyConnect4.cs 2007-05-24 16:15:49 UTC (rev 423)
+++ trunk/plugins/My Connect4/Source/MyConnect4/MyConnect4.cs 2007-05-24 16:27:10 UTC (rev 424)
@@ -224,7 +224,8 @@
Mode = "1p";
AI = 5;
- GUIControl.SetControlLabel(GetID, 11, MyConnect.GUILocalizeStrings.Get(0)); // My Connect 4
+ GUIPropertyManager.SetProperty("#header_label", MyConnect.GUILocalizeStrings.Get(0)); // My Connect 4
+
GUIControl.SetControlLabel(GetID, BtnStart.GetID, MyConnect.GUILocalizeStrings.Get(1)); // Start
GUIControl.SetControlLabel(GetID, BtnWhatsThis.GetID, MyConnect.GUILocalizeStrings.Get(31)); // What is Connect4?
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|