24 |
#ifndef UI_IMAGE_H |
#ifndef UI_IMAGE_H |
25 |
#define UI_IMAGE_H |
#define UI_IMAGE_H |
26 |
|
|
27 |
|
#include <GL/gl.h> |
28 |
|
|
29 |
#include <Foundation/NSGeometry.h> |
#include <Foundation/NSGeometry.h> |
30 |
|
|
31 |
#include "UiWidget.h" |
#include "UiWidget.h" |
32 |
|
|
33 |
@class NSString; |
@class NSString; |
|
@class NSImage; |
|
34 |
|
|
35 |
@interface UiImage: UiWidget |
@interface UiImage: UiWidget |
36 |
{ |
{ |
37 |
NSImage *_image; |
NSString *_imageName; |
38 |
|
GLuint _texture; |
39 |
} |
} |
40 |
|
|
41 |
- (id) initWithImageName: (NSString *)imageName |
- (id) initWithImageName: (NSString *)imageName |