Slight refactor
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user