Added SetIcon to Display.

This commit is contained in:
Sander Schobers 2018-09-09 18:24:33 +02:00
parent 239c24533d
commit c2009c5a8b

View File

@ -74,6 +74,10 @@ func (d *Display) SetAsTarget() {
C.al_set_target_backbuffer(d.display) 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) { func (d *Display) SetMousePosition(x, y int) {
C.al_set_mouse_xy(d.display, C.int(x), C.int(y)) C.al_set_mouse_xy(d.display, C.int(x), C.int(y))
} }