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