]>
Dogcows Code - chaz/openbox/blob - otk/pseudorendercontrol.hh
1 // -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
2 #ifndef __pseudorendercontrol_hh
3 #define __pseudorendercontrol_hh
5 #include "rendercontrol.hh"
9 class PseudoRenderControl
: public RenderControl
{
11 // color tables, meaning, 256 (possibly) different shades of each color,
12 // based on the number of bits there are available for each color in the
14 unsigned char _red_color_table
[256];
15 unsigned char _green_color_table
[256];
16 unsigned char _blue_color_table
[256];
18 int _cpc
; // colors-per-channel: must be a value between [2,6]
19 int _bpp
; // bits-per-pixel
21 // These are only used for !TrueColor visuals
25 virtual void reduceDepth(Surface
&sf
, XImage
*im
) const;
28 PseudoRenderControl(int screen
);
29 virtual ~PseudoRenderControl();
35 #endif // __pseudorendercontrol_hh
This page took 0.035207 seconds and 5 git commands to generate.