Feat: Z button ROI region, sends COMMAND_SCREEN_ROI to restrict capture area

This commit is contained in:
yuanyuanxiang
2026-06-14 01:02:53 +02:00
parent 63ef75b7ce
commit eaa0cc6d0b
10 changed files with 142 additions and 17 deletions

View File

@@ -18,6 +18,7 @@ public:
void SetIconDrawFunc(IconDrawFunc fn) { m_fnDrawIcon = fn; }
void SetIsCloseButton(bool b) { m_bIsCloseButton = b; }
void SetActive(bool b) { m_bActive = b; Invalidate(FALSE); }
// --- Static icon draw functions ---
static void DrawIconExitFullscreen(CDC* pDC, const CRect& rc);
@@ -63,4 +64,5 @@ private:
bool m_bHover;
bool m_bIsCloseButton;
bool m_bTracking;
bool m_bActive;
};