Permalink
Browse files

Initial commit for KeyCastr.

  • Loading branch information...
0 parents commit 253cf5fde6999dc9ae25167c5dc573a95ace6c7d @sdeken committed Feb 19, 2009
Showing with 9,106 additions and 0 deletions.
  1. +2 −0 .gitignore
  2. BIN AboutKeyCastr.png
  3. BIN DisplayIcon.tif
  4. BIN English.lproj/InfoPlist.strings
  5. +4,337 −0 English.lproj/MainMenu.nib/designable.nib
  6. BIN English.lproj/MainMenu.nib/keyedobjects.nib
  7. BIN GeneralIcon.tif
  8. +30 −0 Info.plist
  9. +57 −0 KCAppController.h
  10. +383 −0 KCAppController.m
  11. +24 −0 KCDefaultVisualizer-Info.plist
  12. +82 −0 KCDefaultVisualizer.h
  13. +606 −0 KCDefaultVisualizer.m
  14. +31 −0 KCDefaultVisualizer.nib/classes.nib
  15. +20 −0 KCDefaultVisualizer.nib/info.nib
  16. BIN KCDefaultVisualizer.nib/keyedobjects.nib
  17. +37 −0 KCKeyboardTap.h
  18. +305 −0 KCKeyboardTap.m
  19. +28 −0 KCKeystroke.h
  20. +51 −0 KCKeystroke.m
  21. +23 −0 KCKeystrokeTransformer.h
  22. +190 −0 KCKeystrokeTransformer.m
  23. +29 −0 KCPrefsWindowController.h
  24. +156 −0 KCPrefsWindowController.m
  25. +13 −0 KCUtility.h
  26. +25 −0 KCUtility.m
  27. +20 −0 KCVisualizer-Info.plist
  28. +68 −0 KCVisualizer.h
  29. +107 −0 KCVisualizer.m
  30. BIN KeyCastr-512.png
  31. BIN KeyCastr.icns
  32. +602 −0 KeyCastr.svg
  33. +2 −0 KeyCastr.xcodeproj/.gitignore
  34. +975 −0 KeyCastr.xcodeproj/project.pbxproj
  35. BIN KeyCastrAbout.qtz
  36. BIN KeyCastrInactive-512.png
  37. BIN KeyCastrInactive.icns
  38. BIN KeyCastrLogo.png
  39. BIN KeyCastrStatusItem.png
  40. BIN KeyCastrStatusItemActive.png
  41. BIN KeyCastrStatusItemInactive.png
  42. BIN KeyCastrWave.png
  43. +7 −0 KeyCastr_Prefix.pch
  44. +16 −0 NSBezierPath+RoundedRect.h
  45. +37 −0 NSBezierPath+RoundedRect.m
  46. +20 −0 NSUserDefaults+Utility.h
  47. +43 −0 NSUserDefaults+Utility.m
  48. +1 −0 ShortcutRecorder.framework/Headers
  49. +1 −0 ShortcutRecorder.framework/Resources
  50. +1 −0 ShortcutRecorder.framework/ShortcutRecorder
  51. +69 −0 ShortcutRecorder.framework/Versions/A/Headers/CTGradient.h
  52. +214 −0 ShortcutRecorder.framework/Versions/A/Headers/SRCommon.h
  53. +16 −0 ShortcutRecorder.framework/Versions/A/Headers/SRKeyCodeTransformer.h
  54. +138 −0 ShortcutRecorder.framework/Versions/A/Headers/SRRecorderCell.h
  55. +82 −0 ShortcutRecorder.framework/Versions/A/Headers/SRRecorderControl.h
  56. +34 −0 ShortcutRecorder.framework/Versions/A/Headers/SRValidator.h
  57. +15 −0 ShortcutRecorder.framework/Versions/A/Headers/SR_LeopardView.h
  58. +18 −0 ShortcutRecorder.framework/Versions/A/Headers/ShortcutRecorder.h
  59. +20 −0 ShortcutRecorder.framework/Versions/A/Resources/Info.plist
  60. BIN ShortcutRecorder.framework/Versions/A/ShortcutRecorder
  61. +1 −0 ShortcutRecorder.framework/Versions/Current
  62. +22 −0 Svelte-Info.plist
  63. +47 −0 Svelte.nib/classes.nib
  64. +18 −0 Svelte.nib/info.nib
  65. BIN Svelte.nib/keyedobjects.nib
  66. +29 −0 SvelteVisualizer.h
  67. +40 −0 SvelteVisualizer.m
  68. BIN UpdateIcon.tif
  69. +14 −0 main.m
@@ -0,0 +1,2 @@
+.DS_Store
+build
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.

Large diffs are not rendered by default.

Oops, something went wrong.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>CFBundleDevelopmentRegion</key>
+ <string>English</string>
+ <key>CFBundleExecutable</key>
+ <string>${EXECUTABLE_NAME}</string>
+ <key>CFBundleIconFile</key>
+ <string>KeyCastr</string>
+ <key>CFBundleIdentifier</key>
+ <string>net.stephendeken.KeyCastr2</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundleName</key>
+ <string>${PRODUCT_NAME}</string>
+ <key>CFBundlePackageType</key>
+ <string>APPL</string>
+ <key>CFBundleSignature</key>
+ <string>????</string>
+ <key>CFBundleVersion</key>
+ <string>1.0</string>
+ <key>NSMainNibFile</key>
+ <string>MainMenu</string>
+ <key>NSPrincipalClass</key>
+ <string>NSApplication</string>
+ <key>LSUIElement</key>
+ <string>0</string>
+</dict>
+</plist>
@@ -0,0 +1,57 @@
+//
+// KCAppDelegate.h
+// KeyCastr
+//
+// Created by Stephen Deken on 1/27/09.
+// Copyright 2009 __MyCompanyName__. All rights reserved.
+//
+
+#import <Cocoa/Cocoa.h>
+#import "KCVisualizer.h"
+#import "ShortcutRecorder/ShortcutRecorder.h"
+
+@class KCPrefsWindowController;
+
+/** Application Controller
+
+
+*/
+@interface KCAppController : NSObject
+{
+ IBOutlet NSMenu* statusMenu;
+ IBOutlet NSWindow* aboutWindow;
+ IBOutlet NSWindow* preferencesWindow;
+ IBOutlet KCPrefsWindowController* prefsWindowController;
+ NSWindow* visualizerWindow;
+ NSStatusItem* statusItem;
+ id<KCVisualizer> currentVisualizer;
+ IBOutlet SRRecorderControl* shortcutRecorder;
+ IBOutlet NSMenuItem* statusShortcutItem;
+ BOOL _isCapturing;
+ BOOL _allowToggle;
+ int _startupIconPreference;
+ BOOL _displayedRestartAlertPanel;
+}
+
+-(IBAction) orderFrontKeyCastrAboutPanel:(id)sender;
+-(IBAction) orderFrontKeyCastrPreferencesPanel:(id)sender;
+-(IBAction) toggleRecording:(id)sender;
+-(IBAction) pretendToDoSomethingImportant:(id)sender;
+-(IBAction) changeIconPreference:(id)sender;
+
+-(BOOL) isCapturing;
+-(void) setIsCapturing:(BOOL)isCapturing;
+-(void) registerVisualizers;
+
+-(NSStatusItem*) createStatusItem;
+
+-(NSArray*) availableVisualizerNames;
+
+-(NSString*) currentVisualizerName;
+-(void) setCurrentVisualizerName:(NSString*)visualizerName;
+
+-(id<KCVisualizer>) currentVisualizer;
+-(void) setCurrentVisualizer:(id<KCVisualizer>)visualizer;
+
+
+@end
Oops, something went wrong.

0 comments on commit 253cf5f

Please sign in to comment.