(ps image.Point)
| 404 | } |
| 405 | |
| 406 | func (wg *windowGeometry) setPos(ps image.Point) { |
| 407 | wg.PX = ps.X |
| 408 | wg.PY = ps.Y |
| 409 | } |
| 410 | |
| 411 | // constrainGeom constrains geometry based on screen params |
| 412 | func (wg *windowGeometry) constrainGeom(sc *system.Screen) { |