Created
July 24, 2010 05:22
-
-
Save davidcann/488430 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* DCToolbar.j | |
* Flllow | |
* | |
* Created by Cann on May 24, 2010. | |
* Copyright 2010, Cann All rights reserved. | |
*/ | |
@import <Foundation/CPObject.j> | |
@import <AppKit/CPToolbar.j> | |
@import <AppKit/CPToolbarItem.j> | |
@implementation DCToolbar : CPToolbar { | |
} | |
- (CPView)_toolbarView { | |
if (!_toolbarView) { | |
_toolbarView = [[_CPToolbarView alloc] initWithFrame:CPRectMake(0.0, 0.0, 1200.0, 41.0)]; | |
[_toolbarView setToolbar:self]; | |
[_toolbarView setAutoresizingMask:CPViewWidthSizable]; | |
[_toolbarView reloadToolbarItems]; | |
} | |
return _toolbarView; | |
} | |
@end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment