|
Last change
on this file was 13020, checked in by Gary Palter, 15 years ago |
|
Add the Objective-C test case for Cocotron issue 405
|
-
Property svn:executable
set to
*
|
|
File size:
523 bytes
|
| Rev | Line | |
|---|
| [13020] | 1 | //
|
|---|
| 2 | // Issue405WindowDelegate.m
|
|---|
| 3 | // issue405
|
|---|
| 4 | //
|
|---|
| 5 | // Created by Gary Palter on 9/8/09.
|
|---|
| 6 | // Copyright 2009 Clozure Associates. All rights reserved.
|
|---|
| 7 | //
|
|---|
| 8 |
|
|---|
| 9 | #import "Issue405WindowDelegate.h"
|
|---|
| 10 |
|
|---|
| 11 |
|
|---|
| 12 | @implementation Issue405WindowDelegate
|
|---|
| 13 |
|
|---|
| 14 | @synthesize window;
|
|---|
| 15 |
|
|---|
| 16 | -(void) windowDidResize:(NSNotification *)note {
|
|---|
| 17 | NSRect rect = [[window contentView] frame];
|
|---|
| 18 | NSLog(@"Resize method called, new size {%f,%f}", rect.size.width, rect.size.height);
|
|---|
| 19 | }
|
|---|
| 20 |
|
|---|
| 21 | -(void) windowWillClose:(NSNotification *)note {
|
|---|
| 22 | NSLog(@"Close method called");
|
|---|
| 23 | }
|
|---|
| 24 |
|
|---|
| 25 | @end
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.