增加运动结束GIF显示,GIF显示可参考TraingWinVIew.cpp
authorCaisking <3449750381@qq.com>
Wed, 20 Dec 2023 06:44:39 +0000 (14:44 +0800)
committerCaisking <3449750381@qq.com>
Wed, 20 Dec 2023 06:44:39 +0000 (14:44 +0800)
96 files changed:
Resource/res/Training/win/1.bin [new file with mode: 0644]
Resource/res/Training/win/10.bin [new file with mode: 0644]
Resource/res/Training/win/11.bin [new file with mode: 0644]
Resource/res/Training/win/12.bin [new file with mode: 0644]
Resource/res/Training/win/13.bin [new file with mode: 0644]
Resource/res/Training/win/14.bin [new file with mode: 0644]
Resource/res/Training/win/15.bin [new file with mode: 0644]
Resource/res/Training/win/16.bin [new file with mode: 0644]
Resource/res/Training/win/17.bin [new file with mode: 0644]
Resource/res/Training/win/18.bin [new file with mode: 0644]
Resource/res/Training/win/19.bin [new file with mode: 0644]
Resource/res/Training/win/2.bin [new file with mode: 0644]
Resource/res/Training/win/20.bin [new file with mode: 0644]
Resource/res/Training/win/21.bin [new file with mode: 0644]
Resource/res/Training/win/22.bin [new file with mode: 0644]
Resource/res/Training/win/23.bin [new file with mode: 0644]
Resource/res/Training/win/24.bin [new file with mode: 0644]
Resource/res/Training/win/25.bin [new file with mode: 0644]
Resource/res/Training/win/26.bin [new file with mode: 0644]
Resource/res/Training/win/27.bin [new file with mode: 0644]
Resource/res/Training/win/28.bin [new file with mode: 0644]
Resource/res/Training/win/29.bin [new file with mode: 0644]
Resource/res/Training/win/3.bin [new file with mode: 0644]
Resource/res/Training/win/30.bin [new file with mode: 0644]
Resource/res/Training/win/31.bin [new file with mode: 0644]
Resource/res/Training/win/32.bin [new file with mode: 0644]
Resource/res/Training/win/33.bin [new file with mode: 0644]
Resource/res/Training/win/34.bin [new file with mode: 0644]
Resource/res/Training/win/35.bin [new file with mode: 0644]
Resource/res/Training/win/36.bin [new file with mode: 0644]
Resource/res/Training/win/37.bin [new file with mode: 0644]
Resource/res/Training/win/38.bin [new file with mode: 0644]
Resource/res/Training/win/39.bin [new file with mode: 0644]
Resource/res/Training/win/4.bin [new file with mode: 0644]
Resource/res/Training/win/40.bin [new file with mode: 0644]
Resource/res/Training/win/41.bin [new file with mode: 0644]
Resource/res/Training/win/42.bin [new file with mode: 0644]
Resource/res/Training/win/43.bin [new file with mode: 0644]
Resource/res/Training/win/44.bin [new file with mode: 0644]
Resource/res/Training/win/45.bin [new file with mode: 0644]
Resource/res/Training/win/46.bin [new file with mode: 0644]
Resource/res/Training/win/47.bin [new file with mode: 0644]
Resource/res/Training/win/48.bin [new file with mode: 0644]
Resource/res/Training/win/49.bin [new file with mode: 0644]
Resource/res/Training/win/5.bin [new file with mode: 0644]
Resource/res/Training/win/50.bin [new file with mode: 0644]
Resource/res/Training/win/51.bin [new file with mode: 0644]
Resource/res/Training/win/52.bin [new file with mode: 0644]
Resource/res/Training/win/53.bin [new file with mode: 0644]
Resource/res/Training/win/54.bin [new file with mode: 0644]
Resource/res/Training/win/55.bin [new file with mode: 0644]
Resource/res/Training/win/56.bin [new file with mode: 0644]
Resource/res/Training/win/57.bin [new file with mode: 0644]
Resource/res/Training/win/58.bin [new file with mode: 0644]
Resource/res/Training/win/59.bin [new file with mode: 0644]
Resource/res/Training/win/6.bin [new file with mode: 0644]
Resource/res/Training/win/60.bin [new file with mode: 0644]
Resource/res/Training/win/61.bin [new file with mode: 0644]
Resource/res/Training/win/62.bin [new file with mode: 0644]
Resource/res/Training/win/63.bin [new file with mode: 0644]
Resource/res/Training/win/64.bin [new file with mode: 0644]
Resource/res/Training/win/65.bin [new file with mode: 0644]
Resource/res/Training/win/66.bin [new file with mode: 0644]
Resource/res/Training/win/67.bin [new file with mode: 0644]
Resource/res/Training/win/68.bin [new file with mode: 0644]
Resource/res/Training/win/69.bin [new file with mode: 0644]
Resource/res/Training/win/7.bin [new file with mode: 0644]
Resource/res/Training/win/70.bin [new file with mode: 0644]
Resource/res/Training/win/71.bin [new file with mode: 0644]
Resource/res/Training/win/72.bin [new file with mode: 0644]
Resource/res/Training/win/73.bin [new file with mode: 0644]
Resource/res/Training/win/74.bin [new file with mode: 0644]
Resource/res/Training/win/75.bin [new file with mode: 0644]
Resource/res/Training/win/76.bin [new file with mode: 0644]
Resource/res/Training/win/77.bin [new file with mode: 0644]
Resource/res/Training/win/78.bin [new file with mode: 0644]
Resource/res/Training/win/79.bin [new file with mode: 0644]
Resource/res/Training/win/8.bin [new file with mode: 0644]
Resource/res/Training/win/80.bin [new file with mode: 0644]
Resource/res/Training/win/81.bin [new file with mode: 0644]
Resource/res/Training/win/82.bin [new file with mode: 0644]
Resource/res/Training/win/83.bin [new file with mode: 0644]
Resource/res/Training/win/84.bin [new file with mode: 0644]
Resource/res/Training/win/85.bin [new file with mode: 0644]
Resource/res/Training/win/86.bin [new file with mode: 0644]
Resource/res/Training/win/87.bin [new file with mode: 0644]
Resource/res/Training/win/88.bin [new file with mode: 0644]
Resource/res/Training/win/89.bin [new file with mode: 0644]
Resource/res/Training/win/9.bin [new file with mode: 0644]
Resource/res/Training/win/90.bin [new file with mode: 0644]
Resource/res/Training/win/91.bin [new file with mode: 0644]
Resource/res/Training/win/92.bin [new file with mode: 0644]
Resource/res/Training/win/93.bin [new file with mode: 0644]
Resource/res/Training/win/94.bin [new file with mode: 0644]
code/sdk/application/wearable/nativeapp/nativeui/traing/include/TraingWinView.h
code/sdk/application/wearable/nativeapp/nativeui/traing/src/TraingWinView.cpp

diff --git a/Resource/res/Training/win/1.bin b/Resource/res/Training/win/1.bin
new file mode 100644 (file)
index 0000000..4ed2da9
Binary files /dev/null and b/Resource/res/Training/win/1.bin differ
diff --git a/Resource/res/Training/win/10.bin b/Resource/res/Training/win/10.bin
new file mode 100644 (file)
index 0000000..21c0746
Binary files /dev/null and b/Resource/res/Training/win/10.bin differ
diff --git a/Resource/res/Training/win/11.bin b/Resource/res/Training/win/11.bin
new file mode 100644 (file)
index 0000000..cf967b4
Binary files /dev/null and b/Resource/res/Training/win/11.bin differ
diff --git a/Resource/res/Training/win/12.bin b/Resource/res/Training/win/12.bin
new file mode 100644 (file)
index 0000000..4743d08
Binary files /dev/null and b/Resource/res/Training/win/12.bin differ
diff --git a/Resource/res/Training/win/13.bin b/Resource/res/Training/win/13.bin
new file mode 100644 (file)
index 0000000..3011f29
Binary files /dev/null and b/Resource/res/Training/win/13.bin differ
diff --git a/Resource/res/Training/win/14.bin b/Resource/res/Training/win/14.bin
new file mode 100644 (file)
index 0000000..6e48a12
Binary files /dev/null and b/Resource/res/Training/win/14.bin differ
diff --git a/Resource/res/Training/win/15.bin b/Resource/res/Training/win/15.bin
new file mode 100644 (file)
index 0000000..6472ae0
Binary files /dev/null and b/Resource/res/Training/win/15.bin differ
diff --git a/Resource/res/Training/win/16.bin b/Resource/res/Training/win/16.bin
new file mode 100644 (file)
index 0000000..f1354f3
Binary files /dev/null and b/Resource/res/Training/win/16.bin differ
diff --git a/Resource/res/Training/win/17.bin b/Resource/res/Training/win/17.bin
new file mode 100644 (file)
index 0000000..23f391e
Binary files /dev/null and b/Resource/res/Training/win/17.bin differ
diff --git a/Resource/res/Training/win/18.bin b/Resource/res/Training/win/18.bin
new file mode 100644 (file)
index 0000000..eb23179
Binary files /dev/null and b/Resource/res/Training/win/18.bin differ
diff --git a/Resource/res/Training/win/19.bin b/Resource/res/Training/win/19.bin
new file mode 100644 (file)
index 0000000..3365d64
Binary files /dev/null and b/Resource/res/Training/win/19.bin differ
diff --git a/Resource/res/Training/win/2.bin b/Resource/res/Training/win/2.bin
new file mode 100644 (file)
index 0000000..17779e6
Binary files /dev/null and b/Resource/res/Training/win/2.bin differ
diff --git a/Resource/res/Training/win/20.bin b/Resource/res/Training/win/20.bin
new file mode 100644 (file)
index 0000000..f8cab7b
Binary files /dev/null and b/Resource/res/Training/win/20.bin differ
diff --git a/Resource/res/Training/win/21.bin b/Resource/res/Training/win/21.bin
new file mode 100644 (file)
index 0000000..643935d
Binary files /dev/null and b/Resource/res/Training/win/21.bin differ
diff --git a/Resource/res/Training/win/22.bin b/Resource/res/Training/win/22.bin
new file mode 100644 (file)
index 0000000..8bfdfb3
Binary files /dev/null and b/Resource/res/Training/win/22.bin differ
diff --git a/Resource/res/Training/win/23.bin b/Resource/res/Training/win/23.bin
new file mode 100644 (file)
index 0000000..963e047
Binary files /dev/null and b/Resource/res/Training/win/23.bin differ
diff --git a/Resource/res/Training/win/24.bin b/Resource/res/Training/win/24.bin
new file mode 100644 (file)
index 0000000..5146370
Binary files /dev/null and b/Resource/res/Training/win/24.bin differ
diff --git a/Resource/res/Training/win/25.bin b/Resource/res/Training/win/25.bin
new file mode 100644 (file)
index 0000000..4a9354d
Binary files /dev/null and b/Resource/res/Training/win/25.bin differ
diff --git a/Resource/res/Training/win/26.bin b/Resource/res/Training/win/26.bin
new file mode 100644 (file)
index 0000000..3633c4d
Binary files /dev/null and b/Resource/res/Training/win/26.bin differ
diff --git a/Resource/res/Training/win/27.bin b/Resource/res/Training/win/27.bin
new file mode 100644 (file)
index 0000000..036f37a
Binary files /dev/null and b/Resource/res/Training/win/27.bin differ
diff --git a/Resource/res/Training/win/28.bin b/Resource/res/Training/win/28.bin
new file mode 100644 (file)
index 0000000..8178e69
Binary files /dev/null and b/Resource/res/Training/win/28.bin differ
diff --git a/Resource/res/Training/win/29.bin b/Resource/res/Training/win/29.bin
new file mode 100644 (file)
index 0000000..484c3d9
Binary files /dev/null and b/Resource/res/Training/win/29.bin differ
diff --git a/Resource/res/Training/win/3.bin b/Resource/res/Training/win/3.bin
new file mode 100644 (file)
index 0000000..b0572b8
Binary files /dev/null and b/Resource/res/Training/win/3.bin differ
diff --git a/Resource/res/Training/win/30.bin b/Resource/res/Training/win/30.bin
new file mode 100644 (file)
index 0000000..59de635
Binary files /dev/null and b/Resource/res/Training/win/30.bin differ
diff --git a/Resource/res/Training/win/31.bin b/Resource/res/Training/win/31.bin
new file mode 100644 (file)
index 0000000..a3205ff
Binary files /dev/null and b/Resource/res/Training/win/31.bin differ
diff --git a/Resource/res/Training/win/32.bin b/Resource/res/Training/win/32.bin
new file mode 100644 (file)
index 0000000..384f3d0
Binary files /dev/null and b/Resource/res/Training/win/32.bin differ
diff --git a/Resource/res/Training/win/33.bin b/Resource/res/Training/win/33.bin
new file mode 100644 (file)
index 0000000..3fd4268
Binary files /dev/null and b/Resource/res/Training/win/33.bin differ
diff --git a/Resource/res/Training/win/34.bin b/Resource/res/Training/win/34.bin
new file mode 100644 (file)
index 0000000..b031242
Binary files /dev/null and b/Resource/res/Training/win/34.bin differ
diff --git a/Resource/res/Training/win/35.bin b/Resource/res/Training/win/35.bin
new file mode 100644 (file)
index 0000000..6c39992
Binary files /dev/null and b/Resource/res/Training/win/35.bin differ
diff --git a/Resource/res/Training/win/36.bin b/Resource/res/Training/win/36.bin
new file mode 100644 (file)
index 0000000..b4c830b
Binary files /dev/null and b/Resource/res/Training/win/36.bin differ
diff --git a/Resource/res/Training/win/37.bin b/Resource/res/Training/win/37.bin
new file mode 100644 (file)
index 0000000..83ff3e2
Binary files /dev/null and b/Resource/res/Training/win/37.bin differ
diff --git a/Resource/res/Training/win/38.bin b/Resource/res/Training/win/38.bin
new file mode 100644 (file)
index 0000000..394020d
Binary files /dev/null and b/Resource/res/Training/win/38.bin differ
diff --git a/Resource/res/Training/win/39.bin b/Resource/res/Training/win/39.bin
new file mode 100644 (file)
index 0000000..e0b491b
Binary files /dev/null and b/Resource/res/Training/win/39.bin differ
diff --git a/Resource/res/Training/win/4.bin b/Resource/res/Training/win/4.bin
new file mode 100644 (file)
index 0000000..ad317f7
Binary files /dev/null and b/Resource/res/Training/win/4.bin differ
diff --git a/Resource/res/Training/win/40.bin b/Resource/res/Training/win/40.bin
new file mode 100644 (file)
index 0000000..f2159ee
Binary files /dev/null and b/Resource/res/Training/win/40.bin differ
diff --git a/Resource/res/Training/win/41.bin b/Resource/res/Training/win/41.bin
new file mode 100644 (file)
index 0000000..ad258b6
Binary files /dev/null and b/Resource/res/Training/win/41.bin differ
diff --git a/Resource/res/Training/win/42.bin b/Resource/res/Training/win/42.bin
new file mode 100644 (file)
index 0000000..b733398
Binary files /dev/null and b/Resource/res/Training/win/42.bin differ
diff --git a/Resource/res/Training/win/43.bin b/Resource/res/Training/win/43.bin
new file mode 100644 (file)
index 0000000..d84af3f
Binary files /dev/null and b/Resource/res/Training/win/43.bin differ
diff --git a/Resource/res/Training/win/44.bin b/Resource/res/Training/win/44.bin
new file mode 100644 (file)
index 0000000..65291fb
Binary files /dev/null and b/Resource/res/Training/win/44.bin differ
diff --git a/Resource/res/Training/win/45.bin b/Resource/res/Training/win/45.bin
new file mode 100644 (file)
index 0000000..b3ce235
Binary files /dev/null and b/Resource/res/Training/win/45.bin differ
diff --git a/Resource/res/Training/win/46.bin b/Resource/res/Training/win/46.bin
new file mode 100644 (file)
index 0000000..c42cede
Binary files /dev/null and b/Resource/res/Training/win/46.bin differ
diff --git a/Resource/res/Training/win/47.bin b/Resource/res/Training/win/47.bin
new file mode 100644 (file)
index 0000000..2bc3f10
Binary files /dev/null and b/Resource/res/Training/win/47.bin differ
diff --git a/Resource/res/Training/win/48.bin b/Resource/res/Training/win/48.bin
new file mode 100644 (file)
index 0000000..37cf3a5
Binary files /dev/null and b/Resource/res/Training/win/48.bin differ
diff --git a/Resource/res/Training/win/49.bin b/Resource/res/Training/win/49.bin
new file mode 100644 (file)
index 0000000..01518ec
Binary files /dev/null and b/Resource/res/Training/win/49.bin differ
diff --git a/Resource/res/Training/win/5.bin b/Resource/res/Training/win/5.bin
new file mode 100644 (file)
index 0000000..f966e5e
Binary files /dev/null and b/Resource/res/Training/win/5.bin differ
diff --git a/Resource/res/Training/win/50.bin b/Resource/res/Training/win/50.bin
new file mode 100644 (file)
index 0000000..6e05234
Binary files /dev/null and b/Resource/res/Training/win/50.bin differ
diff --git a/Resource/res/Training/win/51.bin b/Resource/res/Training/win/51.bin
new file mode 100644 (file)
index 0000000..50958ac
Binary files /dev/null and b/Resource/res/Training/win/51.bin differ
diff --git a/Resource/res/Training/win/52.bin b/Resource/res/Training/win/52.bin
new file mode 100644 (file)
index 0000000..440a146
Binary files /dev/null and b/Resource/res/Training/win/52.bin differ
diff --git a/Resource/res/Training/win/53.bin b/Resource/res/Training/win/53.bin
new file mode 100644 (file)
index 0000000..5c07ed6
Binary files /dev/null and b/Resource/res/Training/win/53.bin differ
diff --git a/Resource/res/Training/win/54.bin b/Resource/res/Training/win/54.bin
new file mode 100644 (file)
index 0000000..2051ad9
Binary files /dev/null and b/Resource/res/Training/win/54.bin differ
diff --git a/Resource/res/Training/win/55.bin b/Resource/res/Training/win/55.bin
new file mode 100644 (file)
index 0000000..8a222c7
Binary files /dev/null and b/Resource/res/Training/win/55.bin differ
diff --git a/Resource/res/Training/win/56.bin b/Resource/res/Training/win/56.bin
new file mode 100644 (file)
index 0000000..409735f
Binary files /dev/null and b/Resource/res/Training/win/56.bin differ
diff --git a/Resource/res/Training/win/57.bin b/Resource/res/Training/win/57.bin
new file mode 100644 (file)
index 0000000..c04c430
Binary files /dev/null and b/Resource/res/Training/win/57.bin differ
diff --git a/Resource/res/Training/win/58.bin b/Resource/res/Training/win/58.bin
new file mode 100644 (file)
index 0000000..9345079
Binary files /dev/null and b/Resource/res/Training/win/58.bin differ
diff --git a/Resource/res/Training/win/59.bin b/Resource/res/Training/win/59.bin
new file mode 100644 (file)
index 0000000..7985c9f
Binary files /dev/null and b/Resource/res/Training/win/59.bin differ
diff --git a/Resource/res/Training/win/6.bin b/Resource/res/Training/win/6.bin
new file mode 100644 (file)
index 0000000..baa022f
Binary files /dev/null and b/Resource/res/Training/win/6.bin differ
diff --git a/Resource/res/Training/win/60.bin b/Resource/res/Training/win/60.bin
new file mode 100644 (file)
index 0000000..6a214be
Binary files /dev/null and b/Resource/res/Training/win/60.bin differ
diff --git a/Resource/res/Training/win/61.bin b/Resource/res/Training/win/61.bin
new file mode 100644 (file)
index 0000000..9bef293
Binary files /dev/null and b/Resource/res/Training/win/61.bin differ
diff --git a/Resource/res/Training/win/62.bin b/Resource/res/Training/win/62.bin
new file mode 100644 (file)
index 0000000..8820c11
Binary files /dev/null and b/Resource/res/Training/win/62.bin differ
diff --git a/Resource/res/Training/win/63.bin b/Resource/res/Training/win/63.bin
new file mode 100644 (file)
index 0000000..850f763
Binary files /dev/null and b/Resource/res/Training/win/63.bin differ
diff --git a/Resource/res/Training/win/64.bin b/Resource/res/Training/win/64.bin
new file mode 100644 (file)
index 0000000..4c178f1
Binary files /dev/null and b/Resource/res/Training/win/64.bin differ
diff --git a/Resource/res/Training/win/65.bin b/Resource/res/Training/win/65.bin
new file mode 100644 (file)
index 0000000..9ad9748
Binary files /dev/null and b/Resource/res/Training/win/65.bin differ
diff --git a/Resource/res/Training/win/66.bin b/Resource/res/Training/win/66.bin
new file mode 100644 (file)
index 0000000..7fa61e9
Binary files /dev/null and b/Resource/res/Training/win/66.bin differ
diff --git a/Resource/res/Training/win/67.bin b/Resource/res/Training/win/67.bin
new file mode 100644 (file)
index 0000000..cb3f9b0
Binary files /dev/null and b/Resource/res/Training/win/67.bin differ
diff --git a/Resource/res/Training/win/68.bin b/Resource/res/Training/win/68.bin
new file mode 100644 (file)
index 0000000..f709637
Binary files /dev/null and b/Resource/res/Training/win/68.bin differ
diff --git a/Resource/res/Training/win/69.bin b/Resource/res/Training/win/69.bin
new file mode 100644 (file)
index 0000000..ef9b430
Binary files /dev/null and b/Resource/res/Training/win/69.bin differ
diff --git a/Resource/res/Training/win/7.bin b/Resource/res/Training/win/7.bin
new file mode 100644 (file)
index 0000000..4c63fe9
Binary files /dev/null and b/Resource/res/Training/win/7.bin differ
diff --git a/Resource/res/Training/win/70.bin b/Resource/res/Training/win/70.bin
new file mode 100644 (file)
index 0000000..66c4784
Binary files /dev/null and b/Resource/res/Training/win/70.bin differ
diff --git a/Resource/res/Training/win/71.bin b/Resource/res/Training/win/71.bin
new file mode 100644 (file)
index 0000000..103fc4b
Binary files /dev/null and b/Resource/res/Training/win/71.bin differ
diff --git a/Resource/res/Training/win/72.bin b/Resource/res/Training/win/72.bin
new file mode 100644 (file)
index 0000000..8513e1e
Binary files /dev/null and b/Resource/res/Training/win/72.bin differ
diff --git a/Resource/res/Training/win/73.bin b/Resource/res/Training/win/73.bin
new file mode 100644 (file)
index 0000000..d08f6a3
Binary files /dev/null and b/Resource/res/Training/win/73.bin differ
diff --git a/Resource/res/Training/win/74.bin b/Resource/res/Training/win/74.bin
new file mode 100644 (file)
index 0000000..9947f68
Binary files /dev/null and b/Resource/res/Training/win/74.bin differ
diff --git a/Resource/res/Training/win/75.bin b/Resource/res/Training/win/75.bin
new file mode 100644 (file)
index 0000000..2023be8
Binary files /dev/null and b/Resource/res/Training/win/75.bin differ
diff --git a/Resource/res/Training/win/76.bin b/Resource/res/Training/win/76.bin
new file mode 100644 (file)
index 0000000..2562e23
Binary files /dev/null and b/Resource/res/Training/win/76.bin differ
diff --git a/Resource/res/Training/win/77.bin b/Resource/res/Training/win/77.bin
new file mode 100644 (file)
index 0000000..f25d256
Binary files /dev/null and b/Resource/res/Training/win/77.bin differ
diff --git a/Resource/res/Training/win/78.bin b/Resource/res/Training/win/78.bin
new file mode 100644 (file)
index 0000000..f45defc
Binary files /dev/null and b/Resource/res/Training/win/78.bin differ
diff --git a/Resource/res/Training/win/79.bin b/Resource/res/Training/win/79.bin
new file mode 100644 (file)
index 0000000..f090976
Binary files /dev/null and b/Resource/res/Training/win/79.bin differ
diff --git a/Resource/res/Training/win/8.bin b/Resource/res/Training/win/8.bin
new file mode 100644 (file)
index 0000000..24f99dc
Binary files /dev/null and b/Resource/res/Training/win/8.bin differ
diff --git a/Resource/res/Training/win/80.bin b/Resource/res/Training/win/80.bin
new file mode 100644 (file)
index 0000000..e1048d5
Binary files /dev/null and b/Resource/res/Training/win/80.bin differ
diff --git a/Resource/res/Training/win/81.bin b/Resource/res/Training/win/81.bin
new file mode 100644 (file)
index 0000000..4314516
Binary files /dev/null and b/Resource/res/Training/win/81.bin differ
diff --git a/Resource/res/Training/win/82.bin b/Resource/res/Training/win/82.bin
new file mode 100644 (file)
index 0000000..aff7943
Binary files /dev/null and b/Resource/res/Training/win/82.bin differ
diff --git a/Resource/res/Training/win/83.bin b/Resource/res/Training/win/83.bin
new file mode 100644 (file)
index 0000000..03a7625
Binary files /dev/null and b/Resource/res/Training/win/83.bin differ
diff --git a/Resource/res/Training/win/84.bin b/Resource/res/Training/win/84.bin
new file mode 100644 (file)
index 0000000..0ad2148
Binary files /dev/null and b/Resource/res/Training/win/84.bin differ
diff --git a/Resource/res/Training/win/85.bin b/Resource/res/Training/win/85.bin
new file mode 100644 (file)
index 0000000..c0f6202
Binary files /dev/null and b/Resource/res/Training/win/85.bin differ
diff --git a/Resource/res/Training/win/86.bin b/Resource/res/Training/win/86.bin
new file mode 100644 (file)
index 0000000..31e9173
Binary files /dev/null and b/Resource/res/Training/win/86.bin differ
diff --git a/Resource/res/Training/win/87.bin b/Resource/res/Training/win/87.bin
new file mode 100644 (file)
index 0000000..719699b
Binary files /dev/null and b/Resource/res/Training/win/87.bin differ
diff --git a/Resource/res/Training/win/88.bin b/Resource/res/Training/win/88.bin
new file mode 100644 (file)
index 0000000..9b69168
Binary files /dev/null and b/Resource/res/Training/win/88.bin differ
diff --git a/Resource/res/Training/win/89.bin b/Resource/res/Training/win/89.bin
new file mode 100644 (file)
index 0000000..08e68b6
Binary files /dev/null and b/Resource/res/Training/win/89.bin differ
diff --git a/Resource/res/Training/win/9.bin b/Resource/res/Training/win/9.bin
new file mode 100644 (file)
index 0000000..9be948f
Binary files /dev/null and b/Resource/res/Training/win/9.bin differ
diff --git a/Resource/res/Training/win/90.bin b/Resource/res/Training/win/90.bin
new file mode 100644 (file)
index 0000000..3fae73c
Binary files /dev/null and b/Resource/res/Training/win/90.bin differ
diff --git a/Resource/res/Training/win/91.bin b/Resource/res/Training/win/91.bin
new file mode 100644 (file)
index 0000000..a03d7b8
Binary files /dev/null and b/Resource/res/Training/win/91.bin differ
diff --git a/Resource/res/Training/win/92.bin b/Resource/res/Training/win/92.bin
new file mode 100644 (file)
index 0000000..895d9eb
Binary files /dev/null and b/Resource/res/Training/win/92.bin differ
diff --git a/Resource/res/Training/win/93.bin b/Resource/res/Training/win/93.bin
new file mode 100644 (file)
index 0000000..ba97a71
Binary files /dev/null and b/Resource/res/Training/win/93.bin differ
diff --git a/Resource/res/Training/win/94.bin b/Resource/res/Training/win/94.bin
new file mode 100644 (file)
index 0000000..6b37891
Binary files /dev/null and b/Resource/res/Training/win/94.bin differ
index f832ed1..9f8d8a5 100644 (file)
@@ -37,6 +37,8 @@ namespace OHOS
         void OnStop() override;
         void InitView();
         void DeInit();
+
+        void InitImageAnimatorSource(UIImageAnimatorView *&imageAnimator, const char **imagePaths, int numFrames, int left, int top, int width, int height, const char *viewId);
         void InitLabel(UILabel *&label, int left, int top, int width, int height, const char *viewId, const char *text, const char *fontName, int fontSize);
         void InitButton(UIButton *&button, int left, int top, int width, int height, const char *viewId);
         void InitImageView(UIImageView *&imageView, int left, int top, int width, int height, const char *viewId, const char *imagePath);
@@ -54,7 +56,9 @@ namespace OHOS
         UILabel *label4_ = nullptr;
         UIButton *button1_ = nullptr;
         UIImageView *image1_ = nullptr;
+        UIImageAnimatorView *imageAnimator;
         bool viewiInitStatus{false};
     };
+
 } // namespace OHOS
 #endif // TraingWin_PRESENTER_H
index b1cf909..56cedb7 100644 (file)
@@ -6,11 +6,11 @@
 #include "ui_resource_image.h"
 #include <ui_scroll_view.h>
 #include "components/ui_button.h"
+
 namespace OHOS
 {
     static const char *imagePath_win = "/user/res/Training/win.bin";
     static TraingWinView *g_pTraingWinView{nullptr};
-
     TraingWinView::TraingWinView()
     {
         g_pTraingWinView = this;
@@ -21,23 +21,56 @@ namespace OHOS
         DeInit();
         g_pTraingWinView = nullptr;
     }
-
     TraingWinView *TraingWinView::GetInstance()
     {
 
         return g_pTraingWinView;
     }
-    /*
-    InitLabel:初始化标签
-    @param label 标签指针
-    @param left 标签左边位置
-    @param top 标签顶部位置
-    @param width 标签宽度
-    @param height 标签高度
-    @param viewId 标签的视图 ID
-    @param text 标签显示的文本
-    @param fontName 字体名称
-    @param fontSize 字体大小
+
+    /**
+     * 创建包含图片文件路径的数组
+     * @param  basePath  包含图片文件的基本路径
+     * @param  fileExtension  图片文件的扩展名
+     * @param  numImages  图片文件的数量
+     * @return  返回包含图片文件路径的数组
+     */
+    const char **CreateImagePathsArray(const char *basePath, const char *fileExtension, int numImages)
+    {
+        const char **imagePaths = new const char *[numImages];
+        char buffer[256];
+        for (int i = 0; i < numImages; i++)
+        {
+            snprintf(buffer, sizeof(buffer), "%s/%d.%s", basePath, i + 1, fileExtension);
+            imagePaths[i] = strdup(buffer);
+        }
+        return imagePaths;
+    }
+
+    /**
+     * 释放图片文件路径数组占用的内存
+     * @param  imagePaths  图片文件路径数组
+     * @param  numImages  图片文件的数量
+     */
+    void FreeImagePathsArray(const char **imagePaths, int numImages)
+    {
+        for (int i = 0; i < numImages; i++)
+        {
+            free((void *)imagePaths[i]);
+        }
+        delete[] imagePaths;
+    }
+    /**************************************************/
+    /**
+        InitLabel:初始化标签
+        @param label 标签指针
+        @param left 标签左边位置
+        @param top 标签顶部位置
+        @param width 标签宽度
+        @param height 标签高度
+        @param viewId 标签的视图 ID
+        @param text 标签显示的文本
+        @param fontName 字体名称
+        @param fontSize 字体大小
     */
     void TraingWinView::InitLabel(UILabel *&label, int left, int top, int width, int height, const char *viewId, const char *text, const char *fontName, int fontSize)
     {
@@ -62,14 +95,14 @@ namespace OHOS
         // 设置标签可见
         label->SetVisible(true);
     }
-    /*
-    InitButton:初始化按钮
-    @param button 按钮指针
-    @param left 按钮左边位置
-    @param top 按钮顶部位置
-    @param width 按钮宽度
-    @param height 按钮高度
-    @param viewId 按钮的视图 ID
+    /**
+        InitButton:初始化按钮
+        @param button 按钮指针
+        @param left 按钮左边位置
+        @param top 按钮顶部位置
+        @param width 按钮宽度
+        @param height 按钮高度
+        @param viewId 按钮的视图 ID
     */
     void TraingWinView::InitButton(UIButton *&button, int left, int top, int width, int height, const char *viewId)
     {
@@ -93,16 +126,17 @@ namespace OHOS
         // 设置按钮可见
         button->SetVisible(true);
     }
-    /*
-    InitImageView:初始化图片
-    @param imageView 图片指针
-    @param left 图片左边位置
-    @param top 图片顶部位置
-    @param width 图片宽度
-    @param height 图片高度
-    @param viewId 图片的视图 ID
-    @param imagePath 图片路径
-    */
+
+    /**
+     * 初始化图片视图
+     * @param imageView  图片视图指针
+     * @param left  图片左边位置
+     * @param top  图片顶部位置
+     * @param width  图片宽度
+     * @param height  图片高度
+     * @param viewId  图片的视图 ID
+     * @param imagePath  图片路径
+     */
     void TraingWinView::InitImageView(UIImageView *&imageView, int left, int top, int width, int height, const char *viewId, const char *imagePath)
     {
         if (imageView == nullptr)
@@ -116,6 +150,50 @@ namespace OHOS
         imageView->SetVisible(true);
     }
 
+    /**
+     * @brief 初始化UIImageAnimatorView,并设置为GIF动画。
+     *
+     * 该函数用于使用提供的GIF图像和属性初始化UIImageAnimatorView。
+     *
+     * @param imageAnimator 要初始化的UIImageAnimatorView对象的引用。
+     * @param paths GIF图像文件路径的数组。
+     * @param numFrames GIF中的帧数。
+     * @param left 视图的左侧位置。
+     * @param top 视图的顶部位置。
+     * @param width 视图的宽度。
+     * @param height 视图的高度。
+     * @param viewId 视图的ID。
+     * @return 如果初始化成功则返回true,否则返回false。
+     */
+    void TraingWinView::InitImageAnimatorSource(UIImageAnimatorView *&imageAnimator, const char **imagePaths, int numFrames, int left, int top, int width, int height, const char *viewId)
+    {
+        if (imageAnimator == nullptr)
+        {
+            imageAnimator = new UIImageAnimatorView();
+        }
+        imageAnimator->SetPosition(left, top);
+        imageAnimator->Resize(width, height);
+        imageAnimator->SetViewId(viewId);
+        imageAnimator->SetStyle(STYLE_BACKGROUND_COLOR, 0xffffffff);
+        imageAnimator->SetStyle(STYLE_BACKGROUND_OPA, 0xff);
+
+        ImageAnimatorInfo *imageAnimatorInfo = new ImageAnimatorInfo[numFrames];
+        for (int i = 0; i < numFrames; i++)
+        {
+            imageAnimatorInfo[i].imagePath = imagePaths[i];
+            imageAnimatorInfo[i].pos.x = left;
+            imageAnimatorInfo[i].pos.y = top;
+            imageAnimatorInfo[i].width = width;
+            imageAnimatorInfo[i].height = height;
+            imageAnimatorInfo[i].imageType = IMG_SRC_FILE_PATH;
+        }
+
+        imageAnimator->SetImageAnimatorSrc(imageAnimatorInfo, numFrames, 10); // 200 is the default delay time
+        imageAnimator->SetTimeOfPause(10);
+        imageAnimator->SetRepeatTimes(1);
+        imageAnimator->SetReverse(true);
+        imageAnimator->SetVisible(true);
+    }
     /* InitView:初始化界面*/
     void TraingWinView ::InitView()
     {
@@ -138,9 +216,19 @@ namespace OHOS
         label4_->SetTextColor(Color::GetColorFromRGBA(0xff, 0xff, 0xff, 0x7f));
         container_->Add(label4_);
 
-        // 初始化image
-        InitImageView(image1_, 173, 100, 120, 120, "image1", imagePath_win);
-        container_->Add(image1_);
+        /*
+             初始化image
+             InitImageView(image1_, 173, 100, 120, 120, "image1", imagePath_win);
+             container_->Add(image1_);
+        */
+
+        // 初始化图片数组
+        const char *basePath = "/user/res/Training/win/";
+        const char *fileExtension = "bin";
+        const char **imagePaths = CreateImagePathsArray(basePath, fileExtension, 94);
+        InitImageAnimatorSource(imageAnimator, imagePaths, 94, 173, 100, 120, 120, "imageAnimator1");
+        container_->Add(imageAnimator);
+        //FreeImagePathsArray(imagePaths, 94);    //删除数组,释放内存
 
         // 初始化Button
         InitButton(button1_, 0, 366, 466, 100, BUTTONOK);
@@ -150,6 +238,7 @@ namespace OHOS
         button1_->SetImageSrc(button1defaultImgSrc, button1triggeredImgSrc);
         container_->Add(button1_);
     }
+
     /* DeInit:删除组件*/
     void TraingWinView::DeInit()
     {
@@ -173,6 +262,7 @@ namespace OHOS
         if (!viewiInitStatus)
         {
             InitView();
+            imageAnimator->Start();
             viewiInitStatus = true;
         }
     }
@@ -219,6 +309,7 @@ namespace OHOS
     void TraingWinView::OnStop()
     {
         View<TraingWinPresenter>::OnStop();
+        imageAnimator->Stop();
         RootView::GetInstance()->RemoveAll();
         return;
     }