BIN
Icons/Black/WaveformCenter.png
Normal file
After Width: | Height: | Size: 2.0 KiB |
BIN
Icons/Black/WaveformPause.png
Normal file
After Width: | Height: | Size: 2.0 KiB |
BIN
Icons/Black/WaveformPlay.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
Icons/Black/WaveformPlayPause.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
Icons/Black/WaveformPlaybackSpeed.png
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
Icons/Black/WaveformZoomIn.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
Icons/Black/WaveformZoomOut.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.7 KiB |
BIN
Icons/Black/WebVttStyle.png
Normal file
After Width: | Height: | Size: 2.4 KiB |
BIN
Icons/DarkTheme/WaveformCenter.png
Normal file
After Width: | Height: | Size: 2.0 KiB |
BIN
Icons/DarkTheme/WaveformPause.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
Icons/DarkTheme/WaveformPlay.png
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
Icons/DarkTheme/WaveformPlayPause.png
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
Icons/DarkTheme/WaveformPlaybackSpeed.png
Normal file
After Width: | Height: | Size: 2.0 KiB |
BIN
Icons/DarkTheme/WaveformZoomIn.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
Icons/DarkTheme/WaveformZoomOut.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.7 KiB |
BIN
Icons/DarkTheme/WebVttStyle.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
Icons/DefaultTheme/WaveformCenter.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
Icons/DefaultTheme/WaveformPause.png
Normal file
After Width: | Height: | Size: 2.0 KiB |
BIN
Icons/DefaultTheme/WaveformPlay.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
Icons/DefaultTheme/WaveformPlayPause.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
Icons/DefaultTheme/WaveformPlaybackSpeed.png
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
Icons/DefaultTheme/WaveformZoomIn.png
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
Icons/DefaultTheme/WaveformZoomOut.png
Normal file
After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.3 KiB |
BIN
Icons/DefaultTheme/WebVttStyle.png
Normal file
After Width: | Height: | Size: 2.0 KiB |
BIN
Icons/Legacy/WebVttStyle.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
@ -5946,7 +5946,7 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
return UiUtil.ShowSubtitle(_subtitle, mediaPlayer, format);
|
||||
}
|
||||
|
||||
private static void TryLoadIcon(ToolStripButton button, string iconName)
|
||||
private static void TryLoadIcon(ToolStripItem button, string iconName)
|
||||
{
|
||||
var theme = Configuration.Settings.General.UseDarkTheme ? "DarkTheme" : "DefaultTheme";
|
||||
if (!string.IsNullOrEmpty(Configuration.Settings.General.ToolbarIconTheme) && !Configuration.Settings.General.ToolbarIconTheme.Equals("Auto", StringComparison.OrdinalIgnoreCase))
|
||||
@ -5995,6 +5995,13 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
TryLoadIcon(toolStripButtonToggleWaveform, "WaveformToggle");
|
||||
TryLoadIcon(toolStripButtonToggleVideo, "VideoToggle");
|
||||
TryLoadIcon(toolStripButtonSourceView, "SourceView");
|
||||
|
||||
TryLoadIcon(toolStripButtonWaveformZoomOut, "WaveformZoomOut");
|
||||
TryLoadIcon(toolStripButtonWaveformZoomIn, "WaveformZoomIn");
|
||||
TryLoadIcon(toolStripButtonWaveformPause, "WaveformPause");
|
||||
TryLoadIcon(toolStripButtonWaveformPlay, "WaveformPlay");
|
||||
TryLoadIcon(toolStripButtonLockCenter, "WaveformCenter");
|
||||
TryLoadIcon(toolStripSplitButtonPlayRate, "WaveformPlaybackSpeed");
|
||||
// IttProperties, WebVttProperties, WebVttStyle, EbuProperties
|
||||
}
|
||||
|
||||
@ -17712,7 +17719,7 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
{
|
||||
mediaPlayer.VideoPlayer.PlayRate = 1.0;
|
||||
InitializePlayRateDropDown();
|
||||
toolStripSplitButtonPlayRate.Image = imageListPlayRate.Images[0];
|
||||
//toolStripSplitButtonPlayRate.Image = imageListPlayRate.Images[0];
|
||||
}
|
||||
}
|
||||
else if (audioVisualizer.Focused && audioVisualizer.NewSelectionParagraph != null && e.KeyData == _shortcuts.WaveformAddTextAtHere)
|
||||
@ -25236,7 +25243,15 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
if (!playedWithCustomSpeed)
|
||||
{
|
||||
playRateDropDownItem.Checked = true;
|
||||
toolStripSplitButtonPlayRate.Image = Math.Abs(factor - 1) < 0.01 ? imageListPlayRate.Images[0] : imageListPlayRate.Images[1];
|
||||
if (Math.Abs(factor - 1) < 0.01)
|
||||
{
|
||||
}
|
||||
else
|
||||
{
|
||||
toolStripSplitButtonPlayRate.Select();
|
||||
}
|
||||
|
||||
//toolStripSplitButtonPlayRate.Image = Math.Abs(factor - 1) < 0.01 ? imageListPlayRate.Images[0] : imageListPlayRate.Images[1];
|
||||
}
|
||||
|
||||
try
|
||||
|
24
src/ui/Forms/Options/Settings.Designer.cs
generated
@ -319,6 +319,7 @@
|
||||
this.groupBox2 = new System.Windows.Forms.GroupBox();
|
||||
this.checkBoxShowFrameRate = new System.Windows.Forms.CheckBox();
|
||||
this.groupBoxShowToolBarButtons = new System.Windows.Forms.GroupBox();
|
||||
this.pictureBoxWebVttStyle = new System.Windows.Forms.PictureBox();
|
||||
this.pictureBoxEbuProperties = new System.Windows.Forms.PictureBox();
|
||||
this.pictureBoxWebVttProperties = new System.Windows.Forms.PictureBox();
|
||||
this.pictureBoxIttProperties = new System.Windows.Forms.PictureBox();
|
||||
@ -440,7 +441,6 @@
|
||||
this.labelUpdateFileTypeAssociationsStatus = new System.Windows.Forms.Label();
|
||||
this.imageListFileTypeAssociations = new System.Windows.Forms.ImageList(this.components);
|
||||
this.toolTipDialogStylePreview = new System.Windows.Forms.ToolTip(this.components);
|
||||
this.pictureBoxWebVttStyle = new System.Windows.Forms.PictureBox();
|
||||
this.panelGeneral.SuspendLayout();
|
||||
this.groupBoxMiscellaneous.SuspendLayout();
|
||||
this.groupBoxGeneralRules.SuspendLayout();
|
||||
@ -486,6 +486,7 @@
|
||||
this.panelToolBar.SuspendLayout();
|
||||
this.groupBox2.SuspendLayout();
|
||||
this.groupBoxShowToolBarButtons.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBoxWebVttStyle)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBoxEbuProperties)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBoxWebVttProperties)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBoxIttProperties)).BeginInit();
|
||||
@ -522,7 +523,6 @@
|
||||
this.groupBoxProxySettings.SuspendLayout();
|
||||
this.groupBoxProxyAuthentication.SuspendLayout();
|
||||
this.panelFileTypeAssociations.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBoxWebVttStyle)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// buttonOK
|
||||
@ -4094,6 +4094,14 @@
|
||||
this.groupBoxShowToolBarButtons.TabStop = false;
|
||||
this.groupBoxShowToolBarButtons.Text = "Show toolbar buttons";
|
||||
//
|
||||
// pictureBoxWebVttStyle
|
||||
//
|
||||
this.pictureBoxWebVttStyle.Location = new System.Drawing.Point(285, 400);
|
||||
this.pictureBoxWebVttStyle.Name = "pictureBoxWebVttStyle";
|
||||
this.pictureBoxWebVttStyle.Size = new System.Drawing.Size(32, 32);
|
||||
this.pictureBoxWebVttStyle.TabIndex = 60;
|
||||
this.pictureBoxWebVttStyle.TabStop = false;
|
||||
//
|
||||
// pictureBoxEbuProperties
|
||||
//
|
||||
this.pictureBoxEbuProperties.Location = new System.Drawing.Point(361, 400);
|
||||
@ -4104,7 +4112,7 @@
|
||||
//
|
||||
// pictureBoxWebVttProperties
|
||||
//
|
||||
this.pictureBoxWebVttProperties.Location = new System.Drawing.Point(285, 400);
|
||||
this.pictureBoxWebVttProperties.Location = new System.Drawing.Point(324, 400);
|
||||
this.pictureBoxWebVttProperties.Name = "pictureBoxWebVttProperties";
|
||||
this.pictureBoxWebVttProperties.Size = new System.Drawing.Size(32, 32);
|
||||
this.pictureBoxWebVttProperties.TabIndex = 58;
|
||||
@ -5284,14 +5292,6 @@
|
||||
this.toolTipDialogStylePreview.InitialDelay = 500;
|
||||
this.toolTipDialogStylePreview.ReshowDelay = 100;
|
||||
//
|
||||
// pictureBoxWebVttStyle
|
||||
//
|
||||
this.pictureBoxWebVttStyle.Location = new System.Drawing.Point(323, 400);
|
||||
this.pictureBoxWebVttStyle.Name = "pictureBoxWebVttStyle";
|
||||
this.pictureBoxWebVttStyle.Size = new System.Drawing.Size(32, 32);
|
||||
this.pictureBoxWebVttStyle.TabIndex = 60;
|
||||
this.pictureBoxWebVttStyle.TabStop = false;
|
||||
//
|
||||
// Settings
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
@ -5392,6 +5392,7 @@
|
||||
this.groupBox2.PerformLayout();
|
||||
this.groupBoxShowToolBarButtons.ResumeLayout(false);
|
||||
this.groupBoxShowToolBarButtons.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBoxWebVttStyle)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBoxEbuProperties)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBoxWebVttProperties)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBoxIttProperties)).EndInit();
|
||||
@ -5436,7 +5437,6 @@
|
||||
this.groupBoxProxyAuthentication.ResumeLayout(false);
|
||||
this.groupBoxProxyAuthentication.PerformLayout();
|
||||
this.panelFileTypeAssociations.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBoxWebVttStyle)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
|