From: Richard K. <ric...@us...> - 2005-07-21 02:38:27
|
Update of /cvsroot/actionstep/actionstep/src/org/actionstep/test In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19670/test Modified Files: ASTestKeyEvents.as Log Message: add titlebars Index: ASTestKeyEvents.as =================================================================== RCS file: /cvsroot/actionstep/actionstep/src/org/actionstep/test/ASTestKeyEvents.as,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** ASTestKeyEvents.as 20 Jul 2005 18:07:12 -0000 1.3 --- ASTestKeyEvents.as 21 Jul 2005 02:37:48 -0000 1.4 *************** *** 49,57 **** var app = NSApplication.sharedApplication(); ! window1 = (new NSWindow()).initWithContentRect(new NSRect(0,0,250,500)); ! window2 = (new NSWindow()).initWithContentRect(new NSRect(251,0,250,500)); ! view1 = (new ASTestView()).initWithFrame(new NSRect(0,0,250,500)); ! view2 = (new ASTestView()).initWithFrame(new NSRect(0,0,250,500)); textField1 = (new NSTextField()).initWithFrame(new NSRect(10,20,120,30)); --- 49,57 ---- var app = NSApplication.sharedApplication(); ! window1 = (new NSWindow()).initWithContentRectStyleMask(new NSRect(10,25,250,250), NSWindow.NSTitledWindowMask | NSWindow.NSResizableWindowMask); ! window2 = (new NSWindow()).initWithContentRectStyleMask(new NSRect(262,25,250,250), NSWindow.NSTitledWindowMask | NSWindow.NSResizableWindowMask); ! view1 = (new ASTestView()).initWithFrame(new NSRect(0,0,250,250)); ! view2 = (new ASTestView()).initWithFrame(new NSRect(0,0,250,250)); textField1 = (new NSTextField()).initWithFrame(new NSRect(10,20,120,30)); |