Browse Subversion Repository
Contents of /trunk/Classes/MyTableView.h
Parent Directory
| Revision Log
Revision 60 -
( show annotations)
( download)
( as text)
Wed May 4 05:49:49 2016 UTC
(8 years ago)
by toshinagata1964
File MIME type: text/x-chdr
File size: 991 byte(s)
The build script is modified so that the copyright description is updated on Deployment build.
| 1 |
// |
| 2 |
// MyTableView.h |
| 3 |
// |
| 4 |
// Created by Toshi Nagata. |
| 5 |
/* |
| 6 |
Copyright (c) 2000-2016 Toshi Nagata. All rights reserved. |
| 7 |
|
| 8 |
This program is free software; you can redistribute it and/or modify |
| 9 |
it under the terms of the GNU General Public License as published by |
| 10 |
the Free Software Foundation version 2 of the License. |
| 11 |
|
| 12 |
This program is distributed in the hope that it will be useful, |
| 13 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 |
GNU General Public License for more details. |
| 16 |
*/ |
| 17 |
|
| 18 |
#import <Cocoa/Cocoa.h> |
| 19 |
|
| 20 |
@interface MyTableView : NSTableView |
| 21 |
{ |
| 22 |
// Maintaining text edit |
| 23 |
NSString *originalString; |
| 24 |
BOOL escapeFlag; |
| 25 |
|
| 26 |
// Draw underline for one row |
| 27 |
int underlineRow; |
| 28 |
} |
| 29 |
- (void)setUnderlineRow:(int)row; |
| 30 |
//- (BOOL)keyDown: (NSEvent *)theEvent onObject: (id)theObject; |
| 31 |
@end |
| 32 |
|
| 33 |
@interface NSObject (MyTableViewAddition) |
| 34 |
- (BOOL)myTableView:(MyTableView *)tableView shouldEditColumn:(int)column row:(int)row; |
| 35 |
@end |
|