Minor refactor
This commit is contained in:
38
project/include/graphics/Image.h
Normal file
38
project/include/graphics/Image.h
Normal file
@@ -0,0 +1,38 @@
|
||||
#ifndef LIME_GRAPHICS_IMAGE_H
|
||||
#define LIME_GRAPHICS_IMAGE_H
|
||||
|
||||
|
||||
#include <hx/CFFI.h>
|
||||
#include <utils/ByteArray.h>
|
||||
|
||||
|
||||
namespace lime {
|
||||
|
||||
|
||||
class Image {
|
||||
|
||||
|
||||
public:
|
||||
|
||||
Image ();
|
||||
~Image ();
|
||||
|
||||
value Value ();
|
||||
|
||||
int width;
|
||||
int height;
|
||||
ByteArray *data;
|
||||
|
||||
|
||||
private:
|
||||
|
||||
value mValue;
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user