mirror of
https://github.com/libretro/MesenCE.git
synced 2026-11-10 03:02:05 -10:00
Also, minor bug fixes for WS: -Fixed tilemap viewer for sometimes using the wrong background color -Fixed the 4-bit RGB color values in the palette viewer having the R and B values swapped
31 lines
1.3 KiB
C#
31 lines
1.3 KiB
C#
using CommunityToolkit.Mvvm.ComponentModel;
|
|
using Mesen.Interop;
|
|
|
|
namespace Mesen.Config
|
|
{
|
|
public partial class TilemapViewerConfig : BaseWindowConfig<TilemapViewerConfig>
|
|
{
|
|
[ObservableProperty] public partial bool ShowSettingsPanel { get; set; } = true;
|
|
|
|
[ObservableProperty] public partial double ImageScale { get; set; } = 1;
|
|
|
|
[ObservableProperty] public partial bool ShowGrid { get; set; }
|
|
[ObservableProperty] public partial bool ShowScrollOverlay { get; set; }
|
|
|
|
[ObservableProperty] public partial bool NesShowAttributeGrid { get; set; }
|
|
[ObservableProperty] public partial bool NesShowAttributeByteGrid { get; set; }
|
|
[ObservableProperty] public partial bool NesShowTilemapGrid { get; set; }
|
|
|
|
[ObservableProperty] public partial TilemapHighlightMode TileHighlightMode { get; set; } = TilemapHighlightMode.None;
|
|
[ObservableProperty] public partial TilemapHighlightMode AttributeHighlightMode { get; set; } = TilemapHighlightMode.None;
|
|
[ObservableProperty] public partial TilemapDisplayMode DisplayMode { get; set; } = TilemapDisplayMode.Default;
|
|
[ObservableProperty] public partial TilemapBackground Background { get; set; } = TilemapBackground.Default;
|
|
|
|
[ObservableProperty] public partial RefreshTimingConfig RefreshTiming { get; set; } = new();
|
|
|
|
public TilemapViewerConfig()
|
|
{
|
|
}
|
|
}
|
|
}
|