diff --git a/Tools/NewApplication/AppController.j b/Tools/NewApplication/AppController.j deleted file mode 100644 index dd8129e8b..000000000 --- a/Tools/NewApplication/AppController.j +++ /dev/null @@ -1,38 +0,0 @@ -/* - * AppController.j - * - * Created by __Me__ on __Date__. - * Copyright 2008 __MyCompanyName__. All rights reserved. - */ - -@import - - -@implementation AppController : CPObject -{ -} - -- (void)applicationDidFinishLaunching:(CPNotification)aNotification -{ - var theWindow = [[CPWindow alloc] initWithContentRect:CGRectMakeZero() styleMask:CPBorderlessBridgeWindowMask], - contentView = [theWindow contentView]; - - var label = [[CPTextField alloc] initWithFrame:CGRectMakeZero()]; - - [label setStringValue:@"Hello World!"]; - [label setFont:[CPFont boldSystemFontOfSize:24.0]]; - - [label sizeToFit]; - - [label setAutoresizingMask:CPViewMinXMargin | CPViewMaxXMargin | CPViewMinYMargin | CPViewMaxYMargin]; - [label setFrameOrigin:CGPointMake((CGRectGetWidth([contentView bounds]) - CGRectGetWidth([label frame])) / 2.0, (CGRectGetHeight([contentView bounds]) - CGRectGetHeight([label frame])) / 2.0)]; - - [contentView addSubview:label]; - - [theWindow orderFront:self]; - - // Uncomment the following line to turn on the standard menu bar. - //[CPMenu setMenuBarVisible:YES]; -} - -@end diff --git a/Tools/NewApplication/Info.plist b/Tools/NewApplication/Info.plist deleted file mode 100644 index 92ab8b53d..000000000 --- a/Tools/NewApplication/Info.plist +++ /dev/null @@ -1,12 +0,0 @@ - - - - - CPApplicationDelegateClass - AppController - CPBundleName - Hello World - CPPrincipalClass - CPApplication - - diff --git a/Tools/NewApplication/index-debug.html b/Tools/NewApplication/index-debug.html deleted file mode 100644 index 392b37a8f..000000000 --- a/Tools/NewApplication/index-debug.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - Hello World - - - - - - - - -
-
- -
-
- - - diff --git a/Tools/NewApplication/index.html b/Tools/NewApplication/index.html deleted file mode 100644 index fbcf5a9bc..000000000 --- a/Tools/NewApplication/index.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - Hello World - - - - - - - - - -
-
- -
-
- - - - diff --git a/Tools/NewApplication/main.j b/Tools/NewApplication/main.j deleted file mode 100755 index b82bd4e3c..000000000 --- a/Tools/NewApplication/main.j +++ /dev/null @@ -1,17 +0,0 @@ -/* - * main.j - * - * Created by __Me__ on __Date__. - * Copyright 2008 __MyCompanyName__. All rights reserved. - */ - -@import -@import - -@import "AppController.j" - - -function main(args, namedArgs) -{ - CPApplicationMain(args, namedArgs); -}