From e15e0d2f9305e71cd160f1ddceab93c7889eab20 Mon Sep 17 00:00:00 2001 From: mrDarker <mr.darker@163.com> Date: 星期四, 05 六月 2025 17:37:33 +0800 Subject: [PATCH] 1. 解决自定义按钮资源泄露问题 2. 增加Slot点击回调和鼠标悬停/点击高亮效果 --- SourceCode/Bond/Servo/CGlass.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/SourceCode/Bond/Servo/CGlass.h b/SourceCode/Bond/Servo/CGlass.h index be44aaa..1235c8e 100644 --- a/SourceCode/Bond/Servo/CGlass.h +++ b/SourceCode/Bond/Servo/CGlass.h @@ -26,6 +26,7 @@ std::string& getID(); CPath* getPathWithSiteID(unsigned int nSiteId); CPath* getPath(); + CPath* getPathWithSiteId(unsigned int nSiteId); void addPath(unsigned int nSiteId); void serialize(CArchive& ar); void setJobDataB(CJobDataB* pJobDataB); @@ -35,6 +36,8 @@ BOOL setBuddy(CGlass* pGlass); CGlass* getBuddy(); std::string& getBuddyId(); + void processEnd(unsigned int nSiteId); + BOOL isProcessed(unsigned int nSiteId); private: MaterialsType m_type; -- Gitblit v1.9.3