First pass at refactoring native CFFI Bytes

This commit is contained in:
Joshua Granick
2018-06-15 23:21:03 -07:00
parent ecd7876c4b
commit 6d666b0eeb
29 changed files with 441 additions and 988 deletions

View File

@@ -10,10 +10,10 @@
namespace lime {
struct HL_Image {
struct Image {
hl_type* t;
HL_ImageBuffer* buffer;
ImageBuffer* buffer;
bool dirty;
int height;
int offsetX;
@@ -25,29 +25,8 @@ namespace lime {
double x;
double y;
};
class Image {
public:
Image ();
Image (value image);
Image (HL_Image* image);
~Image ();
ImageBuffer *buffer;
int height;
int offsetX;
int offsetY;
int width;
private:
value mValue;
Image (value image);
~Image ();
};