1 | /*-------------------------------------------------------------------------------------------------------*\ |
---|
2 | | Adium, Copyright (C) 2001-2005, Adam Iser (adamiser@mac.com | http://www.adiumx.com) | |
---|
3 | \---------------------------------------------------------------------------------------------------------/ |
---|
4 | | This program is free software; you can redistribute it and/or modify it under the terms of the GNU |
---|
5 | | General Public License as published by the Free Software Foundation; either version 2 of the License, |
---|
6 | | or (at your option) any later version. |
---|
7 | | |
---|
8 | | This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even |
---|
9 | | the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General |
---|
10 | | Public License for more details. |
---|
11 | | |
---|
12 | | You should have received a copy of the GNU General Public License along with this program; if not, |
---|
13 | | write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
---|
14 | \------------------------------------------------------------------------------------------------------ */ |
---|
15 | |
---|
16 | /*! |
---|
17 | * @class AIColoredBoxView |
---|
18 | * @brief View which draws filled with a particular color |
---|
19 | * |
---|
20 | * View which draws, simply filling its bounds with a particular color. |
---|
21 | */ |
---|
22 | @interface AIColoredBoxView : NSView { |
---|
23 | NSColor *color; |
---|
24 | } |
---|
25 | |
---|
26 | /*! |
---|
27 | * @brief Set the color of the view |
---|
28 | * |
---|
29 | * Set the <tt>NSColor</tt> to draw in the view |
---|
30 | * @param inColor An <tt>NSColor</tt> |
---|
31 | */ |
---|
32 | - (void)setColor:(NSColor *)inColor; |
---|
33 | |
---|
34 | @end |
---|