mirror of
https://github.com/SirusDoma/VoxCharger.git
synced 2025-02-16 10:32:38 +01:00
- Fix naming and other code style issues - Fix `float` and `double` parsing issue when current System Culture comma separator is not `.` - This fixes issue when parsing BPM and other floating numbers. - Fix song selection when the program doesn't support the latest datecode in the future - It will disable Game Version and Infinite Version selection. - Replaced ancient `FolderBrowserDialog` with `CommonFileDialog` - Update default GameVersion and BackgroundId to latest version - Implement Radar information in `LevelEditorForm` - Implement built-in 2DX Encoder - Start Offset / TimeStamp and Fader effect for audio preview is now supported - Audio preview files is no longer divided into multiple files by default when audio files are unique. It still possible to specify unique preview via `LevelEditorForm` - Implement advanced configuration when importing .ksh chart - Add draft codes for Effect Mapping configurations and S3V support - Other Bugfixes and QoL improvements
38 lines
985 B
C#
38 lines
985 B
C#
using System;
|
|
using System.Drawing;
|
|
using System.Windows.Forms;
|
|
|
|
namespace VoxCharger
|
|
{
|
|
public partial class JacketViewerForm : Form
|
|
{
|
|
public JacketViewerForm(Image image)
|
|
{
|
|
InitializeComponent();
|
|
|
|
JacketPictureBox.Size = Size = image.Size;
|
|
JacketPictureBox.Image = image;
|
|
}
|
|
|
|
private void OnJacketFormLoad(object sender, EventArgs e)
|
|
{
|
|
}
|
|
|
|
private void JacketPictureBox_MouseClick(object sender, MouseEventArgs e)
|
|
{
|
|
if (e.Button == MouseButtons.Right)
|
|
{
|
|
using (var browser = new SaveFileDialog())
|
|
{
|
|
browser.Filter = "Image Files|*.png;*.jpg;*.bmp";
|
|
if (browser.ShowDialog() == DialogResult.OK)
|
|
JacketPictureBox.Image.Save(browser.FileName);
|
|
|
|
}
|
|
}
|
|
else
|
|
Close();
|
|
}
|
|
}
|
|
}
|