Refactor OpenGL classes into lime.graphics.opengl, OpenAL into lime.media.openal, move image and sound into media
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user