JubeatPlus 3.9.11
Loading...
Searching...
No Matches
StoreDetailHeaderView Class Reference

A pack's detail header: artwork with its reflection, name, comment, purchase and extend buttons, a related-site link, and a "new" marker. More...

#include <StoreDetailHeaderView.h>

Inheritance diagram for StoreDetailHeaderView:
Collaboration diagram for StoreDetailHeaderView:

Instance Methods

(instancetype) - initWithFrame:
 Builds the header's subviews.
(void) - loadPackInfo:
 Lays the header out for a pack: sizes the name and comment to their text, positions the link button, resizes the header to fit, and shows the "new" marker when appropriate.
(void) - setArtwork:
 Sets the artwork and rebuilds its reflection.
Instance Methods inherited from <AlertViewManagerDelegate>
(void) - alertSelect:
 Sent when the user taps a button in an alert built with makeAlert:.
(void) - alertClose:
 Sent when a UIAlertController -based alert finishes dismissing.

Properties

UILabel * labelName
 The pack's title label.
UILabel * labelComment
 The pack's description label.
StoreButton * buttonPurchase
 The purchase button.
UIButton * buttonExtendDownload
 The "download extension" button, hidden unless the pack has an extension.
StoreLinkButton * buttonLink
 The related-site link button.

Detailed Description

A pack's detail header: artwork with its reflection, name, comment, purchase and extend buttons, a related-site link, and a "new" marker.

Method Documentation

◆ initWithFrame:

- (instancetype) initWithFrame: (CGRect) frame

Builds the header's subviews.

Parameters
frameThe header's frame.
Returns
The initialised header.
Ghidra address:
0xf9074
Ghidra address:
0xf9074

◆ loadPackInfo:

- (void) loadPackInfo: (nullable StorePackInfo *) packInfo

Lays the header out for a pack: sizes the name and comment to their text, positions the link button, resizes the header to fit, and shows the "new" marker when appropriate.

Parameters
packInfoThe pack to display.
Ghidra address:
0xf9dc4

◆ setArtwork:

- (void) setArtwork: (nullable UIImage *) artwork

Sets the artwork and rebuilds its reflection.

Parameters
artworkThe artwork image.
Ghidra address:
0xfa84c

Property Documentation

◆ buttonExtendDownload

- (UIButton*) buttonExtendDownload
readwritenonatomicstrong

The "download extension" button, hidden unless the pack has an extension.

Ghidra address:
0xfaa50 (getter)

◆ buttonLink

- (StoreLinkButton*) buttonLink
readnonatomicassign

The related-site link button.

Ghidra address:
0xfaa74 (getter)

◆ buttonPurchase

- (StoreButton*) buttonPurchase
readwritenonatomicstrong

The purchase button.

Ghidra address:
0xfaa2c (getter)

◆ labelComment

- (UILabel*) labelComment
readwritenonatomicstrong

The pack's description label.

Ghidra address:
0xfaa08 (getter)

◆ labelName

- (UILabel*) labelName
readwritenonatomicstrong

The pack's title label.

Ghidra address:
0xfa9e4 (getter)

The documentation for this class was generated from the following files: