mirror of
https://github.com/crskycode/GARbro.git
synced 2026-07-08 01:30:18 +08:00
implemented ShiinaRio resources.
WARC archives; S25 images; OGV sound files.
This commit is contained in:
28
ArcFormats/WidgetWARC.xaml.cs
Normal file
28
ArcFormats/WidgetWARC.xaml.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Linq;
|
||||
using GameRes.Formats.KiriKiri;
|
||||
using GameRes.Formats.Properties;
|
||||
using GameRes.Formats.Strings;
|
||||
|
||||
namespace GameRes.Formats.GUI
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaction logic for WidgetWARC.xaml
|
||||
/// </summary>
|
||||
public partial class WidgetWARC : Grid
|
||||
{
|
||||
public WidgetWARC ()
|
||||
{
|
||||
InitializeComponent();
|
||||
// select the most recent scheme as default
|
||||
if (-1 == Scheme.SelectedIndex)
|
||||
Scheme.SelectedIndex = Scheme.ItemsSource.Cast<object>().Count()-1;
|
||||
}
|
||||
|
||||
public ICrypt GetScheme ()
|
||||
{
|
||||
return Xp3Opener.GetScheme (Scheme.SelectedItem as string);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user