Lua: Fix type confusion between signed and unsigned
[lsnes.git] / include / interface / cover.hpp
blobb3e7ec105810ae538a02c3283f4ff2e7f1728e39
1 #ifndef _interface_cover__hpp__included__
2 #define _interface_cover__hpp__included__
4 #include <string>
5 #include <cstdlib>
6 #include <vector>
8 void cover_render_character(void* fb, unsigned x, unsigned y, uint32_t ch, uint32_t fg, uint32_t bg, size_t w,
9 size_t h, size_t istride, size_t pstride);
10 void cover_render_string(void* fb, unsigned x, unsigned y, const std::string& str, uint32_t fg, uint32_t bg,
11 size_t w, size_t h, size_t istride, size_t pstride);
12 void cover_next_position(uint32_t ch, unsigned& x, unsigned& y);
13 void cover_next_position(const std::string& ch, unsigned& x, unsigned& y);
14 std::vector<std::string> cover_information();
16 #endif