Alexandre Lision | 4e280d6 | 2015-09-09 15:56:30 -0400 | [diff] [blame] | 1 | /* |
Alexandre Lision | 9fe374b | 2016-01-06 10:17:31 -0500 | [diff] [blame] | 2 | * Copyright (C) 2015-2016 Savoir-faire Linux Inc. |
Alexandre Lision | 4e280d6 | 2015-09-09 15:56:30 -0400 | [diff] [blame] | 3 | * 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 Lision | 21666f3 | 2015-09-22 17:04:36 -0400 | [diff] [blame] | 29 | /** |
Andreas Traczyk | 3b98eb8 | 2018-03-29 17:54:42 -0400 | [diff] [blame] | 30 | * BOOL tracking if the mouse is hovering over the cell |
| 31 | */ |
| 32 | @property (nonatomic) BOOL isMouseOver; |
| 33 | |
| 34 | /** |
Alexandre Lision | 21666f3 | 2015-09-22 17:04:36 -0400 | [diff] [blame] | 35 | * BOOL specifying if controls should be presented when mouse is hover |
| 36 | */ |
| 37 | @property (nonatomic) BOOL activeState; |
Kateryna Kostiuk | 3c960bf | 2017-06-01 12:11:54 -0400 | [diff] [blame] | 38 | /** |
| 39 | * BOOL specifying if background behind controls should be blured |
| 40 | */ |
| 41 | @property (nonatomic) BOOL shouldBlurParentView; |
Alexandre Lision | 21666f3 | 2015-09-22 17:04:36 -0400 | [diff] [blame] | 42 | |
Alexandre Lision | 4e280d6 | 2015-09-09 15:56:30 -0400 | [diff] [blame] | 43 | @end |