Files
twui/lib/UIKit/TUINSView+Private.h

44 lines
1.1 KiB
Objective-C

//
// TUINSView+Private.h
// TwUI
//
// Created by Justin Spahr-Summers on 17.07.12.
//
// Portions of this code were taken from Velvet,
// which is copyright (c) 2012 Bitswift, Inc.
// See LICENSE.txt for more information.
//
#import "TUINSView.h"
/*
* Private functionality of TUINSView that needs to be exposed to other parts of
* the framework.
*/
@interface TUINSView ()
/*
* The layer-backed view which actually holds the AppKit hierarchy.
*/
@property (nonatomic, readonly, strong) NSView *appKitHostView;
// The view currently tracking mouse events.
@property (nonatomic, unsafe_unretained) TUIView *trackingView;
/*
* Informs the receiver that the clipping of a TUIViewNSViewContainer it is hosting has
* changed, and asks it to update clipping paths accordingly.
*/
- (void)recalculateNSViewClipping;
/*
* Informs the receiver that the ordering of a TUIViewNSViewContainer it is hosting has
* changed, and asks it to reorder its subviews to match TwUI.
*/
- (void)recalculateNSViewOrdering;
- (TUIView *)viewForLocalPoint:(NSPoint)p;
- (NSPoint)localPointForLocationInWindow:(NSPoint)locationInWindow;
@end