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

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