Löve Frames - A GUI Library
-
- Prole
- Posts: 31
- Joined: Sun Dec 30, 2012 7:14 pm
Re: Löve Frames - A GUI Library
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
The :Remove() method is called on the object (and its children) destroying them.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?
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.
-
- Prole
- Posts: 31
- Joined: Sun Dec 30, 2012 7:14 pm
Re: Löve Frames - A GUI Library
Thanks!
Re: Löve Frames - A GUI Library
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?
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
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
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
Last edited by Lapin on Thu Mar 26, 2015 10:53 am, edited 1 time in total.
- Nikolai Resokav
- Party member
- Posts: 140
- Joined: Wed Apr 28, 2010 12:51 am
- Location: United States
Re: Löve Frames - A GUI Library
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
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:
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.
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
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.
Endless Dark: An existential horror game written in LOVE in which you are tasked with keeping a sleeper colony ship intact.
- liyonglove2d
- Prole
- Posts: 38
- Joined: Sun Mar 29, 2015 7:06 am
Re: Löve Frames - A GUI Library
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.
Anyway, nice work, and I appreciate the job so much. I cannot do that by myself.
Last edited by liyonglove2d on Thu Apr 02, 2015 3:14 am, edited 1 time in total.
- Nikolai Resokav
- Party member
- Posts: 140
- Joined: Wed Apr 28, 2010 12:51 am
- Location: United States
Re: Löve Frames - A GUI Library
Just pushed a fix for this issue. Thanks for the report.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:
local scrollbar = list:GetScrollBar() is returning false.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
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.
-
- Prole
- Posts: 6
- Joined: Mon Jan 12, 2015 1:34 pm
Re: Löve Frames - A GUI Library
Your website and subsequently the documentation seems to be offline. I presume you are still continuing the project?
Who is online
Users browsing this forum: Ahrefs [Bot] and 2 guests