إشعار
يتطلب الوصول إلى هذه الصفحة تخويلاً. يمكنك محاولة تسجيل الدخول أو تغيير الدلائل.
يتطلب الوصول إلى هذه الصفحة تخويلاً. يمكنك محاولة تغيير الدلائل.
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 |
|
| 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.