예제 #1
0
파일: display.go 프로젝트: beoran/algo
// 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))
}
예제 #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))
}
예제 #3
0
func (d *Display) SetPosition(x, y int) {
	C.al_set_window_position((*C.ALLEGRO_DISPLAY)(d), C.int(x), C.int(y))
}