Added SetIcon to Display.

This commit is contained in:
Sander Schobers 2018-09-09 18:24:33 +02:00
parent 8bdf7d0b76
commit 5a3818976a

View File

@ -74,6 +74,10 @@ func (d *Display) SetAsTarget() {
C.al_set_target_backbuffer(d.display)
}
func (d *Display) SetIcon(i *Bitmap) {
C.al_set_display_icon(d.display, i.bitmap)
}
func (d *Display) SetMousePosition(x, y int) {
C.al_set_mouse_xy(d.display, C.int(x), C.int(y))
}