wiggly

February 1, 2024 ยท View on GitHub

The Wiggly example shows how to animate a user control using timer and timer::tick event. In addition, the example demonstrates how to use graphics::measure_string to determine the size of text on screen.

Sources

  • src/wiggly.cpp
  • CMakeLists.txt

Build and run

Open "Command Prompt" or "Terminal". Navigate to the folder that contains the project and type the following:

xtdc run

Output

Windows :

Screenshot

Screenshot

macOS :

Screenshot

Screenshot

Gnome :

Screenshot

Screenshot

Contents

  1. 1Sources
  2. 2Build and run
  3. 3Output
  4. 3.1Windows :
  5. 3.2macOS :
  6. 3.3Gnome :