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"
15 struct output_fb
: public item_printer
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
);
24 GC::pointer
<mathexpr::mathexpr
> enabled
;
25 GC::pointer
<mathexpr::mathexpr
> pos_x
;
26 GC::pointer
<mathexpr::mathexpr
> pos_y
;
31 framebuffer::font2
* font
;
32 framebuffer::color fg
;
33 framebuffer::color bg
;
34 framebuffer::color halo
;
36 framebuffer::queue
* queue
;
37 std::function
<void(output_fb
&)> dtor_cb
;