modules/graphics/src/main/native-glass/mac/GlassView3D.m
Print this page
*** 204,214 ****
}
}
- (id)initWithFrame:(NSRect)frame withJview:(jobject)jView withJproperties:(jobject)jproperties
{
! LOG("GlassView3D initWithFrame:withJview:withJproperties");
self = [super initWithFrame:frame pixelFormat:[NSOpenGLView defaultPixelFormat]];
if (self != nil)
{
[self _initialize3dWithJproperties:jproperties];
--- 204,215 ----
}
}
- (id)initWithFrame:(NSRect)frame withJview:(jobject)jView withJproperties:(jobject)jproperties
{
! LOG("GlassView3D initWithFrame(%s)", [NSStringFromRect(frame) UTF8String]);
!
self = [super initWithFrame:frame pixelFormat:[NSOpenGLView defaultPixelFormat]];
if (self != nil)
{
[self _initialize3dWithJproperties:jproperties];
*** 310,331 ****
--- 311,335 ----
[self->_delegate viewDidMoveToWindow];
}
- (void)setFrameOrigin:(NSPoint)newOrigin
{
+ LOG("GlassView3D setFrameOrigin:%s", [NSStringFromPoint(newOrigin) UTF8String]);
[super setFrameOrigin:newOrigin];
[self->_delegate setFrameOrigin:newOrigin];
}
- (void)setFrameSize:(NSSize)newSize
{
+ LOG("GlassView3D setFrameSize:%s", [NSStringFromSize(newSize) UTF8String]);
[super setFrameSize:newSize];
[self->_delegate setFrameSize:newSize];
}
- (void)setFrame:(NSRect)frameRect
{
+ LOG("GlassView3D setFrame:%s", [NSStringFromRect(frameRect) UTF8String]);
[super setFrame:frameRect];
[self->_delegate setFrame:frameRect];
}
- (void)updateTrackingAreas