mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-24 18:31:20 +00:00
Moved typedefinitions to here from NSImageView.h
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8268 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
4d7205189b
commit
9ba7190e10
1 changed files with 22 additions and 25 deletions
|
@ -30,36 +30,33 @@
|
|||
#define _GNUstep_H_NSImageCell
|
||||
|
||||
#include <AppKit/NSCell.h>
|
||||
#include <AppKit/NSImageView.h>
|
||||
|
||||
/*
|
||||
typedef enum _NSImageAlignment {
|
||||
NSImageAlignLeft,
|
||||
NSImageAlignRight,
|
||||
NSImageAlignCenter,
|
||||
NSImageAlignTop,
|
||||
NSImageAlignBottom,
|
||||
NSImageAlignTopLeft,
|
||||
NSImageAlignTopRight,
|
||||
NSImageAlignBottomLeft,
|
||||
NSImageAlignBottomRight
|
||||
typedef enum {
|
||||
NSScaleProportionally = 0, // Fit propoRtionally
|
||||
NSScaleToFit, // Forced fit (distort if necessary)
|
||||
NSScaleNone // Don't scale (clip)
|
||||
} NSImageScaling;
|
||||
|
||||
typedef enum {
|
||||
NSImageAlignCenter = 0,
|
||||
NSImageAlignTop,
|
||||
NSImageAlignTopLeft,
|
||||
NSImageAlignTopRight,
|
||||
NSImageAlignLeft,
|
||||
NSImageAlignBottom,
|
||||
NSImageAlignBottomLeft,
|
||||
NSImageAlignBottomRight,
|
||||
NSImageAlignRight
|
||||
} NSImageAlignment;
|
||||
|
||||
typedef enum _NSImageFrameStyle {
|
||||
NSImageFrameNone,
|
||||
NSImageFramePhoto,
|
||||
NSImageFrameGrayBezel,
|
||||
NSImageFrameGroove,
|
||||
NSImageFrameButton
|
||||
typedef enum {
|
||||
NSImageFrameNone = 0,
|
||||
NSImageFramePhoto,
|
||||
NSImageFrameGrayBezel,
|
||||
NSImageFrameGroove,
|
||||
NSImageFrameButton
|
||||
} NSImageFrameStyle;
|
||||
|
||||
typedef enum _NSImageScaling {
|
||||
NSScaleProportionally,
|
||||
NSScaleToFit,
|
||||
NSScaleNone
|
||||
} NSImageScaling;
|
||||
*/
|
||||
|
||||
@interface NSImageCell : NSCell <NSCopying, NSCoding>
|
||||
{
|
||||
// Attributes
|
||||
|
|
Loading…
Reference in a new issue