Page 1 of 1

love.graphics.setMode accept only fixed sized dimensions?

Posted: Tue Dec 06, 2011 2:23 pm
by Vasilj
Hi all, straight to the point, I want to use LOVE for making simple graphical interfaces for my lua scripts, I use a tiling window manager (Awesome wm) and for me will be better to have the love windows occupy the maximum space available (variable over time, as I open or clore other windows in my desktop).
love.graphics.setMode seems to accept only precise pixel values and the window is opened with this values on screen center wich for me is not very good. Please prove I'am wrong.

Thanks, Vasilj

Re: love.graphics.setMode accept only fixed sized dimensions

Posted: Tue Dec 06, 2011 2:32 pm
by vrld
LÖVE creates an irresizeable window, so no, you are not wrong. Though, maybe this could be a feature for future versions.

Re: love.graphics.setMode accept only fixed sized dimensions

Posted: Tue Dec 06, 2011 3:10 pm
by Vasilj
Ok, thanks. After all, now I know I have to live with this (until a new version of love will be released). Karma +1

Re: love.graphics.setMode accept only fixed sized dimensions

Posted: Wed Dec 07, 2011 12:33 am
by osgeld
though not quite as easy as love you might want to consider something like lua fltk or murgaLua (or even wxlua)

http://lua-fltk.sourceforge.net/

http://www.murga-projects.com/murgaLua/

http://wxlua.sourceforge.net/

Re: love.graphics.setMode accept only fixed sized dimensions

Posted: Wed Dec 07, 2011 2:36 am
by miko
osgeld wrote:though not quite as easy as love you might want to consider something like lua fltk or murgaLua (or even wxlua)
and there is more:
https://github.com/pavouk/lgi
http://oproj.tuxfamily.org/wiki/doku.php?id=lgob
http://luaforge.net/projects/lua-gtk/
https://github.com/mkottman/lqt