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

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

#include <StoreDetailHeaderViewV2.h>

Inheritance diagram for StoreDetailHeaderViewV2:
Collaboration diagram for StoreDetailHeaderViewV2:

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, moves the relation strip below the content, and resizes the header to fit.
(void) - setArtwork:
 Sets the artwork and rebuilds its reflection.
(void) - setRelationColor:selectable:
 Colours the relation-tab strip for a selected tab.
(void) - tapRelationButton:
 Handles a tap on a relation-tab button.
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.
NSArray * relationBtnArray
 The two relation-tab buttons of the relation strip.

Detailed Description

A pack's detail header: artwork with its reflection, name, comment, purchase and extend buttons, a related-site link, a relation-tab strip, 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:
0x1a5154
Ghidra address:
0x1a5154

◆ 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, moves the relation strip below the content, and resizes the header to fit.

Parameters
packInfoThe pack to display.
Ghidra address:
0x1a6370

◆ setArtwork:

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

Sets the artwork and rebuilds its reflection.

Parameters
artworkThe artwork image.
Ghidra address:
0x1a6e54

◆ setRelationColor:selectable:

- (void) setRelationColor: (int) selectedIndex
selectable: (BOOL) selectable 

Colours the relation-tab strip for a selected tab.

Parameters
selectedIndexThe index of the currently selected tab.
selectableWhether the unselected tabs read as tappable (accent) or dimmed (grey).
Ghidra address:
0x1a6ffc
Ghidra address:
0x1a6ffc

◆ tapRelationButton:

- (void) tapRelationButton: (nullable id) sender

Handles a tap on a relation-tab button.

Parameters
senderThe tapped button.
Ghidra address:
0x1a6fec

Property Documentation

◆ buttonExtendDownload

- (UIButton*) buttonExtendDownload
readwritenonatomicstrong

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

Ghidra address:
0x1a72f0 (getter)

◆ buttonLink

- (StoreLinkButton*) buttonLink
readnonatomicassign

The related-site link button.

Ghidra address:
0x1a7314 (getter)

◆ buttonPurchase

- (StoreButton*) buttonPurchase
readwritenonatomicstrong

The purchase button.

Ghidra address:
0x1a72cc (getter)

◆ labelComment

- (UILabel*) labelComment
readwritenonatomicstrong

The pack's description label.

Ghidra address:
0x1a72a8 (getter)

◆ labelName

- (UILabel*) labelName
readwritenonatomicstrong

The pack's title label.

Ghidra address:
0x1a7284 (getter)

◆ relationBtnArray

- (NSArray*) relationBtnArray
readnonatomicassign

The two relation-tab buttons of the relation strip.

Ghidra address:
0x1a7324 (getter)

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