2003-02-03 07:06:45 +00:00
|
|
|
// -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
|
|
|
|
|
2003-02-09 23:07:54 +00:00
|
|
|
#include "config.h"
|
2003-02-03 07:06:45 +00:00
|
|
|
|
|
|
|
#include "pseudorendercontrol.hh"
|
|
|
|
#include "display.hh"
|
|
|
|
#include "screeninfo.hh"
|
|
|
|
#include "surface.hh"
|
|
|
|
#include "rendertexture.hh"
|
|
|
|
|
|
|
|
extern "C" {
|
|
|
|
#ifdef HAVE_STDLIB_H
|
|
|
|
# include <stdlib.h>
|
|
|
|
#endif // HAVE_STDLIB_H
|
|
|
|
|
|
|
|
#include "../src/gettext.h"
|
|
|
|
#define _(str) gettext(str)
|
|
|
|
}
|
|
|
|
|
|
|
|
namespace otk {
|
|
|
|
|
|
|
|
PseudoRenderControl::PseudoRenderControl(int screen)
|
|
|
|
: RenderControl(screen)
|
|
|
|
{
|
|
|
|
printf("Initializing PseudoColor RenderControl\n");
|
2003-02-12 00:42:19 +00:00
|
|
|
|
|
|
|
const ScreenInfo *info = display->screenInfo(_screen);
|
2003-02-03 07:06:45 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
PseudoRenderControl::~PseudoRenderControl()
|
|
|
|
{
|
|
|
|
printf("Destroying PseudoColor RenderControl\n");
|
|
|
|
}
|
|
|
|
|
2003-02-12 00:27:32 +00:00
|
|
|
void PseudoRenderControl::reduceDepth(Surface &sf, XImage *im) const
|
2003-02-11 23:58:33 +00:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2003-02-03 07:06:45 +00:00
|
|
|
}
|