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/rendercontrol.hh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'otk/rendercontrol.hh') diff --git a/otk/rendercontrol.hh b/otk/rendercontrol.hh index c619597f..37119846 100644 --- a/otk/rendercontrol.hh +++ b/otk/rendercontrol.hh @@ -17,16 +17,14 @@ class RenderControl { protected: const ScreenInfo *_screen; - int _red_bits; - int _green_bits; - int _blue_bits; - + /* // color tables, meaning, 256 (possibly) different shades of each color, // based on the number of bits there are available for each color in the // visual unsigned char _red_color_table[256]; unsigned char _green_color_table[256]; unsigned char _blue_color_table[256]; + */ /* Bool _dither; -- cgit v1.2.3