From efdc9b11cb5ff34246c492439d5697262e25b57f Mon Sep 17 00:00:00 2001 From: ggslyman Date: Mon, 24 Mar 2014 21:15:04 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=93=E3=83=A5=E3=83=BC=E3=82=A2=E3=81=AB?= =?UTF-8?q?=E8=AA=AD=E3=81=BF=E8=BE=BC=E3=82=93=E3=81=A0=E7=94=BB=E5=83=8F?= =?UTF-8?q?=E3=82=92=E3=83=93=E3=83=A5=E3=83=BC=E3=82=A2=E3=81=AE=E3=82=B5?= =?UTF-8?q?=E3=82=A4=E3=82=BA=E3=81=AB=E8=87=AA=E5=8B=95=E3=83=AA=E3=82=B5?= =?UTF-8?q?=E3=82=A4=E3=82=BA=E3=81=99=E3=82=8B=E5=87=A6=E7=90=86=E3=82=92?= =?UTF-8?q?=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit youtubeの動画プレイヤーサイズをオプションから指定出来るように変更 --- README.md | 8 ++ SpeechCast/FormMain.cs | 2 +- SpeechCast/FormSettings.Designer.cs | 143 +++++++++++++++++++----- SpeechCast/FormSettings.cs | 4 + SpeechCast/FormViewResource.Designer.cs | 1 + SpeechCast/FormViewResource.cs | 58 +++++++++- SpeechCast/Properties/AssemblyInfo.cs | 4 +- SpeechCast/UseConfig.cs | 9 +- 8 files changed, 192 insertions(+), 37 deletions(-) diff --git a/README.md b/README.md index 628b2da..b0c0fb2 100644 --- a/README.md +++ b/README.md @@ -35,6 +35,10 @@ 5. 字幕ボタンを押した状態だと字幕が音声再生と同時に表示されます。枠ボタンで表示領域を調整できます。 +6. ステータスバーをクリックすると固定字幕入力欄が表示されます。 + +7. レス表示欄の画像リンク(末尾がjpg、gif、pngで終わるURL)とyoutubeリンクをクリックするとビューアが起動します。ビューアのタブをホイールクリックかダブルクリックでタブを閉じます。 + ##設定  ツールバー右の設定ボタンを押すと各種設定を行うことができます。 @@ -95,6 +99,10 @@ ##更新履歴 +* 14/03/24 2.0.1 Rev.10 + - ビューアに読み込んだ画像をビューアのサイズに自動リサイズする処理を追加 + - youtubeの動画プレイヤーサイズをオプションから指定出来るように変更 + * 14/03/24 2.0.1 Rev.9 - 自動次スレ移動時のスレタイ読み上げにその段階のレス数が含まれていた問題の修正 - レス取得時に末尾移動する機能の代わりにオートスクロール機能を追加 diff --git a/SpeechCast/FormMain.cs b/SpeechCast/FormMain.cs index c3dea0c..a85b0d6 100644 --- a/SpeechCast/FormMain.cs +++ b/SpeechCast/FormMain.cs @@ -2136,7 +2136,7 @@ private void oepnFormViewNewtabYoutube(string id) formViewResource = new FormViewResource(UserConfig.FormViewToRect); formViewResource.Show(); } - formViewResource.addTabYoutube(id); + formViewResource.addTabYoutube(id,UserConfig.ViewerYoutubePlayerWidth,UserConfig.ViewerYoutubePlayerHeight); formViewResource.Activate(); } // ビューア位置の保存 diff --git a/SpeechCast/FormSettings.Designer.cs b/SpeechCast/FormSettings.Designer.cs index d9dcb6b..85e210b 100644 --- a/SpeechCast/FormSettings.Designer.cs +++ b/SpeechCast/FormSettings.Designer.cs @@ -123,9 +123,15 @@ private void InitializeComponent() this.buttonRefernceEditor = new System.Windows.Forms.Button(); this.label8 = new System.Windows.Forms.Label(); this.textBoxEditorFilePath = new System.Windows.Forms.TextBox(); - this.trackBarAutoScrollSpeed = new System.Windows.Forms.TrackBar(); + this.tabPageBrowser = new System.Windows.Forms.TabPage(); this.labelAutoScrollSpeed = new System.Windows.Forms.Label(); this.label28 = new System.Windows.Forms.Label(); + this.trackBarAutoScrollSpeed = new System.Windows.Forms.TrackBar(); + this.label27 = new System.Windows.Forms.Label(); + this.numericUpDownViewerYoutubePlayerHeight = new System.Windows.Forms.NumericUpDown(); + this.numericUpDownViewerYoutubePlayerWidth = new System.Windows.Forms.NumericUpDown(); + this.label29 = new System.Windows.Forms.Label(); + this.label30 = new System.Windows.Forms.Label(); this.buttonRunEditorAAMode = new SpeechCast.Controls.ButtonRunEditor(); this.buttonRunEditorNGWord = new SpeechCast.Controls.ButtonRunEditor(); this.buttonRunEditorPronounciation = new SpeechCast.Controls.ButtonRunEditor(); @@ -154,7 +160,10 @@ private void InitializeComponent() this.tabPage8.SuspendLayout(); this.panelPlaySound.SuspendLayout(); this.tabPage4.SuspendLayout(); + this.tabPageBrowser.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.trackBarAutoScrollSpeed)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDownViewerYoutubePlayerHeight)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDownViewerYoutubePlayerWidth)).BeginInit(); this.SuspendLayout(); // // panel1 @@ -164,7 +173,7 @@ private void InitializeComponent() this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel1.Location = new System.Drawing.Point(0, 396); this.panel1.Name = "panel1"; - this.panel1.Size = new System.Drawing.Size(433, 40); + this.panel1.Size = new System.Drawing.Size(446, 40); this.panel1.TabIndex = 0; // // buttonCancel @@ -196,12 +205,13 @@ private void InitializeComponent() this.tabControl1.Controls.Add(this.tabPage5); this.tabControl1.Controls.Add(this.tabPage6); this.tabControl1.Controls.Add(this.tabPage8); + this.tabControl1.Controls.Add(this.tabPageBrowser); this.tabControl1.Controls.Add(this.tabPage4); this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.tabControl1.Location = new System.Drawing.Point(0, 0); this.tabControl1.Name = "tabControl1"; this.tabControl1.SelectedIndex = 0; - this.tabControl1.Size = new System.Drawing.Size(433, 396); + this.tabControl1.Size = new System.Drawing.Size(446, 396); this.tabControl1.TabIndex = 1; // // tabPage1 @@ -235,7 +245,7 @@ private void InitializeComponent() this.tabPage1.Location = new System.Drawing.Point(4, 22); this.tabPage1.Name = "tabPage1"; this.tabPage1.Padding = new System.Windows.Forms.Padding(3); - this.tabPage1.Size = new System.Drawing.Size(425, 370); + this.tabPage1.Size = new System.Drawing.Size(438, 370); this.tabPage1.TabIndex = 0; this.tabPage1.Text = "音声"; this.tabPage1.UseVisualStyleBackColor = true; @@ -551,7 +561,7 @@ private void InitializeComponent() this.tabPage2.Location = new System.Drawing.Point(4, 22); this.tabPage2.Name = "tabPage2"; this.tabPage2.Padding = new System.Windows.Forms.Padding(3); - this.tabPage2.Size = new System.Drawing.Size(425, 370); + this.tabPage2.Size = new System.Drawing.Size(438, 370); this.tabPage2.TabIndex = 1; this.tabPage2.Text = "字幕"; this.tabPage2.UseVisualStyleBackColor = true; @@ -782,7 +792,7 @@ private void InitializeComponent() this.tabPage7.Location = new System.Drawing.Point(4, 22); this.tabPage7.Name = "tabPage7"; this.tabPage7.Padding = new System.Windows.Forms.Padding(3); - this.tabPage7.Size = new System.Drawing.Size(425, 370); + this.tabPage7.Size = new System.Drawing.Size(438, 370); this.tabPage7.TabIndex = 6; this.tabPage7.Text = "AAモード"; this.tabPage7.UseVisualStyleBackColor = true; @@ -988,7 +998,7 @@ private void InitializeComponent() this.tabPage3.Location = new System.Drawing.Point(4, 22); this.tabPage3.Name = "tabPage3"; this.tabPage3.Padding = new System.Windows.Forms.Padding(3); - this.tabPage3.Size = new System.Drawing.Size(425, 370); + this.tabPage3.Size = new System.Drawing.Size(438, 370); this.tabPage3.TabIndex = 2; this.tabPage3.Text = "通信"; this.tabPage3.UseVisualStyleBackColor = true; @@ -1065,7 +1075,7 @@ private void InitializeComponent() this.tabPage5.Location = new System.Drawing.Point(4, 22); this.tabPage5.Name = "tabPage5"; this.tabPage5.Padding = new System.Windows.Forms.Padding(3); - this.tabPage5.Size = new System.Drawing.Size(425, 370); + this.tabPage5.Size = new System.Drawing.Size(438, 370); this.tabPage5.TabIndex = 4; this.tabPage5.Text = "NGWord"; this.tabPage5.UseVisualStyleBackColor = true; @@ -1089,7 +1099,7 @@ private void InitializeComponent() this.tabPage6.Controls.Add(this.TextBoxPronounciations); this.tabPage6.Location = new System.Drawing.Point(4, 22); this.tabPage6.Name = "tabPage6"; - this.tabPage6.Size = new System.Drawing.Size(425, 370); + this.tabPage6.Size = new System.Drawing.Size(438, 370); this.tabPage6.TabIndex = 5; this.tabPage6.Text = "読み方"; this.tabPage6.UseVisualStyleBackColor = true; @@ -1130,7 +1140,7 @@ private void InitializeComponent() this.tabPage8.Location = new System.Drawing.Point(4, 22); this.tabPage8.Name = "tabPage8"; this.tabPage8.Padding = new System.Windows.Forms.Padding(3); - this.tabPage8.Size = new System.Drawing.Size(425, 370); + this.tabPage8.Size = new System.Drawing.Size(438, 370); this.tabPage8.TabIndex = 7; this.tabPage8.Text = "サウンド"; this.tabPage8.UseVisualStyleBackColor = true; @@ -1218,9 +1228,6 @@ private void InitializeComponent() // // tabPage4 // - this.tabPage4.Controls.Add(this.labelAutoScrollSpeed); - this.tabPage4.Controls.Add(this.label28); - this.tabPage4.Controls.Add(this.trackBarAutoScrollSpeed); this.tabPage4.Controls.Add(this.checkBoxDebug); this.tabPage4.Controls.Add(this.buttonRefernceEditor); this.tabPage4.Controls.Add(this.label8); @@ -1228,7 +1235,7 @@ private void InitializeComponent() this.tabPage4.Location = new System.Drawing.Point(4, 22); this.tabPage4.Name = "tabPage4"; this.tabPage4.Padding = new System.Windows.Forms.Padding(3); - this.tabPage4.Size = new System.Drawing.Size(425, 370); + this.tabPage4.Size = new System.Drawing.Size(438, 370); this.tabPage4.TabIndex = 3; this.tabPage4.Text = "その他"; this.tabPage4.UseVisualStyleBackColor = true; @@ -1236,7 +1243,7 @@ private void InitializeComponent() // checkBoxDebug // this.checkBoxDebug.AutoSize = true; - this.checkBoxDebug.Location = new System.Drawing.Point(9, 115); + this.checkBoxDebug.Location = new System.Drawing.Point(10, 54); this.checkBoxDebug.Name = "checkBoxDebug"; this.checkBoxDebug.Size = new System.Drawing.Size(130, 16); this.checkBoxDebug.TabIndex = 6; @@ -1269,34 +1276,102 @@ private void InitializeComponent() this.textBoxEditorFilePath.Size = new System.Drawing.Size(272, 19); this.textBoxEditorFilePath.TabIndex = 3; // - // trackBarAutoScrollSpeed - // - this.trackBarAutoScrollSpeed.Location = new System.Drawing.Point(145, 57); - this.trackBarAutoScrollSpeed.Minimum = 1; - this.trackBarAutoScrollSpeed.Name = "trackBarAutoScrollSpeed"; - this.trackBarAutoScrollSpeed.Size = new System.Drawing.Size(272, 45); - this.trackBarAutoScrollSpeed.TabIndex = 7; - this.trackBarAutoScrollSpeed.Value = 1; - this.trackBarAutoScrollSpeed.ValueChanged += new System.EventHandler(this.trackBarAutoScrollSpeed_ValueChanged); + // tabPageBrowser + // + this.tabPageBrowser.Controls.Add(this.label30); + this.tabPageBrowser.Controls.Add(this.label29); + this.tabPageBrowser.Controls.Add(this.numericUpDownViewerYoutubePlayerWidth); + this.tabPageBrowser.Controls.Add(this.numericUpDownViewerYoutubePlayerHeight); + this.tabPageBrowser.Controls.Add(this.label27); + this.tabPageBrowser.Controls.Add(this.labelAutoScrollSpeed); + this.tabPageBrowser.Controls.Add(this.label28); + this.tabPageBrowser.Controls.Add(this.trackBarAutoScrollSpeed); + this.tabPageBrowser.Location = new System.Drawing.Point(4, 22); + this.tabPageBrowser.Name = "tabPageBrowser"; + this.tabPageBrowser.Padding = new System.Windows.Forms.Padding(3); + this.tabPageBrowser.Size = new System.Drawing.Size(438, 370); + this.tabPageBrowser.TabIndex = 8; + this.tabPageBrowser.Text = "ブラウザ"; + this.tabPageBrowser.UseVisualStyleBackColor = true; // // labelAutoScrollSpeed // this.labelAutoScrollSpeed.AutoSize = true; - this.labelAutoScrollSpeed.Location = new System.Drawing.Point(118, 70); + this.labelAutoScrollSpeed.Location = new System.Drawing.Point(116, 22); this.labelAutoScrollSpeed.Name = "labelAutoScrollSpeed"; this.labelAutoScrollSpeed.Size = new System.Drawing.Size(11, 12); - this.labelAutoScrollSpeed.TabIndex = 9; + this.labelAutoScrollSpeed.TabIndex = 12; this.labelAutoScrollSpeed.Text = "0"; // // label28 // this.label28.AutoSize = true; - this.label28.Location = new System.Drawing.Point(11, 70); + this.label28.Location = new System.Drawing.Point(9, 22); this.label28.Name = "label28"; this.label28.Size = new System.Drawing.Size(99, 12); - this.label28.TabIndex = 8; + this.label28.TabIndex = 11; this.label28.Text = "自動スクロール速度"; // + // trackBarAutoScrollSpeed + // + this.trackBarAutoScrollSpeed.Location = new System.Drawing.Point(143, 9); + this.trackBarAutoScrollSpeed.Minimum = 1; + this.trackBarAutoScrollSpeed.Name = "trackBarAutoScrollSpeed"; + this.trackBarAutoScrollSpeed.Size = new System.Drawing.Size(272, 45); + this.trackBarAutoScrollSpeed.TabIndex = 10; + this.trackBarAutoScrollSpeed.Value = 1; + // + // label27 + // + this.label27.AutoSize = true; + this.label27.Location = new System.Drawing.Point(9, 80); + this.label27.Name = "label27"; + this.label27.Size = new System.Drawing.Size(122, 12); + this.label27.TabIndex = 13; + this.label27.Text = "Youtubeプレイヤーサイズ"; + // + // numericUpDownViewerYoutubePlayerHeight + // + this.numericUpDownViewerYoutubePlayerHeight.Location = new System.Drawing.Point(292, 78); + this.numericUpDownViewerYoutubePlayerHeight.Maximum = new decimal(new int[] { + 5000, + 0, + 0, + 0}); + this.numericUpDownViewerYoutubePlayerHeight.Name = "numericUpDownViewerYoutubePlayerHeight"; + this.numericUpDownViewerYoutubePlayerHeight.Size = new System.Drawing.Size(75, 19); + this.numericUpDownViewerYoutubePlayerHeight.TabIndex = 14; + // + // numericUpDownViewerYoutubePlayerWidth + // + this.numericUpDownViewerYoutubePlayerWidth.Location = new System.Drawing.Point(164, 78); + this.numericUpDownViewerYoutubePlayerWidth.Maximum = new decimal(new int[] { + 5000, + 0, + 0, + 0}); + this.numericUpDownViewerYoutubePlayerWidth.Name = "numericUpDownViewerYoutubePlayerWidth"; + this.numericUpDownViewerYoutubePlayerWidth.Size = new System.Drawing.Size(75, 19); + this.numericUpDownViewerYoutubePlayerWidth.TabIndex = 15; + // + // label29 + // + this.label29.AutoSize = true; + this.label29.Location = new System.Drawing.Point(261, 80); + this.label29.Name = "label29"; + this.label29.Size = new System.Drawing.Size(25, 12); + this.label29.TabIndex = 16; + this.label29.Text = "高さ"; + // + // label30 + // + this.label30.AutoSize = true; + this.label30.Location = new System.Drawing.Point(141, 80); + this.label30.Name = "label30"; + this.label30.Size = new System.Drawing.Size(17, 12); + this.label30.TabIndex = 17; + this.label30.Text = "幅"; + // // buttonRunEditorAAMode // this.buttonRunEditorAAMode.AutoSize = true; @@ -1339,7 +1414,7 @@ private void InitializeComponent() this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.CancelButton = this.buttonCancel; - this.ClientSize = new System.Drawing.Size(433, 436); + this.ClientSize = new System.Drawing.Size(446, 436); this.Controls.Add(this.tabControl1); this.Controls.Add(this.panel1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; @@ -1385,7 +1460,11 @@ private void InitializeComponent() this.panelPlaySound.PerformLayout(); this.tabPage4.ResumeLayout(false); this.tabPage4.PerformLayout(); + this.tabPageBrowser.ResumeLayout(false); + this.tabPageBrowser.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.trackBarAutoScrollSpeed)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDownViewerYoutubePlayerHeight)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDownViewerYoutubePlayerWidth)).EndInit(); this.ResumeLayout(false); } @@ -1490,6 +1569,12 @@ private void InitializeComponent() private System.Windows.Forms.Label label25; public System.Windows.Forms.NumericUpDown numericUpDownDefaultCaptinoDispInvervalMillsec; private System.Windows.Forms.Label label26; + private System.Windows.Forms.TabPage tabPageBrowser; + private System.Windows.Forms.Label label30; + private System.Windows.Forms.Label label29; + private System.Windows.Forms.NumericUpDown numericUpDownViewerYoutubePlayerWidth; + private System.Windows.Forms.NumericUpDown numericUpDownViewerYoutubePlayerHeight; + private System.Windows.Forms.Label label27; private System.Windows.Forms.Label labelAutoScrollSpeed; private System.Windows.Forms.Label label28; private System.Windows.Forms.TrackBar trackBarAutoScrollSpeed; diff --git a/SpeechCast/FormSettings.cs b/SpeechCast/FormSettings.cs index c3fe20a..4e30eca 100644 --- a/SpeechCast/FormSettings.cs +++ b/SpeechCast/FormSettings.cs @@ -121,6 +121,8 @@ public void SetUserConfig(UserConfig userConfig) this.checkBoxHideCaptionTitle.Checked = userConfig.HideCaptionTitle; this.VoiceVolme = userConfig.SpeakingVolume; this.checkBoxDebug.Checked = userConfig.OutputDebugLog; + numericUpDownViewerYoutubePlayerHeight.Value = userConfig.ViewerYoutubePlayerHeight; + numericUpDownViewerYoutubePlayerWidth.Value = userConfig.ViewerYoutubePlayerWidth; UpdateUI(); } @@ -196,6 +198,8 @@ public void GetUserConfig(UserConfig userConfig) userConfig.AACaptionFont.Colors = this.aAFontColors; userConfig.HideCaptionTitle = this.checkBoxHideCaptionTitle.Checked; userConfig.OutputDebugLog = this.checkBoxDebug.Checked; + userConfig.ViewerYoutubePlayerHeight = (int)numericUpDownViewerYoutubePlayerHeight.Value; + userConfig.ViewerYoutubePlayerWidth = (int)numericUpDownViewerYoutubePlayerWidth.Value; } diff --git a/SpeechCast/FormViewResource.Designer.cs b/SpeechCast/FormViewResource.Designer.cs index 6a304cf..a27efa5 100644 --- a/SpeechCast/FormViewResource.Designer.cs +++ b/SpeechCast/FormViewResource.Designer.cs @@ -39,6 +39,7 @@ private void InitializeComponent() this.tabControlContainer.SelectedIndex = 0; this.tabControlContainer.Size = new System.Drawing.Size(284, 262); this.tabControlContainer.TabIndex = 0; + this.tabControlContainer.DoubleClick += new System.EventHandler(this.tabControlContainer_DoubleClick); this.tabControlContainer.MouseDown += new System.Windows.Forms.MouseEventHandler(this.tabControlContainer_MouseDown); // // FormViewResource diff --git a/SpeechCast/FormViewResource.cs b/SpeechCast/FormViewResource.cs index 44b200e..cdf5f9f 100644 --- a/SpeechCast/FormViewResource.cs +++ b/SpeechCast/FormViewResource.cs @@ -35,19 +35,19 @@ private void FormViewResouce_Load(object sender, EventArgs e) this.Height = rect.Height; } - public void addTabYoutube(string id) + public void addTabYoutube(string id,int width,int height) { // コンテンツ格納用のWebブラウザを作成 WebBrowser wb = new WebBrowser(); // ウィジェットHTMLを生成 - string widgetCode = ""; + string widgetCode = ""; wb.DocumentText = "" + widgetCode + ""; wb.Dock = DockStyle.Fill; // タブに表示するアイコン用画像ストリーム取得 WebClient wc = new WebClient(); string url = "http://img.youtube.com/vi/" + id + "/1.jpg"; - FormMain.Instance.AddLog(url); + // FormMain.Instance.AddLog(url); Stream stream = wc.OpenRead(url); Bitmap bmp = new Bitmap(stream); imgList.Images.Add(url, bmp); @@ -62,7 +62,47 @@ public void addTabImg(string url) { // コンテンツ格納用のWebブラウザを作成 WebBrowser wb = new WebBrowser(); - wb.Url = new Uri(url); + string imgHtml = ""; + string js = @" +"; + wb.DocumentText = "" + imgHtml + js + ""; wb.Dock = DockStyle.Fill; // タブに表示するアイコン用画像ストリーム取得 WebClient wc = new WebClient(); @@ -110,5 +150,15 @@ private void FormViewResource_Resize(object sender, EventArgs e) FormMain.Instance.saveViewerPos(this); } + private void tabControlContainer_DoubleClick(object sender, EventArgs e) + { + TabPage rmPage = this.tabControlContainer.TabPages[tabControlContainer.TabIndex]; + this.tabControlContainer.TabPages.Remove(this.tabControlContainer.TabPages[tabControlContainer.TabIndex]); + // タブを消しただけだとページがメモリ上に残るのでdisposeする + rmPage.Dispose(); + // タブが無くなったらフォーム自体を閉じる + if (this.tabControlContainer.TabCount == 0) this.Close(); + } + } } diff --git a/SpeechCast/Properties/AssemblyInfo.cs b/SpeechCast/Properties/AssemblyInfo.cs index 9782d22..e90560e 100644 --- a/SpeechCast/Properties/AssemblyInfo.cs +++ b/SpeechCast/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ // すべての値を指定するか、下のように '*' を使ってビルドおよびリビジョン番号を // 既定値にすることができます: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("2.0.1.9")] -[assembly: AssemblyFileVersion("2.0.1.9")] +[assembly: AssemblyVersion("2.0.1.10")] +[assembly: AssemblyFileVersion("2.0.1.10")] diff --git a/SpeechCast/UseConfig.cs b/SpeechCast/UseConfig.cs index e8d0fe6..5fe0e54 100644 --- a/SpeechCast/UseConfig.cs +++ b/SpeechCast/UseConfig.cs @@ -122,7 +122,14 @@ public void SupplementSettings() /// イメージビューアのウィンドウ位置 /// public Rectangle FormViewToRect; - + + /// + /// イメージビューアのyoutubeガジェットの表示サイズ + /// + public int ViewerYoutubePlayerHeight = 360; + public int ViewerYoutubePlayerWidth = 480; + + /// /// 自動スクロールONOFF ///