#ifndef DEF_MONITOR_H #define DEF_MONITOR_H #include #include "display.h" class vgatxt : public display { public: vgatxt(node *parent); virtual ~vgatxt() {} virtual int text_w(); virtual int text_h(); virtual void text_setcsr(int l, int c, bool visible); virtual void text_put(int l, int c, int ch, uint8_t fgcolor, uint8_t bgcolor); virtual void text_scroll(int n, uint8_t fgcolor, uint8_t bgcolor); }; extern vgatxt *text_display; #endif