AppleWin/source/frontends/ncurses/colors.h
Andrea Odetti 50b84e06fe Add support for a text mode high resolution graphics.
Using Unicode quarter blocks the effective resolution is (40x2)x(24x2).


Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2017-10-14 19:18:44 +01:00

18 lines
344 B
C++

#pragma once
class GraphicsColors
{
public:
GraphicsColors(const int firstColor, const int firstPair, const int numberOfGreys);
int getPair(int color) const;
int getGrey(double foreground, double background) const;
private:
int myFirstGRPair;
int myFirstHGRPair;
const int myNumberOfGRColors;
const int myNumberOfGreys;
};