2
base clase for X11 images (stores important parameters and dither pic)
3
Copyright (C) 2000 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 "imageBase.h"
17
ImageBase::ImageBase() {
22
ImageBase::~ImageBase() {
23
if (identifier != NULL)
27
void ImageBase::init(XWindow* xWindow, YUVPicture*)
29
cout << "direct virtual call: ImageBase::init "<<endl;
32
int ImageBase::support() {
33
cout << "direct virtual call: ImageBase::support "<<endl;
37
int ImageBase::openImage(int) {
38
cout << "direct virtual call: ImageBase::openImage "<<endl;
43
int ImageBase::closeImage(){
44
cout << "direct virtual call: ImageBase::closeImage "<<endl;
48
void ImageBase::ditherImage(YUVPicture*) {
49
cout << "direct virtual call: ImageBase::ditherImage "<<endl;
53
void ImageBase::putImage() {
54
cout << "direct virtual call: ImageBase::putImage "<<endl;
57
void ImageBase::putImage(int ,int ) {
58
cout << "direct virtual call: ImageBase::putImage(w,h) "<<endl;
61
void ImageBase::setIdentifier(const char *id)
63
if (identifier != NULL)
66
identifier = new char [strlen(id) + 1];
67
strcpy(identifier, id);
70
char *ImageBase::getIdentifier()