1 2 3 4 5 6 7 8 9 10
package render type WindowEvent struct { Width int Height int } type WindowListener interface { WindowChanged(ev WindowEvent) }