Page 1 of 1

Get/set window position?

Posted: Fri Jun 13, 2014 4:17 am
by Someguynamedpie
Is it possible to do this without recompiling LOVE? I need it for my project :(

Re: Get/set window position?

Posted: Fri Jun 13, 2014 4:33 am
by Zilarrezko
love.window.getMode and love.window.setMode

I believe those functions are what you are looking for. :awesome:

Re: Get/set window position?

Posted: Fri Jun 13, 2014 4:45 am
by slime
You can select which monitor the window will appear in (if multiple monitors are available), but aside from that you can't change the window position.

What sort of thing are you making where you want to be able to do that?

Re: Get/set window position?

Posted: Fri Jun 13, 2014 5:11 am
by Someguynamedpie
Custom frame w/ borderless

Re: Get/set window position?

Posted: Fri Jun 13, 2014 5:12 am
by Someguynamedpie
While we're at it, will there be bindings to SDL_CreateSystemCursor?
I goofed. There already is

Re: Get/set window position?

Posted: Fri Jun 13, 2014 7:03 am
by Zilarrezko
Someguynamedpie wrote:Custom frame w/ borderless
Well you can just make the window borderless and make a frame inside the game and do your drawing within the confines of the frame. But I think I see what you mean now... Because from what I know you can't drag a window... that's borderless!

I'm sorry, I can't help you there. My bad, sorry man. :(