Example #1
0
 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"));
 }
Example #2
0
        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);
        }
Example #3
0
        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);
        }
Example #4
0
        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;
        }
Example #5
0
        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>();
        }
Example #6
0
 public QuestlineView()
 {
     Label.Text = Strings.GetLocalized("Questline");
 }
Example #7
0
 public DeathrattleView()
 {
     // Section Label
     Label.Text = Strings.GetLocalized("Deathrattle");
 }
Example #8
0
 public LadyLiadrinView()
 {
     // Section Label
     Label.Text = Strings.GetLocalized("LadyLiadrin");
 }
Example #9
0
 public KargalView()
 {
     Label.Text = Strings.GetLocalized("Kargal");
 }
Example #10
0
 public ShirvallahView()
 {
     Label.Text = Strings.GetLocalized("Shirvallah");
     Cards.Add(ShirvallahCard);
 }
Example #11
0
 public KangorView()
 {
     // Section Label
     Label.Text = Strings.GetLocalized("Kangor");
 }
Example #12
0
 public DiscardView()
 {
     // Section Label
     Label.Text = Strings.GetLocalized("DiscardTitle");
 }
Example #13
0
 public TessGreymaneView()
 {
     Label.Text = Strings.GetLocalized("TessGreymane");
 }
Example #14
0
 public ShudderwockView()
 {
     Label.Text = Strings.GetLocalized("Shudderwock");
 }
Example #15
0
 public ZuljinView()
 {
     Label.Text = Strings.GetLocalized("Zuljin");
 }
Example #16
0
 public HadronoxView()
 {
     // Section Label
     Label.Text = Strings.GetLocalized("Hadronox");
 }
Example #17
0
 public ElwynnBoarView()
 {
     // Section Label
     Label.Text = Strings.GetLocalized("ElwynnBoar");
 }
Example #18
0
 public DragoncallerAlannaView()
 {
     Label.Text = Strings.GetLocalized("Alanna");
 }
Example #19
0
 public CavernsView()
 {
     // Section Label
     Label.Text = Strings.GetLocalized("Caverns");
 }
Example #20
0
 public SoulwardenView()
 {
     // Section Label
     Label.Text = Strings.GetLocalized("Soulwarden");
 }
Example #21
0
 private void BtnUnlock_Click(object sender, RoutedEventArgs e)
 {
     BtnUnlock.Content = Graveyard.Input.Toggle() ? Strings.GetLocalized("Lock") : Strings.GetLocalized("Unlock");
 }
Example #22
0
 public GrandFinaleView()
     : base(Strings.GetLocalized("GrandFinale"), 1)
 {
 }
Example #23
0
 public SaurfangView()
 {
     Label.Text = Strings.GetLocalized("Saurfang");
 }
Example #24
0
 public WitchingHourView()
 {
     // Section Label
     Label.Text = Strings.GetLocalized("WitchingHour");
 }
Example #25
0
        public static bool AlwaysSeparate => Settings.Default.AlwaysRallySeparately || !Settings.Default.ResurrectEnabled;         // This is iffy

        public RallyView()
        {
            // Section Label
            Label.Text = Strings.GetLocalized("Rally");
        }
Example #26
0
 public AntonidasView()
     : base(Strings.GetLocalized("Antonidas"), 3)
 {
 }
Example #27
0
 public NZothGotDView()
 {
     // Section Label
     Label.Text = Strings.GetLocalized("NZothGotD");
 }
Example #28
0
 public MulchmuncherView()
 {
     // Section Label
     Label.Text = Strings.GetLocalized("Mulchmuncher");
 }
Example #29
0
 public ResurrectView()
 {
     // Section Label
     Label.Text = Strings.GetLocalized("Resurrect");
 }
Example #30
0
 public YShaarjView()
 {
     Label.Text = Strings.GetLocalized("YShaarj");
 }