| 1 | /* |
---|
| 2 | * Adium is the legal property of its developers, whose names are listed in the copyright file included |
---|
| 3 | * with this source distribution. |
---|
| 4 | * |
---|
| 5 | * This program is free software; you can redistribute it and/or modify it under the terms of the GNU |
---|
| 6 | * General Public License as published by the Free Software Foundation; either version 2 of the License, |
---|
| 7 | * or (at your option) any later version. |
---|
| 8 | * |
---|
| 9 | * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even |
---|
| 10 | * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General |
---|
| 11 | * Public License for more details. |
---|
| 12 | * |
---|
| 13 | * You should have received a copy of the GNU General Public License along with this program; if not, |
---|
| 14 | * write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
---|
| 15 | */ |
---|
| 16 | |
---|
| 17 | #import <Adium/AIListCell.h> |
---|
| 18 | |
---|
| 19 | @class AIGradient; |
---|
| 20 | |
---|
| 21 | @interface AIListGroupCell : AIListCell { |
---|
| 22 | NSColor *shadowColor; |
---|
| 23 | NSColor *backgroundColor; |
---|
| 24 | NSColor *gradientColor; |
---|
| 25 | BOOL drawsBackground; |
---|
| 26 | BOOL drawsGradientEdges; |
---|
| 27 | BOOL showCollapsedCount; |
---|
| 28 | NSLayoutManager *layoutManager; |
---|
| 29 | |
---|
| 30 | NSImage *_gradient; |
---|
| 31 | NSSize _gradientSize; |
---|
| 32 | } |
---|
| 33 | |
---|
| 34 | - (int)flippyIndent; |
---|
| 35 | - (void)setShowCollapsedCount:(BOOL)inValue; |
---|
| 36 | - (void)setShadowColor:(NSColor *)inColor; |
---|
| 37 | - (NSColor *)shadowColor; |
---|
| 38 | - (NSRect)drawGroupCountWithFrame:(NSRect)inRect; |
---|
| 39 | - (void)setBackgroundColor:(NSColor *)inBackgroundColor gradientColor:(NSColor *)inGradientColor; |
---|
| 40 | - (void)setDrawsBackground:(BOOL)inValue; |
---|
| 41 | - (void)setDrawsGradientEdges:(BOOL)inValue; |
---|
| 42 | - (NSImage *)cachedGradient:(NSSize)inSize; |
---|
| 43 | - (void)drawBackgroundGradientInRect:(NSRect)inRect; |
---|
| 44 | - (AIGradient *)backgroundGradient; |
---|
| 45 | - (void)flushGradientCache; |
---|
| 46 | - (NSColor *)flippyColor; |
---|
| 47 | |
---|
| 48 | @end |
---|