ES-DE/src/Renderer.h

27 lines
401 B
C
Raw Normal View History

#ifndef _RENDERER_H_
#define _RENDERER_H_
#define LAYER_COUNT 3
#define BIT(x) (1 << (x))
#include <vector>
#include <SDL/SDL.h>
class GuiComponent;
namespace Renderer
{
void registerComponent(GuiComponent* comp);
void unregisterComponent(GuiComponent* comp);
void render();
extern SDL_Surface* screen;
//drawing commands
void drawRect(int x, int y, int w, int h, int color);
}
#endif