Page 30 of 41

Re: Löve Frames - A GUI Library

Posted: Sat Mar 07, 2015 8:47 pm
by Ford_Prefect
What exactly happens to a frame when it's close button is pressed? Is it possible to create "closed" frames? What does an object being "modal" mean?

Re: Löve Frames - A GUI Library

Posted: Sun Mar 08, 2015 4:39 am
by Ensayia
Ford_Prefect wrote:What exactly happens to a frame when it's close button is pressed? Is it possible to create "closed" frames? What does an object being "modal" mean?
The :Remove() method is called on the object (and its children) destroying them.
If you want a frame to be invisible, yet still processing, there is a value you can set for processing while invisible, then just :SetVisible(false) it.
Setting modal darkens the background behind the frame, and makes everything below it unclickable. Do note, in my experience Modal does not work properly if the frame is parented to any other object.

Re: Löve Frames - A GUI Library

Posted: Mon Mar 09, 2015 7:34 pm
by Ford_Prefect
Thanks!

Re: Löve Frames - A GUI Library

Posted: Thu Mar 26, 2015 4:18 am
by lost_RD
Nikolai/Kenny,

Your website now seems to have completely changed and I can not find the demo or documentation.

Can you please provide a link?

Re: Löve Frames - A GUI Library

Posted: Thu Mar 26, 2015 10:29 am
by Lapin
Yep, same problem, you still can get it using Google Cache or we need to find this file :


http://archive.nikolairesokav.com/love/ ... uments.zip

(which has been deleted)


EDIT : Just sent him a mail, wait and see, i'll tell you if i get an answer.


https://github.com/KennyShields/LoveFrames/wiki

Here ya go

Re: Löve Frames - A GUI Library

Posted: Thu Mar 26, 2015 10:49 am
by Nikolai Resokav
The documentation was move to github: https://github.com/KennyShields/LoveFrames/wiki. I have updated the link in the original post.

Re: Löve Frames - A GUI Library

Posted: Mon Mar 30, 2015 6:02 am
by soulmata
Hello,

I am greatly enjoying this library. It has saved me a lot of time.

I believe I have encountered a bug or perhaps I'm not using it correctly.

I have found that the SetAutoScroll method for a ColumnList does nothing. Looking at the code, it appears that the GetScrollBar method is returning nothing, so the feature is not actually doing anything. Specifically, in this:

Code: Select all

function newobject:SetAutoScroll(bool)

        local internals = self.internals
        local list = internals[1]
        local scrollbar = list:GetScrollBar()

        self.autoscroll = bool

        if list then
                if scrollbar then
                        scrollbar.autoscroll = bool
                end
        end

        return self

end
local scrollbar = list:GetScrollBar() is returning false.

I think I'm setting it up appropriately. It's rendering and I can add/remove entries from the list correct, as well as scroll through them, with the existing scrollbar, only the AutoScroll feature seems to not work.

Re: Löve Frames - A GUI Library

Posted: Mon Mar 30, 2015 9:05 am
by liyonglove2d
I've been using it for quite a long time, and have to say that it's really not good for my game.
Anyway, nice work, and I appreciate the job so much. I cannot do that by myself.

Re: Löve Frames - A GUI Library

Posted: Mon Mar 30, 2015 2:23 pm
by Nikolai Resokav
soulmata wrote:Hello,

I am greatly enjoying this library. It has saved me a lot of time.

I believe I have encountered a bug or perhaps I'm not using it correctly.

I have found that the SetAutoScroll method for a ColumnList does nothing. Looking at the code, it appears that the GetScrollBar method is returning nothing, so the feature is not actually doing anything. Specifically, in this:

Code: Select all

function newobject:SetAutoScroll(bool)

        local internals = self.internals
        local list = internals[1]
        local scrollbar = list:GetScrollBar()

        self.autoscroll = bool

        if list then
                if scrollbar then
                        scrollbar.autoscroll = bool
                end
        end

        return self

end
local scrollbar = list:GetScrollBar() is returning false.

I think I'm setting it up appropriately. It's rendering and I can add/remove entries from the list correct, as well as scroll through them, with the existing scrollbar, only the AutoScroll feature seems to not work.
Just pushed a fix for this issue. Thanks for the report.

Re: Löve Frames - A GUI Library

Posted: Sat Apr 04, 2015 11:04 pm
by schmirsich
Your website and subsequently the documentation seems to be offline. I presume you are still continuing the project?