lsnes/include/library/memorywatch-fb.hpp

42 lines
895 B
C++
Raw Normal View History

2014-01-10 12:09:19 +02:00
#ifndef _library__memorywatch_fb__hpp__included__
#define _library__memorywatch_fb__hpp__included__
#include "framebuffer.hpp"
#include "memorywatch.hpp"
#include "mathexpr.hpp"
namespace framebuffer
{
class font2;
}
2014-01-10 12:09:19 +02:00
namespace memorywatch
2014-01-10 12:09:19 +02:00
{
struct output_fb : public item_printer
{
output_fb();
~output_fb();
2014-01-10 12:09:19 +02:00
void set_rqueue(framebuffer::queue& rqueue);
void set_dtor_cb(std::function<void(output_fb&)> cb);
2014-01-10 12:09:19 +02:00
void show(const std::string& iname, const std::string& val);
void reset();
bool cond_enable;
gcroot_pointer<mathexpr> enabled;
gcroot_pointer<mathexpr> pos_x;
gcroot_pointer<mathexpr> pos_y;
bool alt_origin_x;
bool alt_origin_y;
bool cliprange_x;
bool cliprange_y;
framebuffer::font2* font;
framebuffer::color fg;
framebuffer::color bg;
framebuffer::color halo;
//State variables.
framebuffer::queue* queue;
std::function<void(output_fb&)> dtor_cb;
2014-01-10 12:09:19 +02:00
};
}
2014-01-10 12:09:19 +02:00
#endif