SourceCode/Bond/Servo/ServoGraph.cpp
@@ -627,3 +627,21 @@ SendMessage(m_hWndTooltip, TTM_ADDTOOL, 0, (LPARAM)(LPTOOLINFO)&tti); } } void CServoGraph::UpdateImageCoordinates(int id, int newX, int newY) { IMAGE* pImage = GetImage(id); if (pImage != nullptr) { pImage->x = newX; pImage->y = newY; } } void CServoGraph::UpdateIndicateBoxCoordinates(int id, int newX, int newY) { INDICATEBOX* pIndicateBox = GetIndicateBox(id); if (pIndicateBox != nullptr) { pIndicateBox->x = newX; pIndicateBox->y = newY; } }