Lua: Fix type confusion between signed and unsigned
[lsnes.git] / include / library / memorywatch-fb.hpp
blob8f392b14e2d285cd197edeca8ba1d9d5685b015e
1 #ifndef _library__memorywatch_fb__hpp__included__
2 #define _library__memorywatch_fb__hpp__included__
4 #include "framebuffer.hpp"
5 #include "memorywatch.hpp"
6 #include "mathexpr.hpp"
8 namespace framebuffer
10 class font2;
13 namespace memorywatch
15 struct output_fb : public item_printer
17 output_fb();
18 ~output_fb();
19 void set_rqueue(framebuffer::queue& rqueue);
20 void set_dtor_cb(std::function<void(output_fb&)> cb);
21 void show(const std::string& iname, const std::string& val);
22 void reset();
23 bool cond_enable;
24 GC::pointer<mathexpr::mathexpr> enabled;
25 GC::pointer<mathexpr::mathexpr> pos_x;
26 GC::pointer<mathexpr::mathexpr> pos_y;
27 bool alt_origin_x;
28 bool alt_origin_y;
29 bool cliprange_x;
30 bool cliprange_y;
31 framebuffer::font2* font;
32 framebuffer::color fg;
33 framebuffer::color bg;
34 framebuffer::color halo;
35 //State variables.
36 framebuffer::queue* queue;
37 std::function<void(output_fb&)> dtor_cb;
41 #endif