summaryrefslogblamecommitdiff
path: root/Source/Kernel/Devices/Display/VGATextOutput.class.h
blob: 2c72d40fb293cfa152c7f792689f71c2ad3475c9 (plain) (tree)
1
2
3
4
5
6
7
8
9





                                          

                   
               

                                       


                          


                                                
                                                                    




                                                 
#ifndef DEF_VGATEXTOUTPUT_CLASS_H
#define DEF_VGATEXTOUTPUT_CLASS_H

#include <Devices/Display/Display.proto.h>

class VGATextOutput : public Display {
	int m_cols;

	public:
	VGATextOutput() : m_cols(80) {}

	String getClass();
	String getName();

	void getModes(Vector<Disp::mode_t> &to);
	bool setMode(Disp::mode_t& mode);

	void putChar(u16int line, u16int col, WChar c, u8int color);
	void moveCursor(u16int line, u16int col);
	void clear();
};

#endif