mirror of
				https://github.com/SoPat712/YTLitePlus.git
				synced 2025-10-31 04:44:14 -04:00 
			
		
		
		
	
		
			
				
	
	
		
			38 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			Objective-C
		
	
	
	
	
	
			
		
		
	
	
			38 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			Objective-C
		
	
	
	
	
	
| //
 | |
| //  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
 |