summaryrefslogtreecommitdiff
path: root/otk/truerendercontrol.hh
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-01-18 06:12:29 +0000
committerDana Jansens <danakj@orodu.net>2003-01-18 06:12:29 +0000
commita4dd208a7955e25bca710d4bcf355de7e608b9e1 (patch)
treee0e68aec8af1afd47bf5f5b0bda2273c86f697cf /otk/truerendercontrol.hh
parente2607f616d8ab2abd494af74f0a53de7c658110f (diff)
use a bitshift on the rgb values instead of a color table
Diffstat (limited to 'otk/truerendercontrol.hh')
-rw-r--r--otk/truerendercontrol.hh7
1 files changed, 7 insertions, 0 deletions
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();