Skip to content

Liquid Glass and Apple Music touches for the Spotify iOS app. A GPL-3.0 fork of spoti.pw 0.21.1.

C
1.8 KB
Raw Blame
// The native look's player: Spotify's full screen player with the artwork background and glass header
// buttons (Player.x), the glass lyrics card (LyricsCard.x), the gestures' hookup (PlayerGestures.x), the parts of it to hide (PlayerDeclutter.x)
// and its pull held off while the progress bar is scrubbed (PlayerScrub.x). The glass
// lyrics page is Native/Lyrics/LyricsPage.x's and shares SGKeyLyricsCard ("Glass lyrics").
#import <UIKit/UIKit.h>

#define SGKeyPlayer @"spotifyglass.player"
#define SGKeyPlayerBackdrop @"spotifyglass.playerBackdrop"
#define SGKeyLyricsCard @"spotifyglass.lyricsCard"

// Parts of the player to hide, one switch each (PlayerDeclutter.x). An unset switch is off.
#define SGHideShuffle @"spotifyglass.hide.shuffle"
#define SGHideRepeat @"spotifyglass.hide.repeat"
#define SGHideConnect @"spotifyglass.hide.connect"
#define SGHideShare @"spotifyglass.hide.share"
#define SGHideQueue @"spotifyglass.hide.queue"
#define SGHideAddTo @"spotifyglass.hide.addTo"
#define SGHideLyricsInline @"spotifyglass.hide.lyricsInline"
#define SGHideLyricsCard @"spotifyglass.hide.lyricsCard"
#define SGHideAboutArtist @"spotifyglass.hide.aboutArtist"
#define SGHideRelatedVideos @"spotifyglass.hide.relatedVideos"
#define SGHideSongDNA @"spotifyglass.hide.songDNA"
#define SGHideLiveEvents @"spotifyglass.hide.liveEvents"
#define SGHideExploreArtist @"spotifyglass.hide.exploreArtist"
#define SGHideCredits @"spotifyglass.hide.credits"
#define SGHideMerch @"spotifyglass.hide.merch"
#define SGHideRecommendations @"spotifyglass.hide.recommendations"

@class SGModRow, SGModSection;
// PlayerSettings.m: the player screen's sections of the Player page, the Queue & devices page and the
// "Glass lyrics" row of the Lyrics page.
NSArray<SGModSection *> *SGNativePlayerScreenSections(void);
UIViewController *SGQueueSettingsPage(void);
SGModRow *SGGlassLyricsRow(void);