Add more (dummy) layer property stuff

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38940 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Riccardo Mottola 2015-08-28 20:26:30 +00:00
parent f65931aa6c
commit dbcaec319a
3 changed files with 21 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2015-08-28 Riccardo Mottola <rm@gnu.org>
* Source/NSView.m
* Headers/AppKit/NSView.h
Add more (dummy) layer property stuff
2015-08-26 Fred Kiefer <FredKiefer@gmx.de>
* Source/GSTextFinder.m: Fix Ignore Case option to work.

View file

@ -2,7 +2,7 @@
<abstract>Encapsulates all drawing functionality</abstract>
Copyright <copy>(C) 1996 Free Software Foundation, Inc.</copy>
Copyright <copy>(C) 1996-2015 Free Software Foundation, Inc.</copy>
Author: Scott Christley <scottc@net-community.com>
Date: 1996
@ -236,6 +236,8 @@ PACKAGE_SCOPE
#if OS_API_VERSION(MAC_OS_X_VERSION_10_5, GS_API_LATEST)
- (CGFloat) alphaValue;
- (void) setAlphaValue: (CGFloat)alpha;
- (CGFloat) frameCenterRotation;
- (void) setFrameCenterRotation:(CGFloat)rot;
#endif
/*

View file

@ -1652,6 +1652,18 @@ static NSSize _computeScale(NSSize fs, NSSize bs)
_alphaValue = alpha;
}
- (CGFloat) frameCenterRotation
{
// FIXME this is dummy, we don't have layers yet
return 0.0;
}
- (void) setFrameCenterRotation:(CGFloat)rot;
{
// FIXME this is dummy, we don't have layers yet
// we probably need a Matrix akin frame rotation.
}
- (NSRect) centerScanRect: (NSRect)aRect
{