mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2026-05-14 22:24:48 +08:00
Added support for ADPCM codec, new features and bugfix in audio player
This commit is contained in:
Generated
+104
-26
@@ -32,6 +32,9 @@
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AwcForm));
|
||||
this.MainTabControl = new System.Windows.Forms.TabControl();
|
||||
this.PlayerTabPage = new System.Windows.Forms.TabPage();
|
||||
this.LabelInfo = new System.Windows.Forms.Label();
|
||||
this.LabelTime = new System.Windows.Forms.Label();
|
||||
this.StopButton = new System.Windows.Forms.Button();
|
||||
this.VolumeLabel = new System.Windows.Forms.Label();
|
||||
this.chbAutoJump = new System.Windows.Forms.CheckBox();
|
||||
this.PrevButton = new System.Windows.Forms.Button();
|
||||
@@ -41,13 +44,18 @@
|
||||
this.PlaylistNameHeader = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.PlaylistTypeHeader = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.PlaylistLengthHeader = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.contextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components);
|
||||
this.ExportAsWav = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.VolumeTrackBar = new System.Windows.Forms.TrackBar();
|
||||
this.PositionTrackBar = new System.Windows.Forms.TrackBar();
|
||||
this.DetailsTabPage = new System.Windows.Forms.TabPage();
|
||||
this.DetailsPropertyGrid = new CodeWalker.WinForms.PropertyGridFix();
|
||||
this.Timer = new System.Windows.Forms.Timer(this.components);
|
||||
this.saveFileDialog = new System.Windows.Forms.SaveFileDialog();
|
||||
this.PlaylistSizeHeader = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.MainTabControl.SuspendLayout();
|
||||
this.PlayerTabPage.SuspendLayout();
|
||||
this.contextMenuStrip.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.VolumeTrackBar)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.PositionTrackBar)).BeginInit();
|
||||
this.DetailsTabPage.SuspendLayout();
|
||||
@@ -61,11 +69,14 @@
|
||||
this.MainTabControl.Location = new System.Drawing.Point(0, 0);
|
||||
this.MainTabControl.Name = "MainTabControl";
|
||||
this.MainTabControl.SelectedIndex = 0;
|
||||
this.MainTabControl.Size = new System.Drawing.Size(576, 358);
|
||||
this.MainTabControl.Size = new System.Drawing.Size(576, 361);
|
||||
this.MainTabControl.TabIndex = 0;
|
||||
//
|
||||
// PlayerTabPage
|
||||
//
|
||||
this.PlayerTabPage.Controls.Add(this.LabelInfo);
|
||||
this.PlayerTabPage.Controls.Add(this.LabelTime);
|
||||
this.PlayerTabPage.Controls.Add(this.StopButton);
|
||||
this.PlayerTabPage.Controls.Add(this.VolumeLabel);
|
||||
this.PlayerTabPage.Controls.Add(this.chbAutoJump);
|
||||
this.PlayerTabPage.Controls.Add(this.PrevButton);
|
||||
@@ -77,25 +88,54 @@
|
||||
this.PlayerTabPage.Location = new System.Drawing.Point(4, 22);
|
||||
this.PlayerTabPage.Name = "PlayerTabPage";
|
||||
this.PlayerTabPage.Padding = new System.Windows.Forms.Padding(3);
|
||||
this.PlayerTabPage.Size = new System.Drawing.Size(568, 332);
|
||||
this.PlayerTabPage.Size = new System.Drawing.Size(568, 335);
|
||||
this.PlayerTabPage.TabIndex = 0;
|
||||
this.PlayerTabPage.Text = "Player";
|
||||
this.PlayerTabPage.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// LabelInfo
|
||||
//
|
||||
this.LabelInfo.AutoSize = true;
|
||||
this.LabelInfo.Location = new System.Drawing.Point(8, 247);
|
||||
this.LabelInfo.Name = "LabelInfo";
|
||||
this.LabelInfo.Size = new System.Drawing.Size(0, 13);
|
||||
this.LabelInfo.TabIndex = 12;
|
||||
//
|
||||
// LabelTime
|
||||
//
|
||||
this.LabelTime.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.LabelTime.Location = new System.Drawing.Point(285, 308);
|
||||
this.LabelTime.Name = "LabelTime";
|
||||
this.LabelTime.Size = new System.Drawing.Size(114, 17);
|
||||
this.LabelTime.TabIndex = 11;
|
||||
this.LabelTime.TextAlign = System.Drawing.ContentAlignment.TopCenter;
|
||||
//
|
||||
// StopButton
|
||||
//
|
||||
this.StopButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.StopButton.Enabled = false;
|
||||
this.StopButton.Location = new System.Drawing.Point(211, 304);
|
||||
this.StopButton.Name = "StopButton";
|
||||
this.StopButton.Size = new System.Drawing.Size(31, 23);
|
||||
this.StopButton.TabIndex = 10;
|
||||
this.StopButton.Text = "◼";
|
||||
this.StopButton.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// VolumeLabel
|
||||
//
|
||||
this.VolumeLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.VolumeLabel.AutoSize = true;
|
||||
this.VolumeLabel.Location = new System.Drawing.Point(414, 305);
|
||||
this.VolumeLabel.Location = new System.Drawing.Point(405, 308);
|
||||
this.VolumeLabel.Name = "VolumeLabel";
|
||||
this.VolumeLabel.Size = new System.Drawing.Size(42, 13);
|
||||
this.VolumeLabel.Size = new System.Drawing.Size(60, 13);
|
||||
this.VolumeLabel.TabIndex = 9;
|
||||
this.VolumeLabel.Text = "Volume";
|
||||
this.VolumeLabel.Text = "🕩 Volume";
|
||||
//
|
||||
// chbAutoJump
|
||||
//
|
||||
this.chbAutoJump.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.chbAutoJump.AutoSize = true;
|
||||
this.chbAutoJump.Enabled = false;
|
||||
this.chbAutoJump.Location = new System.Drawing.Point(17, 305);
|
||||
this.chbAutoJump.Location = new System.Drawing.Point(17, 308);
|
||||
this.chbAutoJump.Name = "chbAutoJump";
|
||||
this.chbAutoJump.Size = new System.Drawing.Size(108, 17);
|
||||
this.chbAutoJump.TabIndex = 8;
|
||||
@@ -104,34 +144,34 @@
|
||||
//
|
||||
// PrevButton
|
||||
//
|
||||
this.PrevButton.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
|
||||
this.PrevButton.Location = new System.Drawing.Point(137, 301);
|
||||
this.PrevButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.PrevButton.Location = new System.Drawing.Point(137, 304);
|
||||
this.PrevButton.Name = "PrevButton";
|
||||
this.PrevButton.Size = new System.Drawing.Size(31, 23);
|
||||
this.PrevButton.TabIndex = 2;
|
||||
this.PrevButton.Text = "<<";
|
||||
this.PrevButton.Text = "⏮";
|
||||
this.PrevButton.UseVisualStyleBackColor = true;
|
||||
this.PrevButton.Click += new System.EventHandler(this.PrevButton_Click);
|
||||
//
|
||||
// NextButton
|
||||
//
|
||||
this.NextButton.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
|
||||
this.NextButton.Location = new System.Drawing.Point(255, 301);
|
||||
this.NextButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.NextButton.Location = new System.Drawing.Point(248, 304);
|
||||
this.NextButton.Name = "NextButton";
|
||||
this.NextButton.Size = new System.Drawing.Size(31, 23);
|
||||
this.NextButton.TabIndex = 4;
|
||||
this.NextButton.Text = ">>";
|
||||
this.NextButton.Text = "⏭";
|
||||
this.NextButton.UseVisualStyleBackColor = true;
|
||||
this.NextButton.Click += new System.EventHandler(this.NextButton_Click);
|
||||
//
|
||||
// PlayButton
|
||||
//
|
||||
this.PlayButton.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
|
||||
this.PlayButton.Location = new System.Drawing.Point(174, 301);
|
||||
this.PlayButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.PlayButton.Location = new System.Drawing.Point(174, 304);
|
||||
this.PlayButton.Name = "PlayButton";
|
||||
this.PlayButton.Size = new System.Drawing.Size(75, 23);
|
||||
this.PlayButton.Size = new System.Drawing.Size(31, 23);
|
||||
this.PlayButton.TabIndex = 3;
|
||||
this.PlayButton.Text = "Play/Pause";
|
||||
this.PlayButton.Text = "▶";
|
||||
this.PlayButton.UseVisualStyleBackColor = true;
|
||||
this.PlayButton.Click += new System.EventHandler(this.PlayButton_Click);
|
||||
//
|
||||
@@ -143,13 +183,15 @@
|
||||
this.PlayListView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
|
||||
this.PlaylistNameHeader,
|
||||
this.PlaylistTypeHeader,
|
||||
this.PlaylistLengthHeader});
|
||||
this.PlaylistLengthHeader,
|
||||
this.PlaylistSizeHeader});
|
||||
this.PlayListView.ContextMenuStrip = this.contextMenuStrip;
|
||||
this.PlayListView.FullRowSelect = true;
|
||||
this.PlayListView.HideSelection = false;
|
||||
this.PlayListView.Location = new System.Drawing.Point(6, 6);
|
||||
this.PlayListView.MultiSelect = false;
|
||||
this.PlayListView.Name = "PlayListView";
|
||||
this.PlayListView.Size = new System.Drawing.Size(556, 235);
|
||||
this.PlayListView.Size = new System.Drawing.Size(556, 238);
|
||||
this.PlayListView.TabIndex = 0;
|
||||
this.PlayListView.UseCompatibleStateImageBehavior = false;
|
||||
this.PlayListView.View = System.Windows.Forms.View.Details;
|
||||
@@ -158,7 +200,7 @@
|
||||
// PlaylistNameHeader
|
||||
//
|
||||
this.PlaylistNameHeader.Text = "Name";
|
||||
this.PlaylistNameHeader.Width = 303;
|
||||
this.PlaylistNameHeader.Width = 260;
|
||||
//
|
||||
// PlaylistTypeHeader
|
||||
//
|
||||
@@ -168,14 +210,29 @@
|
||||
// PlaylistLengthHeader
|
||||
//
|
||||
this.PlaylistLengthHeader.Text = "Length";
|
||||
this.PlaylistLengthHeader.Width = 110;
|
||||
this.PlaylistLengthHeader.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
|
||||
this.PlaylistLengthHeader.Width = 80;
|
||||
//
|
||||
// contextMenuStrip
|
||||
//
|
||||
this.contextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.ExportAsWav});
|
||||
this.contextMenuStrip.Name = "contextMenuStrip1";
|
||||
this.contextMenuStrip.Size = new System.Drawing.Size(153, 48);
|
||||
//
|
||||
// ExportAsWav
|
||||
//
|
||||
this.ExportAsWav.Name = "ExportAsWav";
|
||||
this.ExportAsWav.Size = new System.Drawing.Size(152, 22);
|
||||
this.ExportAsWav.Text = "Export as .wav";
|
||||
this.ExportAsWav.Click += new System.EventHandler(this.ExportAsWav_Click);
|
||||
//
|
||||
// VolumeTrackBar
|
||||
//
|
||||
this.VolumeTrackBar.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.VolumeTrackBar.BackColor = System.Drawing.SystemColors.ControlLightLight;
|
||||
this.VolumeTrackBar.LargeChange = 10;
|
||||
this.VolumeTrackBar.Location = new System.Drawing.Point(455, 301);
|
||||
this.VolumeTrackBar.Location = new System.Drawing.Point(455, 304);
|
||||
this.VolumeTrackBar.Maximum = 100;
|
||||
this.VolumeTrackBar.Name = "VolumeTrackBar";
|
||||
this.VolumeTrackBar.Size = new System.Drawing.Size(105, 45);
|
||||
@@ -190,7 +247,7 @@
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.PositionTrackBar.BackColor = System.Drawing.SystemColors.ControlLightLight;
|
||||
this.PositionTrackBar.LargeChange = 1000;
|
||||
this.PositionTrackBar.Location = new System.Drawing.Point(6, 263);
|
||||
this.PositionTrackBar.Location = new System.Drawing.Point(6, 266);
|
||||
this.PositionTrackBar.Maximum = 1000;
|
||||
this.PositionTrackBar.Name = "PositionTrackBar";
|
||||
this.PositionTrackBar.Size = new System.Drawing.Size(554, 45);
|
||||
@@ -204,7 +261,7 @@
|
||||
this.DetailsTabPage.Location = new System.Drawing.Point(4, 22);
|
||||
this.DetailsTabPage.Name = "DetailsTabPage";
|
||||
this.DetailsTabPage.Padding = new System.Windows.Forms.Padding(3);
|
||||
this.DetailsTabPage.Size = new System.Drawing.Size(568, 332);
|
||||
this.DetailsTabPage.Size = new System.Drawing.Size(568, 335);
|
||||
this.DetailsTabPage.TabIndex = 1;
|
||||
this.DetailsTabPage.Text = "Details";
|
||||
this.DetailsTabPage.UseVisualStyleBackColor = true;
|
||||
@@ -215,27 +272,41 @@
|
||||
this.DetailsPropertyGrid.HelpVisible = false;
|
||||
this.DetailsPropertyGrid.Location = new System.Drawing.Point(3, 3);
|
||||
this.DetailsPropertyGrid.Name = "DetailsPropertyGrid";
|
||||
this.DetailsPropertyGrid.Size = new System.Drawing.Size(562, 326);
|
||||
this.DetailsPropertyGrid.Size = new System.Drawing.Size(562, 329);
|
||||
this.DetailsPropertyGrid.TabIndex = 0;
|
||||
//
|
||||
// Timer
|
||||
//
|
||||
this.Timer.Enabled = true;
|
||||
this.Timer.Interval = 25;
|
||||
this.Timer.Tick += new System.EventHandler(this.Timer_Tick);
|
||||
//
|
||||
// saveFileDialog
|
||||
//
|
||||
this.saveFileDialog.DefaultExt = "wav";
|
||||
this.saveFileDialog.Filter = "Wave files (*.wav)|*.wav";
|
||||
//
|
||||
// PlaylistSizeHeader
|
||||
//
|
||||
this.PlaylistSizeHeader.Text = "Size";
|
||||
this.PlaylistSizeHeader.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
|
||||
this.PlaylistSizeHeader.Width = 80;
|
||||
//
|
||||
// AwcForm
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(576, 358);
|
||||
this.ClientSize = new System.Drawing.Size(576, 361);
|
||||
this.Controls.Add(this.MainTabControl);
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.MinimumSize = new System.Drawing.Size(592, 300);
|
||||
this.Name = "AwcForm";
|
||||
this.Text = "AWC Player - CodeWalker by dexyfex";
|
||||
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.AwcForm_FormClosing);
|
||||
this.MainTabControl.ResumeLayout(false);
|
||||
this.PlayerTabPage.ResumeLayout(false);
|
||||
this.PlayerTabPage.PerformLayout();
|
||||
this.contextMenuStrip.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.VolumeTrackBar)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.PositionTrackBar)).EndInit();
|
||||
this.DetailsTabPage.ResumeLayout(false);
|
||||
@@ -261,5 +332,12 @@
|
||||
private System.Windows.Forms.Timer Timer;
|
||||
private System.Windows.Forms.CheckBox chbAutoJump;
|
||||
private System.Windows.Forms.Label VolumeLabel;
|
||||
private System.Windows.Forms.Button StopButton;
|
||||
private System.Windows.Forms.Label LabelTime;
|
||||
private System.Windows.Forms.Label LabelInfo;
|
||||
private System.Windows.Forms.ContextMenuStrip contextMenuStrip;
|
||||
private System.Windows.Forms.ToolStripMenuItem ExportAsWav;
|
||||
private System.Windows.Forms.SaveFileDialog saveFileDialog;
|
||||
private System.Windows.Forms.ColumnHeader PlaylistSizeHeader;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user