Exemple #1
0
// Sets the position where new windowed displays will be created
func (self *Display) SetWindowPosition(x, y int) {
	C.al_set_window_position(self.handle, C.int(x), C.int(y))
}
Exemple #2
0
func (d *Display) SetWindowPosition(x, y int32) {
	C.al_set_window_position((*C.ALLEGRO_DISPLAY)(unsafe.Pointer(d)), C.int(x), C.int(y))
}
Exemple #3
0
func (d *Display) SetPosition(x, y int) {
	C.al_set_window_position((*C.ALLEGRO_DISPLAY)(d), C.int(x), C.int(y))
}