MCPcopy Index your code
hub / github.com/lxn/walk / ApplyDPI

Method ApplyDPI

button.go:71–75  ·  view source on GitHub ↗
(dpi int)

Source from the content-addressed store, hash-verified

69}
70
71func (b *Button) ApplyDPI(dpi int) {
72 b.WidgetBase.ApplyDPI(dpi)
73
74 b.SetImage(b.image)
75}
76
77func (b *Button) Image() Image {
78 return b.image

Callers

nothing calls this directly

Calls 2

SetImageMethod · 0.95
ApplyDPIMethod · 0.65

Tested by

no test coverage detected