39 lines
445 B
C++
39 lines
445 B
C++
#ifndef LIME_GRAPHICS_RENDER_EVENT_H
|
|
#define LIME_GRAPHICS_RENDER_EVENT_H
|
|
|
|
|
|
#include <hx/CFFI.h>
|
|
|
|
|
|
namespace lime {
|
|
|
|
|
|
enum RenderEventType {
|
|
|
|
RENDER,
|
|
RENDER_CONTEXT_LOST,
|
|
RENDER_CONTEXT_RESTORED
|
|
|
|
};
|
|
|
|
|
|
class RenderEvent {
|
|
|
|
public:
|
|
|
|
static AutoGCRoot* callback;
|
|
static AutoGCRoot* eventObject;
|
|
|
|
RenderEvent ();
|
|
|
|
static void Dispatch (RenderEvent* event);
|
|
|
|
RenderEventType type;
|
|
|
|
};
|
|
|
|
|
|
}
|
|
|
|
|
|
#endif |