summaryrefslogblamecommitdiff
path: root/src/kernel/dev/vgatxt.h
blob: 550d4ba27c2f58dfb66f798e84a82b4fed036fdb (plain) (tree)






















                                                                                      
#ifndef DEF_MONITOR_H
#define DEF_MONITOR_H

#include <types.h>

#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