public LastPlayedView() { CreateViewIf(HasGreySageParrot, ref GreySageParrot, Strings.GetLocalized("GreySageParrot")); CreateViewIf(HasSunwingSquawker, ref SunwingSquawker, Strings.GetLocalized("SunwingSquawker")); CreateViewIf(HasBrilliantMacaw, ref BrilliantMacaw, Strings.GetLocalized("BrilliantMacaw")); CreateViewIf(HasMonstrousParrot, ref MonstrousParrot, Strings.GetLocalized("MonstrousParrot")); CreateViewIf(HasVanessaVanCleef, ref VanessaVanCleef, Strings.GetLocalized("VanessaVanCleef")); }
private static Flyout CreateSettingsFlyout() { var settings = new Flyout(); settings.Position = Position.Left; Panel.SetZIndex(settings, 100); settings.Header = Strings.GetLocalized("SettingsTitle"); settings.Content = new SettingsView(); Core.MainWindow.Flyouts.Items.Add(settings); return(settings); }
public MulticasterView() { Visibility = Visibility.Collapsed; Orientation = Orientation.Vertical; Label = new HearthstoneTextBlock { FontSize = 16, TextAlignment = TextAlignment.Center, Text = Strings.GetLocalized("Multicaster"), Margin = new Thickness(0, 20, 0, 0), }; Children.Add(Label); Cards = new AnimatedCardList(); Children.Add(Cards); }
public AnyfinView() { // Section Label Label.Text = Strings.GetLocalized("Anyfin"); // Damage Label _dmg = new HearthstoneTextBlock(); _dmg.FontSize = 24; _dmg.TextAlignment = TextAlignment.Center; _dmg.Text = "0"; Children.Add(_dmg); _dmg.Visibility = Visibility.Hidden; _secondDmg = new HearthstoneTextBlock(); _secondDmg.FontSize = 24; _secondDmg.TextAlignment = TextAlignment.Center; _secondDmg.Text = "0"; Children.Add(_secondDmg); _secondDmg.Visibility = Visibility.Hidden; }
public NormalView() { Visibility = Visibility.Collapsed; Orientation = Orientation.Vertical; // Section Label Label = new HearthstoneTextBlock(); Label.FontSize = 16; Label.TextAlignment = TextAlignment.Center; Label.Text = Strings.GetLocalized("Graveyard"); var margin = Label.Margin; margin.Top = 20; Label.Margin = margin; Children.Add(Label); // Card View View = new AnimatedCardList(); Children.Add(View); Cards = new List <Card>(); }
public QuestlineView() { Label.Text = Strings.GetLocalized("Questline"); }
public DeathrattleView() { // Section Label Label.Text = Strings.GetLocalized("Deathrattle"); }
public LadyLiadrinView() { // Section Label Label.Text = Strings.GetLocalized("LadyLiadrin"); }
public KargalView() { Label.Text = Strings.GetLocalized("Kargal"); }
public ShirvallahView() { Label.Text = Strings.GetLocalized("Shirvallah"); Cards.Add(ShirvallahCard); }
public KangorView() { // Section Label Label.Text = Strings.GetLocalized("Kangor"); }
public DiscardView() { // Section Label Label.Text = Strings.GetLocalized("DiscardTitle"); }
public TessGreymaneView() { Label.Text = Strings.GetLocalized("TessGreymane"); }
public ShudderwockView() { Label.Text = Strings.GetLocalized("Shudderwock"); }
public ZuljinView() { Label.Text = Strings.GetLocalized("Zuljin"); }
public HadronoxView() { // Section Label Label.Text = Strings.GetLocalized("Hadronox"); }
public ElwynnBoarView() { // Section Label Label.Text = Strings.GetLocalized("ElwynnBoar"); }
public DragoncallerAlannaView() { Label.Text = Strings.GetLocalized("Alanna"); }
public CavernsView() { // Section Label Label.Text = Strings.GetLocalized("Caverns"); }
public SoulwardenView() { // Section Label Label.Text = Strings.GetLocalized("Soulwarden"); }
private void BtnUnlock_Click(object sender, RoutedEventArgs e) { BtnUnlock.Content = Graveyard.Input.Toggle() ? Strings.GetLocalized("Lock") : Strings.GetLocalized("Unlock"); }
public GrandFinaleView() : base(Strings.GetLocalized("GrandFinale"), 1) { }
public SaurfangView() { Label.Text = Strings.GetLocalized("Saurfang"); }
public WitchingHourView() { // Section Label Label.Text = Strings.GetLocalized("WitchingHour"); }
public static bool AlwaysSeparate => Settings.Default.AlwaysRallySeparately || !Settings.Default.ResurrectEnabled; // This is iffy public RallyView() { // Section Label Label.Text = Strings.GetLocalized("Rally"); }
public AntonidasView() : base(Strings.GetLocalized("Antonidas"), 3) { }
public NZothGotDView() { // Section Label Label.Text = Strings.GetLocalized("NZothGotD"); }
public MulchmuncherView() { // Section Label Label.Text = Strings.GetLocalized("Mulchmuncher"); }
public ResurrectView() { // Section Label Label.Text = Strings.GetLocalized("Resurrect"); }
public YShaarjView() { Label.Text = Strings.GetLocalized("YShaarj"); }