• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

OmegaChartのソースコードの保守


Commit MetaInfo

Revisãodc06f2a25a66ba7280b7b6293e15d9fb595bfeb6 (tree)
Hora2016-09-08 03:36:31
Autorpanacoran <panacoran@user...>
Commiterpanacoran

Mensagem de Log

価格帯別出来高の設定で年足を指定できないのを直す

https://osdn.jp/users/panacoran/pastebin/3977

Mudança Sumário

Diff

--- a/CustomizeDialog.cs
+++ b/CustomizeDialog.cs
@@ -630,10 +630,11 @@ namespace Zanetti.Forms
630630 pr.CreditLongAppearance.Pen.Update(_creditLongColorBox.Color, (ZPen.PenStyle)_creditLongStyleBox.SelectedIndex);
631631 pr.CreditShortAppearance.Pen.Update(_creditShortColorBox.Color, (ZPen.PenStyle)_creditShortStyleBox.SelectedIndex);
632632
633- pr.AccumulativeVolumePeriod.Update(new int[3] {
633+ pr.AccumulativeVolumePeriod.Update(new int[] {
634634 Int32.Parse(_accumulativeVolumeBox[0].Text),
635635 Int32.Parse(_accumulativeVolumeBox[1].Text),
636- Int32.Parse(_accumulativeVolumeBox[2].Text)});
636+ Int32.Parse(_accumulativeVolumeBox[2].Text),
637+ Int32.Parse(_accumulativeVolumeBox[3].Text)});
637638
638639 CommandExec.ResetLayout();
639640 }
--- a/Preference.cs
+++ b/Preference.cs
@@ -18,7 +18,7 @@ namespace Zanetti.UI
1818 {
1919 internal class ChartFormatSpecificValue {
2020 private int[] _data;
21- private const int LENGTH = 3;
21+ private const int LENGTH = 4;
2222
2323 public ChartFormatSpecificValue(int[] t) {
2424 if(t.Length==LENGTH)
@@ -504,7 +504,7 @@ namespace Zanetti.UI
504504 _fushiRange = LoadInt(config, "fushi-range", 5);
505505 _fontDirty = true;
506506
507- _accumulativeVolumePeriod = new ChartFormatSpecificValue(LoadString(config, "accumulative-volume-period", "60,52,24"));
507+ _accumulativeVolumePeriod = new ChartFormatSpecificValue(LoadString(config, "accumulative-volume-period", "60,52,24,10"));
508508 _oscillatorPreferences = new OscillatorPreference[OscillatorPreference.LENGTH];
509509 for(int i=0; i<_oscillatorPreferences.Length; i++)
510510 _oscillatorPreferences[i] = new OscillatorPreference(LoadString(config, "oscillator-"+i, "none"));