2 Copyright 2004-2005 Chris Tallon
3 Portions copyright 2004 Jon Gettler
5 This file is part of VOMP.
7 VOMP is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2 of the License, or
10 (at your option) any later version.
12 VOMP is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with VOMP; if not, write to the Free Software
19 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22 #include "surfacewin.h"
25 SurfaceWin::SurfaceWin(int id)
30 SurfaceWin::~SurfaceWin()
34 int SurfaceWin::create(UINT width, UINT height)
39 void SurfaceWin::display()
43 int SurfaceWin::fillblt(int x, int y, int width, int height, unsigned int c)
48 void SurfaceWin::drawPixel(int x, int y, unsigned int c)
52 void SurfaceWin::drawHorzLine(int x1, int x2, int y, unsigned int c)
56 void SurfaceWin::drawVertLine(int x, int y1, int y2, unsigned int c)
60 int SurfaceWin::updateToScreen(int sx, int sy, int w, int h, int dx, int dy) // FIXME new, replace others with this FIXME
65 int SurfaceWin::blt(int fd, unsigned long shandle, int sx, int sy, int width, int height, unsigned long dhandle, int dx, int dy)
70 void SurfaceWin::screenShot(char* fileName)
74 void SurfaceWin::readPixel(int x, int y, unsigned char* r, unsigned char* g, unsigned char* b)