lite-xl/src/rencache.h

17 lines
523 B
C
Raw Normal View History

2019-12-28 12:16:32 +01:00
#ifndef RENCACHE_H
#define RENCACHE_H
#include <stdbool.h>
#include <lua.h>
2019-12-28 12:16:32 +01:00
#include "renderer.h"
void rencache_show_debug(bool enable);
void rencache_set_clip_rect(RenRect rect);
void rencache_draw_rect(RenRect rect, RenColor color);
float rencache_draw_text(RenWindow *window_renderer, RenFont **font, const char *text, size_t len, float x, int y, RenColor color);
void rencache_invalidate(void);
void rencache_begin_frame(RenWindow *window_renderer);
void rencache_end_frame(RenWindow *window_renderer);
2019-12-28 12:16:32 +01:00
#endif