From 9ea5eea16629a2ab4473727e6b064f83f71aa46c Mon Sep 17 00:00:00 2001 From: LAPTOP-T815PCOQ\25526 <mr.liuyang@126.com> Date: 星期一, 13 一月 2025 09:43:58 +0800 Subject: [PATCH] Merge branch 'clh' into liuyang --- SourceCode/Bond/BoounionPLC/Common.h | 15 +++++++-------- 1 files changed, 7 insertions(+), 8 deletions(-) diff --git a/SourceCode/Bond/BoounionPLC/Common.h b/SourceCode/Bond/BoounionPLC/Common.h index da71696..6ef354a 100644 --- a/SourceCode/Bond/BoounionPLC/Common.h +++ b/SourceCode/Bond/BoounionPLC/Common.h @@ -1,5 +1,5 @@ -#ifndef COMMON_H -#define COMMON_H +#pragma once + /* Rx Code */ #define RX_CODE_TEST 0 @@ -80,9 +80,10 @@ #define BTN_OPR_FRAME_NORMAL RGB(88, 88, 88) #define BTN_OPR_FRAME_HOVER RGB(88, 88, 88) #define BTN_OPR_FRAME_PRESS RGB(88, 88, 88) -#define BTN_OPR_BKGND_NORMAL RGB(222, 222, 222) -#define BTN_OPR_BKGND_HOVER RGB(208, 208, 222) -#define BTN_OPR_BKGND_PRESS RGB(0, 232, 0) +#define BTN_OPR_BKGND_NORMAL RGB(0, 168, 0) +#define BTN_OPR_BKGND_HOVER RGB(255, 160, 64) +#define BTN_OPR_BKGND_PRESS RGB(250, 155, 60) +#define BTN_OPR_BKGND_TEST RGB(0, 255, 0) /* 定位按钮 */ #define BTN_POINT_FRAME_NORMAL RGB(88, 88, 88) @@ -124,6 +125,4 @@ /* 监控数据id */ -#define MONITOR_ID_ALARM 1001 - -#endif // COMMON_H \ No newline at end of file +#define MONITOR_ID_ALARM 1001 \ No newline at end of file -- Gitblit v1.9.3