Slight refactor

This commit is contained in:
Joshua Granick
2014-06-09 23:44:48 -07:00
parent 78bcad8f95
commit 8fd0f13bc1
15 changed files with 32 additions and 68 deletions

View File

@@ -1,37 +0,0 @@
#ifndef LIME_APP_RENDER_EVENT_H
#define LIME_APP_RENDER_EVENT_H
#include <hx/CFFI.h>
namespace lime {
enum RenderEventType {
RENDER
};
class RenderEvent {
public:
static AutoGCRoot* callback;
static AutoGCRoot* eventObject;
RenderEvent ();
static void Dispatch (RenderEvent* event);
RenderEventType type;
};
}
#endif

View File

@@ -1,30 +0,0 @@
#ifndef LIME_APP_RENDERER_H
#define LIME_APP_RENDERER_H
#include <app/Window.h>
namespace lime {
class Renderer {
public:
virtual void Flip () = 0;
Window* currentWindow;
};
Renderer* CreateRenderer (Window* window);
}
#endif

View File

@@ -1,28 +0,0 @@
#ifndef LIME_APP_WINDOW_H
#define LIME_APP_WINDOW_H
#include <app/Application.h>
namespace lime {
class Window {
public:
Application* currentApplication;
};
Window* CreateWindow (Application* application);
}
#endif