Actually call on_reset callback
[lsnes.git] / include / library / lua-framebuffer.hpp
blobb65c2ff3fe9fa01833a2458c8ade48ef337f66e9
1 #ifndef _library__lua_framebuffer__hpp__included__
2 #define _library__lua_framebuffer__hpp__included__
4 #include "lua-base.hpp"
5 #include "framebuffer.hpp"
7 namespace lua
9 struct render_context
11 uint32_t left_gap;
12 uint32_t right_gap;
13 uint32_t top_gap;
14 uint32_t bottom_gap;
15 struct framebuffer::queue* queue;
16 uint32_t width;
17 uint32_t height;
20 framebuffer::color get_fb_color(lua::state& L, int index, const std::string& fname);
21 framebuffer::color get_fb_color(lua::state& L, int index, const std::string& fname, int64_t dflt);
24 #endif