Lynkeos  1.2
Classes | Macros | Functions | Variables
MyImageViewSelection.m File Reference
#import "MyImageView.h"
Include dependency graph for MyImageViewSelection.m:

Classes

category  MyImageView(SelectionPrivate)
 

Macros

#define K_CURSRECT_SIZE   10
 
#define max(a, b)   ((a) > (b) ? a : b )
 
#define min(a, b)   ((a) > (b) ? b : a )
 

Functions

static short processDrag (long mouse, u_short origin, u_short maximum, bool upright)
 

Variables

static const NSString * crossImage = @"cross"
 
static const NSString * leftImage = @"left"
 
static const NSString * rightImage = @"right"
 
static const NSString * topImage = @"top"
 
static const NSString * bottomImage = @"bottom"
 
static const NSString * topLeftImage = @"topLeft"
 
static const NSString * topRightImage = @"topRight"
 
static const NSString * bottomLeftImage = @"bottomLeft"
 
static const NSString * bottomRightImage = @"bottomRight"
 
static const NSString * insideImage = @"hand"
 
static const NSPoint crossSpot = {8,8}
 
static const NSPoint leftSpot = {1,7}
 
static const NSPoint rightSpot = {14,7}
 
static const NSPoint topSpot = {7,1}
 
static const NSPoint bottomSpot = {7,14}
 
static const NSPoint topLeftSpot = {1,1}
 
static const NSPoint topRightSpot = {14,1}
 
static const NSPoint bottomLeftSpot = {1,14}
 
static const NSPoint bottomRightSpot = {14,14}
 
static const NSPoint insideSpot = {8,8}
 

Macro Definition Documentation

◆ K_CURSRECT_SIZE

#define K_CURSRECT_SIZE   10

◆ max

#define max (   a,
 
)    ((a) > (b) ? a : b )

◆ min

#define min (   a,
 
)    ((a) > (b) ? b : a )

Function Documentation

◆ processDrag()

static short processDrag ( long  mouse,
u_short  origin,
u_short  maximum,
bool  upright 
)
static

Variable Documentation

◆ bottomImage

const NSString * bottomImage = @"bottom"
static

◆ bottomLeftImage

const NSString * bottomLeftImage = @"bottomLeft"
static

◆ bottomLeftSpot

const NSPoint bottomLeftSpot = {1,14}
static

◆ bottomRightImage

const NSString * bottomRightImage = @"bottomRight"
static

◆ bottomRightSpot

const NSPoint bottomRightSpot = {14,14}
static

◆ bottomSpot

const NSPoint bottomSpot = {7,14}
static

◆ crossImage

const NSString* crossImage = @"cross"
static

◆ crossSpot

const NSPoint crossSpot = {8,8}
static

◆ insideImage

const NSString * insideImage = @"hand"
static

◆ insideSpot

const NSPoint insideSpot = {8,8}
static

◆ leftImage

const NSString * leftImage = @"left"
static

◆ leftSpot

const NSPoint leftSpot = {1,7}
static

◆ rightImage

const NSString * rightImage = @"right"
static

◆ rightSpot

const NSPoint rightSpot = {14,7}
static

◆ topImage

const NSString * topImage = @"top"
static

◆ topLeftImage

const NSString * topLeftImage = @"topLeft"
static

◆ topLeftSpot

const NSPoint topLeftSpot = {1,1}
static

◆ topRightImage

const NSString * topRightImage = @"topRight"
static

◆ topRightSpot

const NSPoint topRightSpot = {14,1}
static

◆ topSpot

const NSPoint topSpot = {7,1}
static