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
| Topic | Description |
|---|---|
|
Application-Driven Animation Sample | |
|
Shows how to use Windows Animation with your own Custom Interpolator, with Direct2D used for rendering. | |
|
Shows how to use Windows Animation, using Direct2D to animate a grid of images. | |
|
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