wingdc.h

Go to the documentation of this file.
00001 #ifndef WINGDC_CLASS
00002 #define WINGDC_CLASS
00003 
00004 /*****************************************************************************\
00005 *
00006 * Author: Chris Koeritz
00007 *
00008 * Credits: Originally from "someone on CompuServe"
00009 *
00010 *******************************************************************************
00011 * Copyright (c) 1995-$now By Author.  This program is free software; you can  *
00012 * redistribute it and/or modify it under the terms of the GNU General Public  *
00013 * License as published by the Free Software Foundation; either version 2 of   *
00014 * the License or (at your option) any later version.  This is online at:      *
00015 *     http://www.fsf.org/copyleft/gpl.html                                    *
00016 * Please send any updates to: fred@gruntose.com                               *
00017 \*****************************************************************************/
00018 
00019 #include "winexdll.h"
00020 
00021 #include <basis/portable.h>
00022 
00023 class WINDOWS_EXTENSIONS_CLASS_STYLE WinGDC
00024 {
00025 public:
00026   HDC m_hDC;
00027 
00028   WinGDC();
00029   virtual ~WinGDC();
00030 
00031   HBITMAP WinGCreateBitmap( BITMAPINFO *pHeader, void * *ppBits);
00032 
00033   u_int WinGGetDIBColorTable(u_int nStartIndex, u_int nNumberOfEntries,
00034       RGBQUAD *pBuffer);
00035   u_int WinGSetDIBColorTable(u_int nStartIndex, u_int nNumberOfEntries,
00036       RGBQUAD *pBuffer);
00037 
00038   bool WinGBitBlt(HDC hdcDest,int nXOriginDest, int nYOriginDest,
00039         int nWidthDest, int nHeightDest, int nXOriginSrc, int nYOriginSrc);
00040   bool WinGStretchBlt(HDC hdcDest,int nXOriginDest, int nYOriginDest,
00041         int nWidthDest, int nHeightDest, int nXOriginSrc, int nYOriginSrc,
00042         int nWidthSrc, int nHeightSrc);
00043 
00044   bool WinGRecommendDIBFormat(BITMAPINFO *pHeader);
00045     // WinGRecommendDIBFormat is now faked.
00046 };
00047 
00048 #endif
00049 

Generated on Fri Nov 21 04:29:28 2008 for HOOPLE Libraries by  doxygen 1.5.1