1
0
mirror of https://github.com/fumiama/CMoe-Counter.git synced 2026-06-28 16:00:32 +08:00

优化显示长度

This commit is contained in:
源文雨
2022-03-02 17:50:33 +08:00
parent 0bc9d3d478
commit 8521110a78
2 changed files with 6 additions and 5 deletions

4
cmoe.h
View File

@@ -40,12 +40,12 @@ const uint16_t gbhl[] = {1550, 1702, 1870, 1778, 1618, 2370, 1830, 2234, 1914, 1
#define H_BIG 150
const char svg_small[] =
"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"450\" height=\"100\" version=\"1.1\">\n"
"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"%d\" height=\"100\" version=\"1.1\">\n"
" <title>Moe Count</title>\n"
" <g>\n"
" \n";
const char svg_big[] =
"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"680\" height=\"150\" version=\"1.1\">\n"
"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"%d\" height=\"150\" version=\"1.1\">\n"
" <title>Moe Count</title>\n"
" <g>\n"
" \n";