Search found 140 matches

by Nikolai Resokav
Thu Aug 07, 2014 2:00 am
Forum: Libraries and Tools
Topic: Löve Frames - A GUI Library
Replies: 380
Views: 146626

Re: Löve Frames - A GUI Library

Is there any way to position and/or format text in an ImageButton? You can change the way the text looks in the skin file, or create a custom drawing function for the object. Looking at the code briefly, it seems like none of the widgets inherit from anything other than the base class, is subclassi...
by Nikolai Resokav
Thu Jul 17, 2014 11:24 pm
Forum: Libraries and Tools
Topic: Löve Frames - A GUI Library
Replies: 380
Views: 146626

Re: Löve Frames - A GUI Library

I really like LoveFrames, it saved a lot of my time already. Now I wanted to change the appearance of a single object and here, adding a new skin to change a drawing function for every so little change to the default skin seems to be an overkill to me. I wish there was a simple way to change the de...
by Nikolai Resokav
Wed Jul 16, 2014 12:18 am
Forum: Support and Development
Topic: how do I set font size with loveframes ?
Replies: 2
Views: 940

Re: how do I set font size with loveframes ?

DarthGrover wrote:I cant understand the example given in the documentation how do I set font size in loveframes?
Are you trying to set the font size of text object? If so, you can use the SetFont method for that.
by Nikolai Resokav
Sat Jul 05, 2014 11:53 pm
Forum: Libraries and Tools
Topic: Löve Frames - A GUI Library
Replies: 380
Views: 146626

Re: Löve Frames - A GUI Library

I`m developing a crpg game using love2d right now, so I`m looking to the things, which are useful for game making first of all. Loveframes is a very nice and useful library, which helps a lot, but I think there is a way to make it a bit better for game-developers. Some feature requests for tooltips...
by Nikolai Resokav
Mon Apr 28, 2014 11:00 pm
Forum: Libraries and Tools
Topic: Löve Frames - A GUI Library
Replies: 380
Views: 146626

Re: Löve Frames - A GUI Library

Speaking of ImageButton, it would be also very useful if we could set the size (scale) of the button itself. Good idea. I'll look into implementing that when I have some spare time. And now that it can't be misjudged any more as a "captatio benevolentiae", let me spend at least a few words to thank...
by Nikolai Resokav
Sun Apr 20, 2014 5:40 am
Forum: Libraries and Tools
Topic: Löve Frames - A GUI Library
Replies: 380
Views: 146626

Re: Löve Frames - A GUI Library

Is there any specific reason why the text object's method "DrawText" is in the object file rather than in the skin? I guess I wanted the text to be drawn internally when I initially wrote the object, I'm not really sure though. Regardless, that code should probably be moved to the skin files to mak...
by Nikolai Resokav
Thu Mar 13, 2014 11:57 pm
Forum: Libraries and Tools
Topic: Löve Frames - A GUI Library
Replies: 380
Views: 146626

Re: Löve Frames - change font size?

DarthGrover wrote:How do I change font size for a text object in love frames?
You can create a font with a custom size using the newFont function: http://www.love2d.org/wiki/love.graphics.newFont
by Nikolai Resokav
Fri Mar 07, 2014 12:29 am
Forum: Libraries and Tools
Topic: Löve Frames - A GUI Library
Replies: 380
Views: 146626

Re: Löve Frames - A GUI Library

Is there somewhere a documentation on the state feature? All I can find about it on the website is one paragraph in "Getting Started" and two methods for the base object :\ Thats the only documentation for the state system at the moment. If you need more information or help with something specific ...
by Nikolai Resokav
Tue Mar 04, 2014 12:32 am
Forum: Libraries and Tools
Topic: Löve Frames - A GUI Library
Replies: 380
Views: 146626

Re: Löve Frames - A GUI Library

ixjf wrote:Something I haven't understood yet is - what is that so-called "static position" all around objects' code? What does it mean?
Static x and y are the object's position relative to its parent's position.
by Nikolai Resokav
Thu Feb 27, 2014 10:44 am
Forum: Libraries and Tools
Topic: Löve Frames - A GUI Library
Replies: 380
Views: 146626

Re: Löve Frames - A GUI Library

Is there a way to create a frame that will appear on any selected state? Additionally, if I set a frame to be modal, but its state is not the active one, it is still modal, even if the frame doesn't show on screen. Is this right? There is not currently a way to display an object across all states, ...