mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 13:10:59 +00:00
Tidied macro usage
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4526 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d1525d8e49
commit
e6e09ae66c
3 changed files with 14 additions and 9 deletions
|
@ -1,3 +1,8 @@
|
|||
Tue Jul 6 14:40:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||||
|
||||
* Headers/AppKit/NSAffineTransform.h: Removed macros
|
||||
* Source/NSAffineTransform.m: Added macros
|
||||
|
||||
Tue Jul 6 13:06:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||||
|
||||
* Headers/AppKit/NSEvent.h: Added event subtypes for appkit events
|
||||
|
|
|
@ -92,15 +92,7 @@ typedef struct {
|
|||
- (void) setMatrix: (const float[6])replace;
|
||||
- (void) getMatrix: (float[6])replace;
|
||||
|
||||
/* Private definitions */
|
||||
#define A matrix.m11
|
||||
#define B matrix.m12
|
||||
#define C matrix.m21
|
||||
#define D matrix.m22
|
||||
#define TX matrix.tx
|
||||
#define TY matrix.ty
|
||||
|
||||
#endif
|
||||
@end
|
||||
#endif
|
||||
|
||||
#endif /* _GNUstep_H_NSAffineTransform */
|
||||
|
|
|
@ -36,6 +36,14 @@
|
|||
#include <AppKit/NSAffineTransform.h>
|
||||
#include <AppKit/PSOperators.h>
|
||||
|
||||
/* Private definitions */
|
||||
#define A matrix.m11
|
||||
#define B matrix.m12
|
||||
#define C matrix.m21
|
||||
#define D matrix.m22
|
||||
#define TX matrix.tx
|
||||
#define TY matrix.ty
|
||||
|
||||
/* A Postscript matrix look like this:
|
||||
|
||||
/ a b 0 \
|
||||
|
|
Loading…
Reference in a new issue