Guest User

Untitled

a guest
Jul 18th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.34 KB | None | 0 0
  1. //
  2. // AboutPanelController.m
  3. // Gesprek
  4. //
  5. // Created by Kaatje Paige Galway on 11/23/09.
  6. // Copyright 2009 TGIL.NL. All rights reserved.
  7. //
  8.  
  9. #import "AboutPanelController.h"
  10.  
  11. @implementation AboutPanelController
  12. @synthesize appNameField, copyrightView, creditsField, versionField;
  13.  
  14. - (IBAction)showPanel:(id)sender
  15. {
  16. // TODO: close the panel
  17. }
  18.  
  19. - (void)dealloc
  20. {
  21. [appNameField release];
  22. [copyrightField release];
  23. [creditsView release];
  24. [versionField release];
  25.  
  26. [super dealloc];
  27. }
  28.  
  29. @end
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36. //
  37. // AboutPanelController.h
  38. // Gesprek
  39. //
  40. // Created by Kaatje Paige Galway on 11/23/09.
  41. // Copyright 2009 TGIL.NL. All rights reserved.
  42. //
  43.  
  44. #import <Cocoa/Cocoa.h>
  45.  
  46. @interface AboutPanelController : NSWindowController {
  47. NSTextField *appNameField;
  48. NSTextField *copyrightField;
  49. NSTextView *creditsField;
  50. NSTextField *versionField;
  51. NSTimer *scrollTimer;
  52.  
  53. CGFloat currentPosition;
  54. CGFloat maxScrollHeight;
  55. NSTimeInterval startTime;
  56. BOOL restartAtTop;
  57. }
  58.  
  59. @property(retain) IBOutlet NSTextField *appNameField;
  60. @property(retain) IBOutlet NSTextField *copyrightField;
  61. @property(retain) IBOutlet NSTextView *creditsField;
  62. @property(retain) IBOutlet NSTextField *versionField;
  63.  
  64. - (IBAction)showPanel:(id)sender;
  65.  
  66. @end
Add Comment
Please, Sign In to add comment