From a4dd208a7955e25bca710d4bcf355de7e608b9e1 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 18 Jan 2003 06:12:29 +0000 Subject: use a bitshift on the rgb values instead of a color table --- otk/truerendercontrol.hh | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'otk/truerendercontrol.hh') diff --git a/otk/truerendercontrol.hh b/otk/truerendercontrol.hh index af057be8..dfa0aa34 100644 --- a/otk/truerendercontrol.hh +++ b/otk/truerendercontrol.hh @@ -13,6 +13,13 @@ private: int _green_offset; int _blue_offset; + // the number of bits to shift a color value (from 0-255) to fit it into the + // the color mask + int _red_shift; + int _green_shift; + int _blue_shift; + + public: TrueRenderControl(const ScreenInfo *screen); virtual ~TrueRenderControl(); -- cgit v1.2.3