(image interface{})
| 1852 | } |
| 1853 | |
| 1854 | func (tv *TableView) applyImageListForImage(image interface{}) { |
| 1855 | tv.hIml, tv.usingSysIml, _ = imageListForImage(image, tv.DPI()) |
| 1856 | |
| 1857 | tv.applyImageList() |
| 1858 | |
| 1859 | tv.imageUintptr2Index = make(map[uintptr]int32) |
| 1860 | tv.filePath2IconIndex = make(map[string]int32) |
| 1861 | } |
| 1862 | |
| 1863 | func (tv *TableView) applyImageList() { |
| 1864 | win.SendMessage(tv.hwndFrozenLV, win.LVM_SETIMAGELIST, win.LVSIL_SMALL, uintptr(tv.hIml)) |
no test coverage detected