Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //
- // AboutPanelController.m
- // Gesprek
- //
- // Created by Kaatje Paige Galway on 11/23/09.
- // Copyright 2009 TGIL.NL. All rights reserved.
- //
- #import "AboutPanelController.h"
- @implementation AboutPanelController
- @synthesize appNameField, copyrightView, creditsField, versionField;
- - (IBAction)showPanel:(id)sender
- {
- // TODO: close the panel
- }
- - (void)dealloc
- {
- [appNameField release];
- [copyrightField release];
- [creditsView release];
- [versionField release];
- [super dealloc];
- }
- @end
- //
- // AboutPanelController.h
- // Gesprek
- //
- // Created by Kaatje Paige Galway on 11/23/09.
- // Copyright 2009 TGIL.NL. All rights reserved.
- //
- #import <Cocoa/Cocoa.h>
- @interface AboutPanelController : NSWindowController {
- NSTextField *appNameField;
- NSTextField *copyrightField;
- NSTextView *creditsField;
- NSTextField *versionField;
- NSTimer *scrollTimer;
- CGFloat currentPosition;
- CGFloat maxScrollHeight;
- NSTimeInterval startTime;
- BOOL restartAtTop;
- }
- @property(retain) IBOutlet NSTextField *appNameField;
- @property(retain) IBOutlet NSTextField *copyrightField;
- @property(retain) IBOutlet NSTextView *creditsField;
- @property(retain) IBOutlet NSTextField *versionField;
- - (IBAction)showPanel:(id)sender;
- @end
Add Comment
Please, Sign In to add comment