96598a70cc
git-svn-id: svn://localhost/Users/andi/Downloads/code/trunk@36 eddbe33b-e435-4246-ac25-f5eb65f9a13c
41 lines
1.1 KiB
C#
41 lines
1.1 KiB
C#
using System.Windows.Forms;
|
|
using libWiiSharp;
|
|
|
|
namespace CustomizeMii
|
|
{
|
|
public partial class CustomizeMii_PaletteFormatBox : Form
|
|
{
|
|
private TPL_PaletteFormat pFormat = TPL_PaletteFormat.RGB5A3;
|
|
|
|
public TPL_PaletteFormat PaletteFormat { get { return pFormat; } }
|
|
|
|
public CustomizeMii_PaletteFormatBox()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
private void btnIA8_Click(object sender, System.EventArgs e)
|
|
{
|
|
pFormat = TPL_PaletteFormat.IA8;
|
|
this.Close();
|
|
}
|
|
|
|
private void btnRGB5A3_Click(object sender, System.EventArgs e)
|
|
{
|
|
pFormat = TPL_PaletteFormat.RGB5A3;
|
|
this.Close();
|
|
}
|
|
|
|
private void btnRGB565_Click(object sender, System.EventArgs e)
|
|
{
|
|
pFormat = TPL_PaletteFormat.RGB565;
|
|
this.Close();
|
|
}
|
|
|
|
private void CustomizeMii_PaletteFormatBox_Load(object sender, System.EventArgs e)
|
|
{
|
|
CenterToParent();
|
|
}
|
|
}
|
|
}
|