mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-08-25 21:17:03 +00:00
- 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.
32 lines
506 B
Plaintext
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
|