mirror of
https://github.com/SoPat712/YTLitePlus.git
synced 2025-08-25 11:55:28 -04:00
added files via upload
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
//
|
||||
// FHSSnapshotNodes.h
|
||||
// FLEX
|
||||
//
|
||||
// Created by Tanner Bennett on 1/7/20.
|
||||
//
|
||||
|
||||
#import "FHSViewSnapshot.h"
|
||||
#import <SceneKit/SceneKit.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
/// Container that holds references to the SceneKit nodes associated with a snapshot.
|
||||
@interface FHSSnapshotNodes : NSObject
|
||||
|
||||
+ (instancetype)snapshot:(FHSViewSnapshot *)snapshot depth:(NSInteger)depth;
|
||||
|
||||
@property (nonatomic, readonly) FHSViewSnapshot *snapshotItem;
|
||||
@property (nonatomic, readonly) NSInteger depth;
|
||||
|
||||
/// The view image itself
|
||||
@property (nonatomic, nullable) SCNNode *snapshot;
|
||||
/// Goes on top of the snapshot, has rounded top corners
|
||||
@property (nonatomic, nullable) SCNNode *header;
|
||||
/// The bounding box drawn around the snapshot
|
||||
@property (nonatomic, nullable) SCNNode *border;
|
||||
|
||||
/// Used to indicate when a view is selected
|
||||
@property (nonatomic, getter=isHighlighted) BOOL highlighted;
|
||||
/// Used to indicate when a view is de-emphasized
|
||||
@property (nonatomic, getter=isDimmed) BOOL dimmed;
|
||||
|
||||
@property (nonatomic) BOOL forceHideHeader;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
Reference in New Issue
Block a user