mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
897 B
27 lines
897 B
//-----------------------------------------------------------------------------
|
|
// File: ddutil.cpp
|
|
//
|
|
// Desc: Routines for loading bitmap and palettes from resources
|
|
//
|
|
// Copyright (C) 1998-1999 Microsoft Corporation. All Rights Reserved.
|
|
//-----------------------------------------------------------------------------
|
|
#ifndef DDUTIL_H
|
|
#define DDUTIL_H
|
|
|
|
|
|
|
|
|
|
LPDIRECTDRAWPALETTE DDUtil_LoadPalette( LPDIRECTDRAW7 pDD, LPCSTR strBitmap );
|
|
LPDIRECTDRAWSURFACE7 DDUtil_LoadBitmap( LPDIRECTDRAW7 pDD, LPCSTR strBitmap,
|
|
int dx, int dy );
|
|
HRESULT DDUtil_ReLoadBitmap( LPDIRECTDRAWSURFACE7 pdds, LPCSTR strBitmap );
|
|
HRESULT DDUtil_CopyBitmap( LPDIRECTDRAWSURFACE7 pdds, HBITMAP hbm, int x, int y,
|
|
int dx, int dy );
|
|
DWORD DDUtil_ColorMatch( LPDIRECTDRAWSURFACE7 pdds, COLORREF rgb );
|
|
HRESULT DDUtil_SetColorKey( LPDIRECTDRAWSURFACE7 pdds, COLORREF rgb );
|
|
|
|
|
|
|
|
|
|
#endif // DDUTIL_H
|
|
|