customizemii/CustomizeMii/CustomizeMii_PaletteFormatBox.cs
Leathl 96598a70cc CustomizeMii 3.1
git-svn-id: svn://localhost/Users/andi/Downloads/code/trunk@36 eddbe33b-e435-4246-ac25-f5eb65f9a13c
2010-04-20 19:54:36 +00:00

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();
}
}
}