Last change
on this file was
428,
checked in by Nicholas Riley, 14 years ago
|
Compiler fixes; first pass at menu-style highlighting
|
File size:
519 bytes
|
Line | |
---|
1 | // |
---|
2 | // ICeCoffEENonHighlightingButtonCell.m |
---|
3 | // ICeCoffEE APE |
---|
4 | // |
---|
5 | // Created by Nicholas Riley on Fri Jun 06 2003. |
---|
6 | // Copyright (c) 2003 Nicholas Riley. All rights reserved. |
---|
7 | // |
---|
8 | |
---|
9 | #import "ICeCoffEENonHighlightingButtonCell.h" |
---|
10 | |
---|
11 | @implementation ICeCoffEENonHighlightingButtonCell |
---|
12 | |
---|
13 | - (NSCellStateValue)nextState; |
---|
14 | { |
---|
15 | switch ([self intValue]) { |
---|
16 | case NSOnState: |
---|
17 | case NSMixedState: |
---|
18 | return NSOffState; |
---|
19 | case NSOffState: |
---|
20 | return NSOnState; |
---|
21 | } |
---|
22 | return NSMixedState; |
---|
23 | } |
---|
24 | |
---|
25 | @end |
---|
Note: See
TracBrowser
for help on using the repository browser.