Vie (0) Tulosta
Laajenna kaikki
EN
Tätä sisältöä ei ole saatavilla kielelläsi. Tässä on englanninkielinen versio.

Windows Animation Samples

The topics contained in this section provide details about the code samples that support the Windows Animation Manager documentation.

In this section

TopicDescription

Application-Driven Animation Sample

Timer-Driven Animation Sample

Custom Interpolator Sample

Shows how to use Windows Animation with your own Custom Interpolator, with Direct2D used for rendering.

Grid Layout Sample

Shows how to use Windows Animation, using Direct2D to animate a grid of images.

Priority Comparison Sample

Shows how to use Windows Animation with your own Priority Comparison, using Direct2D for rendering.

 

Sample Files

Each sample contains many of the following key files:

Application.cpp

Defines the application entry point.

MainWindow.h

Declares the CMainWindow class.

MainWindow.cpp

Initializes the animation components and the graphics platform, loads images, and renders the client area.

LayoutManager.h

Declares the CLayoutManager class.

LayoutManager.cpp

Calculates the layout of images in the main window, creates storyboards, adds transitions to the storyboard, and schedules the storyboard.

Thumbnail.h

Declares the CThumbNail class.

Thumbnail.cpp

Creates animation variables and renders thumbnails.

Related topics

Windows Animation Development Guide
Windows Animation Reference

 

 

Yhteisösisältö

Lisää
Näytä:
© 2014 Microsoft