summaryrefslogtreecommitdiffstats
path: root/macosx/HBThumbnailItemView.h
blob: b6b79aa9aa0b58480f85e1b05b192d821fb05e5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
 Copyright (C) 2017 Apple Inc. All Rights Reserved.
 See LICENSE.txt for this sample’s licensing information
 
 Abstract:
 Custom NSScrubberItemView used to display an image.
 */

#import <Cocoa/Cocoa.h>
#import "HBPreviewGenerator.h"

NS_ASSUME_NONNULL_BEGIN

@interface HBThumbnailItemView : NSScrubberItemView

@property (nonatomic, nullable) NSImage *thumbnail;
@property (nonatomic) NSUInteger thumbnailIndex;
@property (nonatomic, weak) HBPreviewGenerator *generator;

@end

NS_ASSUME_NONNULL_END