MCPcopy Create free account
hub / github.com/DiscordMessenger/dm / CheckClickButton

Method CheckClickButton

src/windows/GuildHeader.cpp:248–257  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

246}
247
248void GuildHeader::CheckClickButton(HDC hdc, Button& button, POINT& pt)
249{
250 bool hit = PtInRect(&button.m_rect, pt);
251
252 if (button.m_held != hit || button.m_hot) {
253 button.m_held = hit;
254 button.m_hot = false;
255 DrawButton(hdc, button);
256 }
257}
258
259void GuildHeader::CheckReleaseButton(HDC hdc, HWND hWnd, Button& button, int buttonIndex, POINT& pt)
260{

Callers 1

WndProcMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected