projects
/
enjoyable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove website, now in yukkurigames.com repository.
[enjoyable.git]
/
Classes
/
NJKeyInputField.h
diff --git
a/Classes/NJKeyInputField.h
b/Classes/NJKeyInputField.h
index
c17fdaa
..
bc1876c
100644
(file)
--- a/
Classes/NJKeyInputField.h
+++ b/
Classes/NJKeyInputField.h
@@
-17,8
+17,7
@@
extern const CGKeyCode NJKeyInputFieldEmpty;
// resigns its first responder status. It can also inform a
// special delegate when its content changes.
// resigns its first responder status. It can also inform a
// special delegate when its content changes.
-+ (NSString *)stringForKeyCode:(CGKeyCode)keyCode;
- // Give the string name for a virtual key code.
++ (NSString *)displayNameForKeyCode:(CGKeyCode)keyCode;
@property (nonatomic, weak) IBOutlet id <NJKeyInputFieldDelegate> delegate;
@property (nonatomic, weak) IBOutlet id <NJKeyInputFieldDelegate> delegate;
@@
-28,14
+27,14
@@
extern const CGKeyCode NJKeyInputFieldEmpty;
// inform the delegate.
@property (nonatomic, readonly) BOOL hasKeyCode;
// inform the delegate.
@property (nonatomic, readonly) BOOL hasKeyCode;
- //
True if any key is active, false
otherwise.
+ //
YES if any key is set, NO
otherwise.
- (void)clear;
// Clear the currently active key and call the delegate.
@end
- (void)clear;
// Clear the currently active key and call the delegate.
@end
-@protocol NJKeyInputFieldDelegate
<NSObject>
+@protocol NJKeyInputFieldDelegate
- (void)keyInputField:(NJKeyInputField *)keyInput
didChangeKey:(CGKeyCode)keyCode;
- (void)keyInputField:(NJKeyInputField *)keyInput
didChangeKey:(CGKeyCode)keyCode;