指南针界面修改修改方向和度数居中
authorluozheng <1732036298@qq.com>
Thu, 18 Jul 2024 09:09:17 +0000 (17:09 +0800)
committerluozheng <1732036298@qq.com>
Thu, 18 Jul 2024 09:09:17 +0000 (17:09 +0800)
code/sdk/application/wearable/fd230app/nativeui/compass/src/CompassView.cpp

index 78a1a19..b28c827 100644 (file)
@@ -18,19 +18,19 @@ static constexpr int16_t POINT_CENTER_IMAGE_Y = 282;
 static constexpr int16_t TRIANGULATION_X = 221;
 static constexpr int16_t TRIANGULATION_Y = 0;
 
-static constexpr int16_t DIRECTIONLABEL_X = 168;
+static constexpr int16_t DIRECTIONLABEL_X = 83;
 static constexpr int16_t DIRECTIONLABEL_Y = 161;
-static constexpr int16_t DIRECTIONLABEL_TEXT_WIDTH = 130;
+static constexpr int16_t DIRECTIONLABEL_TEXT_WIDTH = 300;
 static constexpr int16_t DIRECTIONLABEL_TEXT_HEIGH = 76;
 static constexpr int16_t DIRECTIONLABEL_FONT_TEXT_SIZE = 65;
 static constexpr int16_t DIRECTIONLABEL_STYLE_LINE_HEIGHT = 76;
 
-static constexpr int16_t ANGLEDLABEL_X = 168;
+static constexpr int16_t ANGLEDLABEL_X = 83;
 static constexpr int16_t ANGLEDLABEL_Y = 240;
-static constexpr int16_t ANGLEDLABEL_TEXT_WIDTH = 194;
-static constexpr int16_t ANGLEDLABEL_TEXT_HEIGHT = 94;
-static constexpr int16_t ANGLEDLABEL_FONT_TEXT_SIZE = 80;
-static constexpr int16_t ANGLEDLABEL_STYLE_LINE_HEIGHT = 94;
+static constexpr int16_t ANGLEDLABEL_TEXT_WIDTH = 300;
+static constexpr int16_t ANGLEDLABEL_TEXT_HEIGHT = 76;
+static constexpr int16_t ANGLEDLABEL_FONT_TEXT_SIZE = 65;
+static constexpr int16_t ANGLEDLABEL_STYLE_LINE_HEIGHT = 76;
 
 static constexpr int16_t RANDOM_NUMBER_720 = 720;
 static constexpr int16_t RANDOM_NUMBER_360 = 360;