blob: e5fcf0346310e3f8a43a8fadb928fcc3377a6ef7 [file] [log] [blame]
Alexandre Lision4e280d62015-09-09 15:56:30 -04001/*
Alexandre Lision9fe374b2016-01-06 10:17:31 -05002 * Copyright (C) 2015-2016 Savoir-faire Linux Inc.
Alexandre Lision4e280d62015-09-09 15:56:30 -04003 * Author: Alexandre Lision <alexandre.lision@savoirfairelinux.com>
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 3 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18 */
19
20#import <Cocoa/Cocoa.h>
21
22@interface ContextualTableCellView : NSTableCellView
23
24/**
25 * List of subviews to hide/show when mouse is tracked
26 */
27@property (nonatomic) NSMutableArray* contextualsControls;
28
Alexandre Lision21666f32015-09-22 17:04:36 -040029/**
Andreas Traczyk3b98eb82018-03-29 17:54:42 -040030 * BOOL tracking if the mouse is hovering over the cell
31 */
32@property (nonatomic) BOOL isMouseOver;
33
34/**
Alexandre Lision21666f32015-09-22 17:04:36 -040035 * BOOL specifying if controls should be presented when mouse is hover
36 */
37@property (nonatomic) BOOL activeState;
Kateryna Kostiuk3c960bf2017-06-01 12:11:54 -040038/**
39 * BOOL specifying if background behind controls should be blured
40 */
41@property (nonatomic) BOOL shouldBlurParentView;
Alexandre Lision21666f32015-09-22 17:04:36 -040042
Alexandre Lision4e280d62015-09-09 15:56:30 -040043@end