love.graphics.setMode accept only fixed sized dimensions?

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
Vasilj
Prole
Posts: 2
Joined: Tue Dec 06, 2011 2:11 pm

love.graphics.setMode accept only fixed sized dimensions?

Post 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
User avatar
vrld
Party member
Posts: 917
Joined: Sun Apr 04, 2010 9:14 pm
Location: Germany
Contact:

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

Post by vrld »

LÖVE creates an irresizeable window, so no, you are not wrong. Though, maybe this could be a feature for future versions.
I have come here to chew bubblegum and kick ass... and I'm all out of bubblegum.

hump | HC | SUIT | moonshine
Vasilj
Prole
Posts: 2
Joined: Tue Dec 06, 2011 2:11 pm

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

Post 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
User avatar
osgeld
Party member
Posts: 303
Joined: Sun Nov 23, 2008 10:13 pm

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

Post 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/
User avatar
miko
Party member
Posts: 410
Joined: Fri Nov 26, 2010 2:25 pm
Location: PL

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

Post 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
My lovely code lives at GitHub: http://github.com/miko/Love2d-samples
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 4 guests