From cffbfe1242881a10629445f9d3c166c5bfd22e03 Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期一, 21 七月 2025 11:55:08 +0800
Subject: [PATCH] 1.调整信号分隔线
---
SourceCode/Bond/Servo/CPageLinkSignal.cpp | 4 ++--
.gitignore | 3 +++
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/.gitignore b/.gitignore
index 452ee3d..1630a76 100644
--- a/.gitignore
+++ b/.gitignore
@@ -55,3 +55,6 @@
SourceCode/Bond/x64/Debug/Master.dat
SourceCode/Bond/x64/Debug/Config/signals.csv
SourceCode/Bond/x64/Debug/Config/robot_offset.ini
+*.tlog
+*.pch
+SourceCode/Bond/EAPSimulator/x64/Debug/
diff --git a/SourceCode/Bond/Servo/CPageLinkSignal.cpp b/SourceCode/Bond/Servo/CPageLinkSignal.cpp
index 8c74b16..6be6563 100644
--- a/SourceCode/Bond/Servo/CPageLinkSignal.cpp
+++ b/SourceCode/Bond/Servo/CPageLinkSignal.cpp
@@ -139,8 +139,8 @@
CRect rcLine;
GetDlgItem(IDC_LINE1)->GetWindowRect(&rcLine);
- GetDlgItem(IDC_LINE1)->MoveWindow(BTN_Y, BTN_X + (BTN_WIDTH + marginx) * 8,
- rcLine.Width(), rcLine.Height());
+ GetDlgItem(IDC_LINE1)->MoveWindow(BTN_X + (BTN_WIDTH + marginx) * 8 - marginx / 2, BTN_Y,
+ rcLine.Width(), (BTN_WIDTH + marginy) * 7 + BTN_WIDTH);
for (int row = 0; row < 8; row++) {
y = BTN_Y + (BTN_WIDTH + marginy) * row;
--
Gitblit v1.9.3