Refactor OpenGL classes into lime.graphics.opengl, OpenAL into lime.media.openal, move image and sound into media

This commit is contained in:
Joshua Granick
2014-07-29 21:24:21 -07:00
parent da1bf26501
commit 4153d70187
56 changed files with 285 additions and 411 deletions

View File

@@ -4,7 +4,7 @@
#include <hx/CFFI.h>
#include <list>
#include <graphics/Image.h>
#include <media/Image.h>
#include <ft2build.h>
#include FT_FREETYPE_H

View File

@@ -1,40 +0,0 @@
#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 ();
void Blit (const unsigned char *data, int x, int y, int width, int height);
void Resize (int width, int height, int bpp = 4);
value Value ();
int bpp;
ByteArray *data;
int height;
int width;
private:
value mValue;
};
}
#endif