mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-07 01:18:02 +00:00
Merge branch '0.7b' of git@github.com:280north/cappuccino into 0.7b
This commit is contained in:
commit
64010672eb
4 files changed
+32
-1
No files matched your search
@@ -1,6 +1,6 @@
|
||||
|
||||
@import "CPTextField.j"
|
||||
|
||||
#include "Platform/Platform.h"
|
||||
|
||||
@implementation CPSecureTextField : CPTextField
|
||||
{
|
||||
|
||||
@@ -774,6 +774,10 @@ CPTextFieldStatePlaceholder = 1 << 13;
|
||||
|
||||
var secureStringForString = function(aString)
|
||||
{
|
||||
// This is true for when aString === "" and null/undefined.
|
||||
if (!aString)
|
||||
return "";
|
||||
|
||||
var secureString = "",
|
||||
length = aString.length;
|
||||
|
||||
|
||||
@@ -40,6 +40,7 @@
|
||||
@import "NSScrollView.j"
|
||||
@import "NSScroller.j"
|
||||
@import "NSSet.j"
|
||||
@import "NSSecureTextField.j"
|
||||
@import "NSSegmentedControl.j"
|
||||
@import "NSSlider.j"
|
||||
@import "NSSplitView.j"
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
|
||||
@import <AppKit/CPSecureTextField.j>
|
||||
|
||||
@import "NSTextField.j"
|
||||
|
||||
|
||||
@implementation NSSecureTextField : CPSecureTextField
|
||||
{
|
||||
}
|
||||
|
||||
- (id)initWithCoder:(CPCoder)aCoder
|
||||
{
|
||||
return [self NS_initWithCoder:aCoder];
|
||||
}
|
||||
|
||||
- (Class)classForKeyedArchiver
|
||||
{
|
||||
return [CPSecureTextField class];
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
@implementation NSSecureTextFieldCell : NSTextFieldCell
|
||||
{
|
||||
}
|
||||
@end
|
||||
Reference in new issue
Block a user