forked from mojbro/gocoa
-
Notifications
You must be signed in to change notification settings - Fork 1
/
imageview.h
18 lines (15 loc) · 917 Bytes
/
imageview.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#import "image.h"
#import <Cocoa/Cocoa.h>
typedef void *ImageViewPtr;
ImageViewPtr ImageView_New(int goImageViewID, int x, int y, int w, int h);
ImageViewPtr ImageView_NewWithContentsOfURL(int goImageViewID, int x, int y,
int w, int h, const char *url);
void ImageView_SetAnimates(ImageViewPtr imageViewPtr, int animates);
void ImageView_SetContentTintColor(ImageViewPtr imageViewPtr, int r, int g,
int b, int a);
void ImageView_SetEditable(ImageViewPtr imageViewPtr, int editable);
void ImageView_SetFrameStyle(ImageViewPtr imageViewPtr, int frameStyle);
void ImageView_SetImageAlignment(ImageViewPtr imageViewPtr, int imageAlignment);
void ImageView_SetImageScaling(ImageViewPtr imageViewPtr, int imageScaling);
void ImageView_Remove(ImageViewPtr imageViewPtr);
void ImageView_SetImage(ImageViewPtr imageViewPtr, ImagePtr imagePtr);