]>
Dogcows Code - chaz/openbox/blob - otk/truerendercontrol.hh
a1bc47dcc2e8c467d0113da2e6f9780a5f5f106b
1 // -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
2 #ifndef __truerendercontrol_hh
3 #define __truerendercontrol_hh
5 #include "rendercontrol.hh"
11 class TrueRenderControl
: public RenderControl
{
13 // the number of bits to shift a color value (from 0-255) to the right, to
14 // fit it into the the color mask (do this before the offset)
19 // the offset of each color in a color mask
24 inline void highlight(pixel32
*x
, pixel32
*y
, bool raised
) const;
25 void reduceDepth(Surface
&sf
, XImage
*im
) const;
26 void verticalGradient(Surface
&sf
, const RenderTexture
&texture
) const;
27 void diagonalGradient(Surface
&sf
, const RenderTexture
&texture
) const;
28 void crossDiagonalGradient(Surface
&sf
, const RenderTexture
&texture
) const;
29 virtual void drawGradientBackground(Surface
&sf
,
30 const RenderTexture
&texture
) const;
33 TrueRenderControl(int screen
);
34 virtual ~TrueRenderControl();
36 virtual void drawBackground(Surface
& sf
, const RenderTexture
&texture
) const;
41 #endif // __truerendercontrol_hh
This page took 0.033978 seconds and 4 git commands to generate.