X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Fpseudorendercontrol.hh;h=27d0620604b290dd9355462678d09a69fff8f3bb;hb=dca8c61a91cab29128a72f252b70f4bd9f7786ff;hp=c88ae931ecd17cc9f01d5f5c414d5ad72b49160b;hpb=9faca110acaffe21fd9f14cef807bc7aeb289a2a;p=chaz%2Fopenbox diff --git a/otk/pseudorendercontrol.hh b/otk/pseudorendercontrol.hh index c88ae931..27d06206 100644 --- a/otk/pseudorendercontrol.hh +++ b/otk/pseudorendercontrol.hh @@ -8,19 +8,8 @@ namespace otk { class PseudoRenderControl : public RenderControl { private: - // 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]; - - int _cpc; // colors-per-channel: must be a value between [2,6] - int _bpp; // bits-per-pixel - - // These are only used for !TrueColor visuals - XColor *_colors; - int _ncolors; + int _ncolors; // number of allocated colors, size of the XColor array + XColor *_colors; // the valid allocated colors virtual void reduceDepth(Surface &sf, XImage *im) const;