Example #1
0
        private void LoadFonts()
        {
            float scaleFactor = Settings.Get <float>(Setting.Scale);

            titleFont  = Meiryo.GetFont(13 * scaleFactor);
            artistFont = Meiryo.GetFont(8 * scaleFactor);
            volumeFont = Meiryo.GetFont(8 * scaleFactor);

            lblVol.Font = volumeFont;

            centerPanel.SetFonts(titleFont, artistFont);
        }
Example #2
0
        private void LoadFonts()
        {
            var family      = Meiryo.GetFontFamily();
            var scaleFactor = Settings.Get <float>("Scale");

            titleFont  = new Font(family, 12 * scaleFactor);
            albumFont  = Meiryo.GetFont(8 * scaleFactor);
            volumeFont = Meiryo.GetFont(8 * scaleFactor);

            lblVol.Font = volumeFont;

            centerPanel.SetFonts(titleFont, albumFont);
        }
Example #3
0
        private void LoadFonts()
        {
            var family      = Meiryo.GetFontFamily();
            var scaleFactor = Settings.Get <float>("Scale");

            titleFont  = new Font(family, 12 * scaleFactor);
            albumFont  = Meiryo.GetFont(8 * scaleFactor);
            volumeFont = Meiryo.GetFont(8 * scaleFactor);

            lblTitle.Font    = titleFont;
            lblTitle.Subfont = albumFont;
            lblAlbum.Font    = albumFont;
            lblVol.Font      = volumeFont;

            lblTitle.OnTextChanged();
            lblAlbum.OnTextChanged();
        }