mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 05:32:11 +00:00
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:
parent
f65931aa6c
commit
dbcaec319a
3 changed files with 21 additions and 1 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
||||
/*
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue