1 #ifndef _lua__bitmap__hpp__included__
2 #define _lua__bitmap__hpp__included__
7 #include "core/window.hpp"
8 #include "library/framebuffer.hpp"
12 lua_bitmap(uint32_t w
, uint32_t h
);
15 std::vector
<uint16_t> pixels
;
20 lua_dbitmap(uint32_t w
, uint32_t h
);
23 std::vector
<premultiplied_color
> pixels
;
28 std::vector
<premultiplied_color
> colors
;
34 struct lua_loaded_bitmap
39 std::vector
<int64_t> bitmap
;
40 std::vector
<int64_t> palette
;
41 static struct lua_loaded_bitmap
load(const std::string
& name
);