MCPcopy Create free account
hub / github.com/bsnes-emu/bsnes / windowProc

Method windowProc

hiro/windows/widget/button.cpp:76–95  ·  view source on GitHub ↗

BUTTON cannot draw borderless buttons on its own BS_OWNERDRAW will send WM_DRAWITEM; but will disable hot-tracking notifications to gain hot-tracking plus borderless buttons; BUTTON is superclassed and WM_PAINT is hijacked note: letting hiro paint bordered buttons will lose the fade animations on Vista+; however, it will allow placing icons immediately next to text (original forces icon left align

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 5

Button_CustomDrawFunction · 0.85
stateClass · 0.85
enabledMethod · 0.80
doActivateMethod · 0.45
fontMethod · 0.45

Tested by

no test coverage detected