(r win.RECT)
| 21 | } |
| 22 | |
| 23 | func rectangleFromRECT(r win.RECT) Rectangle { |
| 24 | return Rectangle{ |
| 25 | X: int(r.Left), |
| 26 | Y: int(r.Top), |
| 27 | Width: int(r.Right - r.Left), |
| 28 | Height: int(r.Bottom - r.Top), |
| 29 | } |
| 30 | } |
| 31 | |
| 32 | func (r Rectangle) Left() int { |
| 33 | return r.X |
no outgoing calls
no test coverage detected
searching dependent graphs…