{
snprintf(buffer, sizeof(buffer), "%s%d.%s", basePath, i + 1, fileExtension);
imagePaths[i] = strdup(buffer);
- printf("imagePaths[%d]:%s\n", i, imagePaths[i]);
+ //printf("imagePaths[%d]:%s\n", i, imagePaths[i]);
}
return imagePaths;
}
}
return false; // 其他情况
}
-
+
void Digital_clockView::Initbackground()
{
// 初始化背景
delete sweepClock1animator_;
sweepClock1animator_ = nullptr;
}
+ backgroundAnimator->Stop();
delete container_;
container_ = nullptr;
}
"digits": {\r
"timeformat": "24format",\r
"digitsize": 60,\r
- "playformat":"textdisplay",\r
+ "playformat": "textdisplay",\r
"fontsize": 50,\r
"textdisplay": {\r
"coordinates": {\r
},\r
"heartrate": {},\r
"step": {},\r
- "backgroundimagesPath": "/user/res/clocks/KUMI/background.bin"\r
+ "background": {\r
+ "backgroundimagesPath": "/user/res/clocks/KUMI/background.bin"\r
+ }\r
}
\ No newline at end of file
"Dialtype": "digits",
"digitspath": "/user/res/clocks/flowerbud/",
"digits": {
- "playformat":"picturesdisplay",
+ "playformat": "picturesdisplay",
"timeformat": "24format",
"digitsize": 60,
"picturesdisplay": {
},
"heartrate": {},
"step": {},
- "backgroundimagesPath": "/user/res/clocks/flowerbud/background.bin"
+ "background": {
+ "backgroundimagesPath": "/user/res/clocks/flowerbud/background.bin"
+ }
}
\ No newline at end of file
"digitspath": "/user/res/clocks/maliao/",\r
"digits": {\r
"timeformat": "24format",\r
- "playformat":"picturesdisplay",\r
+ "playformat": "picturesdisplay",\r
"digitspath": "/user/res/clocks/maliao/",\r
"digitsize": 40,\r
"picturesdisplay": {\r
},\r
"heartrate": {},\r
"step": {},\r
- "backgroundimagesPath": "/user/res/clocks/maliao/background.bin"\r
+ "background": {\r
+ "backgroundimagesPath": "/user/res/clocks/maliao/background.bin"\r
+ }\r
}
\ No newline at end of file
"timeformat": "24format",\r
"playformat": "picturesdisplay",\r
"digitspath": "/user/res/clocks/maomao/",\r
- "digitsize": 56,\r
+ "digitsize": 52,\r
"picturesdisplay": {\r
"coordinates": {\r
"left": 112,\r
},\r
"heartrate": {},\r
"step": {},\r
- "backgroundimagesPath": "/user/res/clocks/momo/background.bin"\r
+ "background": {\r
+ "backgroundimagesPath": "/user/res/clocks/momo/background.bin"\r
+ }\r
}
\ No newline at end of file