Why not?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Why not?
First I must clarify that I am not criticizing LiveCode. I wonder out loud, maybe someone can answer me or just agree or disagree with what I'm going to ask.
I have been trying to perform inertial scrolling behavior. This will be used as behavior in groups and fields in Windows. In other words, the native is not good for me.
Mmm native
In my hours of hitting the wall, I discovered that in C ++ is already implemented . Now comes the first of my questions.
1. Why doesn't LiveCode have that implemented internally.
In other words, it would be much more efficient than any solution you can find using the LiveCode script.
The other one of my questions out loud is:
2. It is very difficult to make groups that can be fashionable?. That is, have rounded edges.
I have been trying to perform inertial scrolling behavior. This will be used as behavior in groups and fields in Windows. In other words, the native is not good for me.
Mmm native
In my hours of hitting the wall, I discovered that in C ++ is already implemented . Now comes the first of my questions.
1. Why doesn't LiveCode have that implemented internally.
In other words, it would be much more efficient than any solution you can find using the LiveCode script.
The other one of my questions out loud is:
2. It is very difficult to make groups that can be fashionable?. That is, have rounded edges.
Re: Why not?
on 2)
Are you looking for something different to this?
Are you looking for something different to this?
Re: Why not?
well I am going to give an example regarding the rounded edges that I am looking for.
Let's say I have an app that has an image gallery. which will be obtained from an external provider. So I can't use Photoshop to round all the images.
Now, where the images are shown I have a field with its description that would be something like the cards in boostrap, material design...
Currently this can be done in LiveCode. But I can't think of any other way than to put a graphic where the image is. Hide the image and set it as a pattern on the chart.
What I would like, and why I like it, does not have to be that way.
It is to be able to tell the group to be rounded on all sides and to cut the line of their children at the edges. In other words, you would no longer have to use the graphic to display an image. Otherwise I would use the image and put the round edges of the group and worry about other things.
This would also be very useful if you wanted to put an avatar in a circle.
How do you do it now if not using a graphic as an image?
Let's say I have an app that has an image gallery. which will be obtained from an external provider. So I can't use Photoshop to round all the images.
Now, where the images are shown I have a field with its description that would be something like the cards in boostrap, material design...
Currently this can be done in LiveCode. But I can't think of any other way than to put a graphic where the image is. Hide the image and set it as a pattern on the chart.
What I would like, and why I like it, does not have to be that way.
It is to be able to tell the group to be rounded on all sides and to cut the line of their children at the edges. In other words, you would no longer have to use the graphic to display an image. Otherwise I would use the image and put the round edges of the group and worry about other things.
This would also be very useful if you wanted to put an avatar in a circle.
How do you do it now if not using a graphic as an image?
- Attachments
-
- img.png (10.67 KiB) Viewed 5389 times
Re: Why not?
Well apparently someone else needs to be able to round the edges. In this case of an image: viewtopic.php?f=8&t=36152
this can be suggested as a new feature for LiveCode. The power to round the vordes at will and easily as in other modern languages.
round radio property
this can be suggested as a new feature for LiveCode. The power to round the vordes at will and easily as in other modern languages.
round radio property
-
- Posts: 616
- Joined: Wed Apr 24, 2013 4:53 pm
- Contact:
Re: Why not?
Maybe not exactly what you are looking for, but I recall that Trevore Devore made a widget that can round individual corners with an image rendered inside.
https://github.com/trevordevore/livecod ... orners.lcb
https://github.com/trevordevore/livecod ... orners.lcb
Re: Why not?
Yep was gonna say exactly the same Paul - i do use this on occasion and it works well...
Also shows what's possible if you're handy with LCB...
Also shows what's possible if you're handy with LCB...
Re: Why not?
Maybe the solution is that . Create an image container widget, which can be configured by roundRadio.
-
- VIP Livecode Opensource Backer
- Posts: 9802
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: Why not?
Setting the backgroundPattern of a vector shape made with the drawing tools can work well under many circumstances.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: Why not?
I know that most of us who use LiveCode, we learn certain tricks to carry out our objectives.
If I can't rounRadio an image, then I put the image inside a graph and round the graph.
My questions are not that something cannot be achieved here. But because so much work is spent with something that is simple in any other language.
I don't know how rounding the edges of graphics and buttons is implemented in the LiveCode engine. But it seems to me that with a Copy and Paste. Images and groups can be made to have this property.
Now imagine for a moment not having to use a graph to display an image. But show the picture ready
someone has an idea to do my other suggestion. "momentum scrolling"
If I can't rounRadio an image, then I put the image inside a graph and round the graph.
My questions are not that something cannot be achieved here. But because so much work is spent with something that is simple in any other language.
I don't know how rounding the edges of graphics and buttons is implemented in the LiveCode engine. But it seems to me that with a Copy and Paste. Images and groups can be made to have this property.
Now imagine for a moment not having to use a graph to display an image. But show the picture ready
someone has an idea to do my other suggestion. "momentum scrolling"
-
- VIP Livecode Opensource Backer
- Posts: 9802
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: Why not?
Sure, if you're in a position to help integrate the source you found into the engine that would be great.
And in the meantime, a one-liner to display the image in a graphic may be helpful for those looking for an immediate solution.
And in the meantime, a one-liner to display the image in a graphic may be helpful for those looking for an immediate solution.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: Why not?
I would like it very much, but I don't know much about C ++ , plus I have not managed to compile the LiveCode source code on my PC.
When I achieve it I will try to do it, I can make sure of that.
When I achieve it I will try to do it, I can make sure of that.
-
- VIP Livecode Opensource Backer
- Posts: 9802
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: Why not?
That would be awesome. In the meantime if you add that to the request queue with a link to that source perhaps someone else may be able to take action on it.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
-
- VIP Livecode Opensource Backer
- Posts: 7215
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: Why not?
A script was posted to the mailing list many years ago:
https://www.mail-archive.com/use-liveco ... 86290.html
Scott Rossi also created a nice one and I have his sample stack but I'm not sure if I can distribute it here.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com