Browse Subversion Repository
Annotation of /XspfManager/XspfMCollectionViewController.m
Parent Directory
| Revision Log
Revision 82 -
( hide annotations)
( download)
Sun Nov 15 15:32:30 2009 UTC
(14 years, 5 months ago)
by masaki
File size: 707 byte(s)
[Mod] GUIを大幅に変更。
| 1 |
masaki |
16 |
// |
| 2 |
|
|
// XspfMCollectionViewController.m |
| 3 |
|
|
// XspfManager |
| 4 |
|
|
// |
| 5 |
|
|
// Created by Hori,Masaki on 09/11/05. |
| 6 |
|
|
// Copyright 2009 masakih. All rights reserved. |
| 7 |
|
|
// |
| 8 |
|
|
|
| 9 |
|
|
#import "XspfMCollectionViewController.h" |
| 10 |
|
|
|
| 11 |
|
|
|
| 12 |
|
|
@implementation XspfMCollectionViewController |
| 13 |
|
|
|
| 14 |
|
|
- (id)init |
| 15 |
|
|
{ |
| 16 |
|
|
[super initWithNibName:@"CollectionView" bundle:nil]; |
| 17 |
|
|
|
| 18 |
|
|
return self; |
| 19 |
|
|
} |
| 20 |
|
|
|
| 21 |
masaki |
82 |
- (void)awakeFromNib |
| 22 |
|
|
{ |
| 23 |
|
|
NSView *view = [collectionViewItem view]; |
| 24 |
|
|
|
| 25 |
|
|
[scrollView setVerticalLineScroll:[view frame].size.height]; |
| 26 |
|
|
} |
| 27 |
|
|
|
| 28 |
masaki |
16 |
#pragma mark#### XspfMCollectionView Delegate #### |
| 29 |
|
|
- (void)enterAction:(XspfMCollectionView *)view |
| 30 |
|
|
{ |
| 31 |
masaki |
74 |
[NSApp sendAction:@selector(openXspf:) to:nil from:self]; |
| 32 |
masaki |
16 |
} |
| 33 |
|
|
|
| 34 |
|
|
#pragma mark#### Test #### |
| 35 |
|
|
- (void)test01:(id)sender |
| 36 |
|
|
{ |
| 37 |
|
|
NSLog(@"hoge"); |
| 38 |
|
|
} |
| 39 |
|
|
|
| 40 |
|
|
|
| 41 |
|
|
@end |
|