2016-06-10 08:39:29 +08:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Globalization;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Windows.Controls;
|
|
|
|
|
using System.Windows.Data;
|
|
|
|
|
using GameRes.Formats.LiveMaker;
|
|
|
|
|
using GameRes.Formats.Properties;
|
|
|
|
|
using GameRes.Formats.Strings;
|
|
|
|
|
|
|
|
|
|
namespace GameRes.Formats.GUI
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Interaction logic for WidgetGAL.xaml
|
|
|
|
|
/// </summary>
|
|
|
|
|
public partial class WidgetGAL : StackPanel
|
|
|
|
|
{
|
|
|
|
|
public WidgetGAL()
|
|
|
|
|
{
|
|
|
|
|
InitializeComponent();
|
2016-06-10 10:27:21 +08:00
|
|
|
|
var first_item = new KeyValuePair<string, string> (arcStrings.ArcIgnoreEncryption, "");
|
|
|
|
|
var items = new KeyValuePair<string, string>[] { first_item };
|
2016-06-10 08:39:29 +08:00
|
|
|
|
this.Title.ItemsSource = items.Concat (GalFormat.KnownKeys.OrderBy (x => x.Key));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|