3
Copyright (C) 1999 Martin Vogt
5
This program is free software; you can redistribute it and/or modify
6
it under the terms of the GNU Library General Public License as published by
7
the Free Software Foundation.
9
For more information look at the file COPYRIGHT in this package
14
#include "windowOut.h"
22
WindowOut::WindowOut() {
24
renderMachine=new RenderMachine();
29
WindowOut::~WindowOut() {
33
int WindowOut::openWindow(int width, int height,const char *title){
34
return renderMachine->openWindow(width,height,title);
38
void WindowOut::flushWindow() {
39
renderMachine->flushWindow();
43
void WindowOut::closeWindow() {
44
renderMachine->closeWindow();
48
PictureArray* WindowOut::lockPictureArray() {
49
return renderMachine->lockPictureArray();
53
void WindowOut::unlockPictureArray(PictureArray* pictureArray) {
54
renderMachine->unlockPictureArray(pictureArray);
59
void WindowOut::config(const char* key, const char* value,void* user_data) {
60
renderMachine->config(key,value,user_data);