Files
cappuccino/Tests/Manual/CPWindowResizeStyle/AppController.j
T
Aparajita Fishman f1a171a94c Window resize fixes
- Track mouse exit from window resize rect instead of unconditionally setting arrow cursor.
- Don't show the resize cursors for full platform windows.
- Show the resize down cursor if the top of a window is being resized and it has reached the bottom of the menubar.
- Make windows in CPToolbarTest resizable to test resizing behavior with toolbars.
- Added a full platform window and menubar to the test app.
2013-01-05 11:13:53 +08:00

32 lines
506 B
Plaintext

/*
* AppController.j
* resize
*
* Created by You on December 24, 2012.
* Copyright 2012, Your Company All rights reserved.
*/
@import <Foundation/CPObject.j>
@implementation AppController : CPObject
{
@outlet CPWindow theWindow;
}
- (void)applicationDidFinishLaunching:(CPNotification)aNotification
{
}
- (void)awakeFromCib
{
[theWindow setFullPlatformWindow:YES];
}
- (@action)resizeStyleDidChange:(id)sender
{
[CPWindow setGlobalResizeStyle:[[sender selectedRadio] tag]];
}
@end