DDEX4
所属分类:Windows CE
开发工具:Others
文件大小:57KB
下载次数:83
上传日期:2008-05-14 17:11:13
上 传 者:
xajhuang
说明: Windows CE 5.0 DirectDraw 微软示例源代码 DDEX4
(Microsoft Windows CE 5.0 DirectDraw sample source code DDEX4)
文件列表:
DDUTIL\ddutil.cpp (9815, 2004-07-01)
DDUTIL\makefile (662, 2004-07-01)
DDUTIL\obj\ARMV4I\retail\ddutil.obj (16310, 2008-05-14)
DDUTIL\obj\ARMV4I\retail\_objects.mac (66, 2008-05-14)
DDUTIL\sources (957, 2004-07-01)
INCLUDE\ddmm.h (1038, 2004-07-01)
INCLUDE\ddutil.h (1655, 2004-07-01)
INCLUDE\ddutil2.h (1400, 2004-07-01)
INCLUDE\lbprintf.h (1042, 2004-07-01)
DDEX4\background.bmp (308278, 2004-07-01)
DDEX4\ddex4.cpp (16469, 2004-07-01)
DDEX4\ddex4.rc (726, 2004-07-01)
DDEX4\directx.ico (1078, 2004-07-01)
DDEX4\makefile (662, 2004-07-01)
DDEX4\resource.h (681, 2004-07-01)
DDEX4\sources (1439, 2004-07-01)
DDEX4\sprite.bmp (246838, 2004-07-01)
DDUTIL\obj\ARMV4I\retail (0, 2008-05-14)
DDUTIL\obj\ARMV4I (0, 2008-05-14)
DDUTIL\obj (0, 2008-05-14)
DDUTIL (0, 2008-05-14)
INCLUDE (0, 2008-05-14)
DDEX4 (0, 2008-05-14)
//-----------------------------------------------------------------------------
//
// Sample Name: DDEx4 Sample
//
// Copyright (c) 19***-2000 Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
Description
===========
The DDEx4 program is an extension of DDEx3. It demonstrates a simple
animation technique.
User's Guide
============
DDEx4 requires no user input. Press F12 or ESC to quit the program.
This program requires at least 1.2 MB of video RAM.
Programming Notes
=================
The DDEx4 program creates two off-screen surfaces. It loads a bitmap
containing a series of animation images, and a background image onto these
surfaces. To create the animation, it blits portions of the off-screen
surface containing the frame of animation to the back surface, then flips the
front and back surfaces.
The blitting routines illustrate the use of a source color key to create a
sprite with a transparent background.
Note: This sample requires hardware flipping support. If the display
driver doesn't support page flipping the sample will exit during
initialization.
近期下载者:
相关文件:
收藏者: