Load up Rom dump status icon with various ROM statuses
This commit is contained in:
parent
6fc8d16e42
commit
4ba6fb4122
|
@ -599,6 +599,10 @@
|
|||
<None Include="images\Blank.png" />
|
||||
<None Include="images\RecordHS.png" />
|
||||
<None Include="images\GreenCheck.png" />
|
||||
<None Include="images\RetroQuestion.png" />
|
||||
<None Include="images\ExclamationRed.png" />
|
||||
<None Include="images\Translation.png" />
|
||||
<None Include="images\HomeBrew.png" />
|
||||
<Content Include="logo.ico" />
|
||||
<Content Include="output\gamedb.txt" />
|
||||
<Content Include="output\gamedb_neshomebrew.txt" />
|
||||
|
|
|
@ -930,14 +930,36 @@ namespace BizHawk.MultiClient
|
|||
{
|
||||
if (Global.Game != null)
|
||||
{
|
||||
if (Global.Game.Status == RomStatus.BadDump)
|
||||
{
|
||||
DumpError.Image = BizHawk.MultiClient.Properties.Resources.WarningHS;
|
||||
DumpError.ToolTipText = "Warning: Bad ROM Dump";
|
||||
} else {
|
||||
DumpError.Image = BizHawk.MultiClient.Properties.Resources.GreenCheck;
|
||||
DumpError.ToolTipText = "Verified good dump";
|
||||
}
|
||||
if (Global.Game.Status == RomStatus.BadDump)
|
||||
{
|
||||
DumpError.Image = BizHawk.MultiClient.Properties.Resources.ExclamationRed;
|
||||
DumpError.ToolTipText = "Warning: Bad ROM Dump";
|
||||
}
|
||||
else if (Global.Game.Status == RomStatus.Overdump)
|
||||
{
|
||||
DumpError.Image = BizHawk.MultiClient.Properties.Resources.ExclamationRed;
|
||||
DumpError.ToolTipText = "Warning: Overdump";
|
||||
}
|
||||
else if (Global.Game.Status == RomStatus.NotInDatabase)
|
||||
{
|
||||
DumpError.Image = BizHawk.MultiClient.Properties.Resources.RetroQuestion;
|
||||
DumpError.ToolTipText = "Warning: Unknown ROM";
|
||||
}
|
||||
else if (Global.Game.Status == RomStatus.TranslatedRom)
|
||||
{
|
||||
DumpError.Image = BizHawk.MultiClient.Properties.Resources.Translation;
|
||||
DumpError.ToolTipText = "Translated ROM";
|
||||
}
|
||||
else if (Global.Game.Status == RomStatus.Homebrew)
|
||||
{
|
||||
DumpError.Image = BizHawk.MultiClient.Properties.Resources.HomeBrew;
|
||||
DumpError.ToolTipText = "Homebrew ROM";
|
||||
}
|
||||
else
|
||||
{
|
||||
DumpError.Image = BizHawk.MultiClient.Properties.Resources.GreenCheck;
|
||||
DumpError.ToolTipText = "Verified good dump";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -13,10 +13,8 @@ namespace BizHawk.MultiClient
|
|||
public partial class PlayMovie : Form
|
||||
{
|
||||
//TODO: after browse & update, focus on the movie just added, and show stats
|
||||
//This is a modal dialog, implement it as modeless
|
||||
// Option to include subdirectories
|
||||
// Option to include savestate files (that have an input log)
|
||||
//Clicking column headers should sort info
|
||||
//AddMovieToList should check for duplicates and not add them
|
||||
|
||||
List<Movie> MovieList = new List<Movie>();
|
||||
|
@ -87,6 +85,9 @@ namespace BizHawk.MultiClient
|
|||
{
|
||||
AddMovieToList(ofd.FileName);
|
||||
}
|
||||
MovieView.SelectedIndices.Clear();
|
||||
MovieView.setSelection(MovieList.Count - 1);
|
||||
MovieView.SelectItem(MovieView.Items.Count - 1, true);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -101,8 +102,7 @@ namespace BizHawk.MultiClient
|
|||
PreLoadMovieFile(file);
|
||||
MovieView.ItemCount = MovieList.Count;
|
||||
UpdateList();
|
||||
MovieView.SelectedIndices.Clear();
|
||||
MovieView.setSelection(MovieList.Count - 1);
|
||||
|
||||
sortReverse = false;
|
||||
sortedCol = "";
|
||||
}
|
||||
|
|
|
@ -172,6 +172,13 @@ namespace BizHawk.MultiClient.Properties {
|
|||
}
|
||||
}
|
||||
|
||||
internal static System.Drawing.Bitmap ExclamationRed {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("ExclamationRed", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
internal static System.Drawing.Bitmap FastForward {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("FastForward", resourceCulture);
|
||||
|
@ -235,6 +242,13 @@ namespace BizHawk.MultiClient.Properties {
|
|||
}
|
||||
}
|
||||
|
||||
internal static System.Drawing.Bitmap HomeBrew {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("HomeBrew", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
internal static System.Drawing.Bitmap HotKeys {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("HotKeys", resourceCulture);
|
||||
|
@ -409,6 +423,13 @@ namespace BizHawk.MultiClient.Properties {
|
|||
}
|
||||
}
|
||||
|
||||
internal static System.Drawing.Bitmap RetroQuestion {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("RetroQuestion", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
internal static System.Drawing.Bitmap Save {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("Save", resourceCulture);
|
||||
|
@ -486,6 +507,13 @@ namespace BizHawk.MultiClient.Properties {
|
|||
}
|
||||
}
|
||||
|
||||
internal static System.Drawing.Bitmap Translation {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("Translation", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
internal static System.Drawing.Bitmap TruncateFromFile {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("TruncateFromFile", resourceCulture);
|
||||
|
|
|
@ -744,10 +744,22 @@
|
|||
<data name="Blank" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\images\Blank.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="ExclamationRed" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\images\ExclamationRed.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="GreenCheck" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\images\GreenCheck.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="HomeBrew" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\images\HomeBrew.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="RecordHS" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\images\RecordHS.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="RetroQuestion" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\images\RetroQuestion.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="Translation" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\images\Translation.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
</root>
|
Binary file not shown.
After Width: | Height: | Size: 3.3 KiB |
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
Binary file not shown.
After Width: | Height: | Size: 3.4 KiB |
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
Loading…
Reference in New Issue