]>
Dogcows Code - chaz/openbox/blob - otk/pseudorendercontrol.hh
402190c53d385bf33eb985fa75175e1d91159ef7
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 int _bpc
; // number of bits per color
12 int _ncolors
; // number of allocated colors, size of the XColor array
13 XColor
*_colors
; // the valid allocated colors
15 virtual void reduceDepth(Surface
&sf
, XImage
*im
) const;
18 PseudoRenderControl(int screen
);
19 virtual ~PseudoRenderControl();
21 virtual void allocateColor(XColor
*color
) const;
26 #endif // __pseudorendercontrol_hh
This page took 0.035366 seconds and 4 git commands to generate.