From: luozheng <1732036298@qq.com> Date: Thu, 18 Jul 2024 09:09:17 +0000 (+0800) Subject: 指南针界面修改修改方向和度数居中 X-Git-Tag: release_V1.2.70_20241020_135402~793 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=435b931e7cf96a403cbadc2918f813af95195d7c;p=mirrors%2FFD230.git 指南针界面修改修改方向和度数居中 --- diff --git a/code/sdk/application/wearable/fd230app/nativeui/compass/src/CompassView.cpp b/code/sdk/application/wearable/fd230app/nativeui/compass/src/CompassView.cpp index 78a1a19cd..b28c82704 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/compass/src/CompassView.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/compass/src/CompassView.cpp @@ -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;