Slight refactor
This commit is contained in:
37
project/include/graphics/RenderEvent.h
Normal file
37
project/include/graphics/RenderEvent.h
Normal file
@@ -0,0 +1,37 @@
|
||||
#ifndef LIME_GRAPHICS_RENDER_EVENT_H
|
||||
#define LIME_GRAPHICS_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
|
||||
Reference in New Issue
Block a user