14 lines
288 B
C++
14 lines
288 B
C++
#pragma once
|
|
#include <tty.hpp>
|
|
/**
|
|
* TTY for a CGA terminal. Limitations: 80x25, no RGB
|
|
*/
|
|
class CGATerm : public TTY {
|
|
protected:
|
|
virtual auto plotChar(int x, int y, int c) -> void;
|
|
|
|
public:
|
|
CGATerm();
|
|
virtual ~CGATerm();
|
|
virtual auto rgbSupport() -> bool;
|
|
};
|