summaryrefslogtreecommitdiffstats
path: root/macosx/HBThumbnailItemView.h
blob: aaf8bdcd62613327caa3b8cb27830af70eea24ce (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