From: luozheng <1732036298@qq.com> Date: Sat, 8 Nov 2025 08:34:41 +0000 (+0800) Subject: 272:闹钟,耳机界面,按钮颜色修改 X-Git-Tag: V1.0.9_20251128_194606_LN~97^2~1 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=cb46221cbcb87d202e54cf9beb188e7f93fc01e4;p=mirrors%2FFD230.git 272:闹钟,耳机界面,按钮颜色修改 --- diff --git a/code/sdk/application/wearable/fd272/nativeapp/nativeui/alarm/src/AlarmPresenter.cpp b/code/sdk/application/wearable/fd272/nativeapp/nativeui/alarm/src/AlarmPresenter.cpp index 5f1811420..8ca33aed9 100644 --- a/code/sdk/application/wearable/fd272/nativeapp/nativeui/alarm/src/AlarmPresenter.cpp +++ b/code/sdk/application/wearable/fd272/nativeapp/nativeui/alarm/src/AlarmPresenter.cpp @@ -449,7 +449,7 @@ bool AlarmPresenter::ClickFuncView(UIView &view) Color::GetColorFromRGB(0x19, 0x19, 0x19).full, UIButton::PRESSED); } else if (alarmWeek[num] == SELECT_DATA) { // 选中 WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "alarmWeek[num] = %u", alarmWeek[num]); - view.SetStyle(STYLE_BACKGROUND_COLOR, Color::GetColorFromRGB(0x4f, 0xc3, 0x4c).full); + view.SetStyle(STYLE_BACKGROUND_COLOR, Color::GetColorFromRGB(0x0d, 0x62, 0xff).full); dynamic_cast(view).SetStyleForState(STYLE_BACKGROUND_COLOR, Color::GetColorFromRGB(0x4f, 0xc3, 0x4c).full, UIButton::PRESSED); } diff --git a/code/sdk/application/wearable/fd272/nativeapp/nativeui/bluetooth/src/BluetoothDeviceListView.cpp b/code/sdk/application/wearable/fd272/nativeapp/nativeui/bluetooth/src/BluetoothDeviceListView.cpp index 799128ac3..22594461d 100644 --- a/code/sdk/application/wearable/fd272/nativeapp/nativeui/bluetooth/src/BluetoothDeviceListView.cpp +++ b/code/sdk/application/wearable/fd272/nativeapp/nativeui/bluetooth/src/BluetoothDeviceListView.cpp @@ -144,7 +144,7 @@ namespace OHOS newEquipmentButton->SetStyle(STYLE_BACKGROUND_COLOR, 0xffffffff); newEquipmentButton->SetStyle(STYLE_BACKGROUND_OPA, 0x00); // newEquipmentButton->SetImageSrc(PNG_466x100BUTTON_IMAGE, PNG_466x100BUTTON_IMAGE); - newEquipmentButton->SetTextColor(Color::GetColorFromRGBA(0x35, 0x49, 0xff, 0xff)); + newEquipmentButton->SetTextColor(Color::GetColorFromRGBA(0x0d, 0x62, 0xff, 0xff)); // newEquipmentButton->SetStyleForState(STYLE_BACKGROUND_OPA, 0x00, UIButton::PRESSED); newEquipmentButton->SetAlign(TEXT_ALIGNMENT_CENTER, TEXT_ALIGNMENT_CENTER); newEquipmentButton->SetFont(DEFAULT_VECTOR_FONT_FILENAME, 30); diff --git a/code/sdk/application/wearable/fd272/nativeapp/nativeui/bluetooth/src/BluetoothEarListView.cpp b/code/sdk/application/wearable/fd272/nativeapp/nativeui/bluetooth/src/BluetoothEarListView.cpp index e2137ac5e..3f4a3bc7f 100644 --- a/code/sdk/application/wearable/fd272/nativeapp/nativeui/bluetooth/src/BluetoothEarListView.cpp +++ b/code/sdk/application/wearable/fd272/nativeapp/nativeui/bluetooth/src/BluetoothEarListView.cpp @@ -188,7 +188,7 @@ namespace OHOS rescanButton->SetViewId(BLUETOOTH_RESCAN_BUTTON); rescanButton->SetStyle(STYLE_BACKGROUND_COLOR, 0xffffffff); rescanButton->SetStyle(STYLE_BACKGROUND_OPA, 0x00); - rescanButton->SetTextColor(Color::GetColorFromRGBA(0x35, 0x49, 0xff, 0xff)); + rescanButton->SetTextColor(Color::GetColorFromRGBA(0x0d, 0x62, 0xff, 0xff)); // rescanButton->SetStyleForState(STYLE_BACKGROUND_OPA, 0x00, UIButton::PRESSED); rescanButton->SetFont(DEFAULT_VECTOR_FONT_FILENAME, 30); rescanButton->SetAlign(TEXT_ALIGNMENT_CENTER, TEXT_ALIGNMENT_CENTER); diff --git a/code/sdk/application/wearable/fd272/nativeapp/nativeui/bluetooth/src/TipsFailMessageView.cpp b/code/sdk/application/wearable/fd272/nativeapp/nativeui/bluetooth/src/TipsFailMessageView.cpp index 6e037d100..4c2cf5311 100644 --- a/code/sdk/application/wearable/fd272/nativeapp/nativeui/bluetooth/src/TipsFailMessageView.cpp +++ b/code/sdk/application/wearable/fd272/nativeapp/nativeui/bluetooth/src/TipsFailMessageView.cpp @@ -150,7 +150,7 @@ namespace OHOS rescanButton->SetStyle(STYLE_BACKGROUND_OPA, 0x00); rescanButton->SetFont(DEFAULT_VECTOR_FONT_FILENAME, 30); rescanButton->SetViewId(BLUETOOTH_FAIL_BACK_BUTTON); - rescanButton->SetTextColor(Color::GetColorFromRGBA(0x35, 0x49, 0xff, 0xff)); + rescanButton->SetTextColor(Color::GetColorFromRGBA(0x0d, 0x62, 0xff, 0xff)); // rescanButton->SetStyleForState(STYLE_BACKGROUND_OPA, 0x00, UIButton::PRESSED); rescanButton->SetAlign(TEXT_ALIGNMENT_CENTER, TEXT_ALIGNMENT_CENTER); rescanButton->SetLineBreakMode(UILabel::LINE_BREAK_OSCILLATION);