• R/O
  • SSH
  • HTTPS

nlgp1: Commit


Commit MetaInfo

Revision607 (tree)
Zeit2010-11-24 19:04:27
Autormassa_senohito

Log Message

(empty log message)

Ändern Zusammenfassung

Diff

--- trunk/Nlgp1/Nlgp1.StageEditor/Notifies/StageNotify.cs (revision 606)
+++ trunk/Nlgp1/Nlgp1.StageEditor/Notifies/StageNotify.cs (revision 607)
@@ -40,7 +40,10 @@
4040 get;
4141 set;
4242 }
43-
43+ public string BgmPath {
44+ get;
45+ set;
46+ }
4447 public void Create( string path , int chipSize , int row , int column ) {
4548 SetPath( path );
4649 this.ChipSize = chipSize;
--- trunk/Nlgp1/Nlgp1.StageEditor/Notifies/NotifyLoader.cs (revision 606)
+++ trunk/Nlgp1/Nlgp1.StageEditor/Notifies/NotifyLoader.cs (revision 607)
@@ -21,6 +21,8 @@
2121 editor.Create();
2222 stageNotify.Create( path , chipSize , mapRowCount , mapColumnCount );
2323
24+ stageNotify.BgmPath = stageData.BgmPath;
25+
2426 foreach( var layerData in stageData.Layers ) {
2527 var layerNotify = LayerInstance.Add( layerData.Name );
2628 foreach( var chipData in layerData.Chips ) {
--- trunk/Nlgp1/Nlgp1.StageEditor/Controls/LayersetControl.cs (revision 606)
+++ trunk/Nlgp1/Nlgp1.StageEditor/Controls/LayersetControl.cs (revision 607)
@@ -166,8 +166,10 @@
166166 soundfile = MusicPath.Text;
167167 }
168168
169+ public void ChangeMusicPath(string path) {
170+ MusicPath.Text = path;
171+ }
169172
170-
171173 }
172174
173175 public class LayerTabPage : TabPage
--- trunk/Nlgp1/Nlgp1.StageEditor/Controls/Events/LayersetControlEvent.cs (revision 606)
+++ trunk/Nlgp1/Nlgp1.StageEditor/Controls/Events/LayersetControlEvent.cs (revision 607)
@@ -30,7 +30,7 @@
3030 }
3131 LayerInstance.SetCurrentLayer(layer);
3232 };
33-
33+ layersetControl.ChangeMusicPath(stage.BgmPath);
3434 stage.PropertyChanged += layersetControl.MapData_PropertyChanged;
3535 }
3636 }
Show on old repository browser