Added SetIcon to Display.
This commit is contained in:
parent
8bdf7d0b76
commit
5a3818976a
@ -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))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user