From 829fe6c6bc33d53fda9c31fd45a37e1df87befff Mon Sep 17 00:00:00 2001
From: mrDarker <mr.darker@163.com>
Date: 星期五, 30 一月 2026 11:16:24 +0800
Subject: [PATCH] Merge branch 'clh' into liuyang

---
 SourceCode/Bond/Servo/HmLabel.h |   33 +++++++++++++++++++++++++++++++++
 1 files changed, 33 insertions(+), 0 deletions(-)

diff --git a/SourceCode/Bond/Servo/HmLabel.h b/SourceCode/Bond/Servo/HmLabel.h
new file mode 100644
index 0000000..d7623e1
--- /dev/null
+++ b/SourceCode/Bond/Servo/HmLabel.h
@@ -0,0 +1,33 @@
+#pragma once
+class CHmLabel : public CStatic
+{
+public:
+	CHmLabel();
+	~CHmLabel();
+
+public:
+	void setText(CString strText);
+	void setNote1(CString strNote1);
+	void setFontSize(int size);
+	void setNoteFontSize(int size);
+	void setBackground(COLORREF color, BOOL bInvalidate = FALSE);
+	void setForeground(COLORREF color, BOOL bInvalidate = FALSE);
+	void setNoteTextColor(COLORREF color, BOOL bInvalidate = FALSE);
+
+private:
+	COLORREF m_crFrame;
+	COLORREF m_crBackground;
+	COLORREF m_crForeground;
+	COLORREF m_crNote;
+	HFONT m_hFont;
+	HFONT m_hFontNote;
+
+private:
+	CString m_strNote1;
+
+public:
+	DECLARE_MESSAGE_MAP()
+	afx_msg void OnPaint();
+	afx_msg void OnNcPaint();
+};
+

--
Gitblit v1.9.3