Exemplo n.º 1
0
 public static void Init()
 {
     FolderIcon              = Base64Sprites.Base64ToSprite(FolderIconB64);
     SearchIcon              = Base64Sprites.Base64ToSprite(SearchIconB64);
     PlaylistIcon            = Base64Sprites.Base64ToSprite(PlaylistIconB64);
     AddToFavoritesIcon      = Base64Sprites.Base64ToSprite(AddToFavoritesIconB64);
     RemoveFromFavoritesIcon = Base64Sprites.Base64ToSprite(RemoveFromFavoritesIconB64);
     StarFullIcon            = Base64Sprites.Base64ToSprite(StarFullB64);
     DownloadIcon            = Base64Sprites.Base64ToSprite(DownloadIconB64);
     SpeedIcon        = Base64Sprites.Base64ToSprite(SpeedIconB64);
     StarIcon         = Base64Sprites.Base64ToSprite(StarIconB64);
     GraphIcon        = Base64Sprites.Base64ToSprite(GraphIconB64);
     SortButtonStroke = Base64Sprites.Base64ToSprite(SortButtonStrokeB64);
 }
Exemplo n.º 2
0
        public TableCell CellForRow(int row)
        {
            LevelListTableCell _tableCell = Instantiate(_songListTableCellInstance);

            _tableCell.reuseIdentifier = "PlaylistTableCell";
            _tableCell.songName        = playlistList[row].Title;
            _tableCell.author          = playlistList[row].Author;

            if (playlistList[row].Image != null)
            {
                _tableCell.coverImage = Base64Sprites.Base64ToSprite(playlistList[row].Image);
            }

            return(_tableCell);
        }
Exemplo n.º 3
0
        public static void Init()
        {
            SearchIcon              = Base64Sprites.Base64ToSprite(SearchIconB64);
            PlaylistIcon            = Base64Sprites.Base64ToSprite(PlaylistIconB64);
            AddToFavoritesIcon      = Base64Sprites.Base64ToSprite(AddToFavoritesIconB64);
            RemoveFromFavoritesIcon = Base64Sprites.Base64ToSprite(RemoveFromFavoritesIconB64);
            StarFullIcon            = Base64Sprites.Base64ToSprite(StarFullB64);
            DownloadIcon            = Base64Sprites.Base64ToSprite(DownloadIconB64);
            SpeedIcon  = Base64Sprites.Base64ToSprite(SpeedIconB64);
            StarIcon   = Base64Sprites.Base64ToSprite(StarIconB64);
            GraphIcon  = Base64Sprites.Base64ToSprite(GraphIconB64);
            DeleteIcon = CustomUI.Utilities.UIUtilities.LoadSpriteFromResources("SongBrowserPlugin.Assets.DeleteIcon.png");
            XIcon      = Base64Sprites.Base64ToSprite(XIconB64);

            SortButtonStroke = Base64Sprites.Base64ToSprite(SortButtonStrokeB64);

            BeastSaberLogo = CustomUI.Utilities.UIUtilities.LoadSpriteFromResources("SongBrowserPlugin.Assets.BeastSaberLogo.png");
        }