~ubuntu-branches/ubuntu/hoary/kdemultimedia/hoary

« back to all changes in this revision

Viewing changes to mpeglib/lib/output/windowOut.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Martin Schulze
  • Date: 2003-01-22 15:00:51 UTC
  • Revision ID: james.westby@ubuntu.com-20030122150051-uihwkdoxf15mi1tn
Tags: upstream-2.2.2
ImportĀ upstreamĀ versionĀ 2.2.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
  wrapper for X11 Window
 
3
  Copyright (C) 1999  Martin Vogt
 
4
 
 
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.
 
8
 
 
9
  For more information look at the file COPYRIGHT in this package
 
10
 
 
11
 */
 
12
 
 
13
 
 
14
#include "windowOut.h"
 
15
 
 
16
 
 
17
 
 
18
 
 
19
 
 
20
 
 
21
 
 
22
WindowOut::WindowOut() {
 
23
 
 
24
  renderMachine=new RenderMachine();
 
25
 
 
26
}
 
27
 
 
28
 
 
29
WindowOut::~WindowOut() {
 
30
  delete renderMachine;
 
31
}
 
32
 
 
33
int WindowOut::openWindow(int width, int height,const char *title){
 
34
  return renderMachine->openWindow(width,height,title);
 
35
}
 
36
 
 
37
 
 
38
void WindowOut::flushWindow() {
 
39
  renderMachine->flushWindow();
 
40
}
 
41
 
 
42
 
 
43
void WindowOut::closeWindow() {
 
44
  renderMachine->closeWindow();
 
45
}
 
46
 
 
47
 
 
48
PictureArray* WindowOut::lockPictureArray() {
 
49
  return renderMachine->lockPictureArray();
 
50
}
 
51
 
 
52
 
 
53
void WindowOut::unlockPictureArray(PictureArray* pictureArray) {
 
54
  renderMachine->unlockPictureArray(pictureArray);
 
55
}
 
56
 
 
57
 
 
58
 
 
59
void WindowOut::config(const char* key, const char* value,void* user_data) {
 
60
  renderMachine->config(key,value,user_data);
 
61
}