Community widgets

LiveCode Builder is a language for extending LiveCode's capabilities, creating new object types as Widgets, and libraries that access lower-level APIs in OSes, applications, and DLLs.

Moderators: LCMark, LCfraser

PaulDaMacMan
Posts: 616
Joined: Wed Apr 24, 2013 4:53 pm
Contact:

Re: Community widgets

Post by PaulDaMacMan » Thu Feb 20, 2020 5:23 pm

Great work Herman!
But doesn't MIT-licensed mean it's open source? Or am I confused (again)?
I'd be very interested in seeing some of your LCB code for your awesome widgets!
My GitHub Repos: https://github.com/PaulMcClernan/
Related YouTube Videos: PlayList

[-hh]
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2262
Joined: Thu Feb 28, 2013 11:52 pm
Location: Göttingen, DE

Re: Community widgets

Post by [-hh] » Thu Feb 20, 2020 6:00 pm

But doesn't MIT-licensed mean it's open source?
Where the source code is not included it is commercially licensed (current price $0.00, license: "use at your own risk!").
I'd be very interested in seeing some of your LCB code
With 10 of 13 widgets the source code is included. These sources alltogether contain (in principle) all techniques that are used in the others. Some of the widgets were done accompanying the development of LCB since 2016, so a few parts of the code are "working around" where this isn't needed any more with LC 9.

You know that, but for those readers who don't: How to get the source?
You have it already (where it is included as soon as the widget is installed). Find the folder of the widget in the "User Extensions" folder, see tab "Files & Memory" of your LC preferences. Then (optionally copy the folder to another location) open the lcb file from menu "Tools>Extension Builder".
shiftLock happens

PaulDaMacMan
Posts: 616
Joined: Wed Apr 24, 2013 4:53 pm
Contact:

Re: Community widgets

Post by PaulDaMacMan » Thu Feb 20, 2020 9:28 pm

Where the source code is not included it is commercially licensed (current price $0.00, license: "use at your own risk!"
Hah! Kind of a vague license, but cool!
With 10 of 13 widgets the source code is included
Scrolling back in the forum, I see now that the source for most of them is posted here and I'm suddenly now remembering looking at some of it before, thanks! I was looking for it on your website which doesn't have links for the LCB files.
My GitHub Repos: https://github.com/PaulMcClernan/
Related YouTube Videos: PlayList

[-hh]
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2262
Joined: Thu Feb 28, 2013 11:52 pm
Location: Göttingen, DE

Re: Community widgets

Post by [-hh] » Tue Mar 03, 2020 9:34 pm

[#61] Community LCB widget "BioRhythm" v1.0.0

The widget computes BioRhythm-Curves (sinus curves with different periods of days).

The 7 names and their periods are: physical 23, emotional 28, intellectual 33, spiritual 53, awareness 48, aesthetic 43, intuition 38. Moreover you can have a weighted mean of the included of these 7 curves.

The computed values are in range -100 to 100 for each curve and are displayed as graph or as table (see below for screenshots).

Some may find this widget to be "esoteric". A main reason I made it was to show a smooth display of curves (that is not possible in LC Script) and to exercise the display of a table.

Read more, download the widget and a sample stack from
(server loc EU) https://hyperhh.de/widgets/biorhythm.html
or
(server loc US) https://hh.on-rev.com/widgets/biorhythm.html
 
Attachments
biorhythmGraph.png
biorhythmGraph.png (17.99 KiB) Viewed 19473 times
biorhythmTable.png
biorhythmTable.png (45.71 KiB) Viewed 19473 times
shiftLock happens

[-hh]
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2262
Joined: Thu Feb 28, 2013 11:52 pm
Location: Göttingen, DE

Re: Community widgets

Post by [-hh] » Thu Mar 12, 2020 9:30 pm

(Mar 12, 2020)
TMHO, there is no progress with LC Builder development since a long time.
So I stopped making widgets.
shiftLock happens

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9802
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: Community widgets

Post by FourthWorld » Thu Mar 12, 2020 9:36 pm

[-hh] wrote:
Thu Mar 12, 2020 9:30 pm
(Mar 12, 2020)
TMHO, there is no progress with LC Builder development since a long time.
So I stopped making widgets.
What do you need in place for your next widget?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

[-hh]
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2262
Joined: Thu Feb 28, 2013 11:52 pm
Location: Göttingen, DE

Re: Community widgets

Post by [-hh] » Thu Mar 12, 2020 10:35 pm

I am deeply disappointed. I reported several bugs and feature requests related to LCB since 2016.

Now I decided moreover, based on recent answers of the CTO, to stop any bug reporting (or requesting enhancements).
That is: I don't think it makes any sense to do bug reporting (or requesting enhancements) because there is no interest in a further development of LCB (also not in further development of HTML5, also not in further development of LCS. The latter except removing the bugs that were introduced with 9.5).

So it doesn't make sense to list any of these bugs/requests here. Nevertheless thanks for your interest.
shiftLock happens

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9802
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: Community widgets

Post by FourthWorld » Thu Mar 12, 2020 10:52 pm

Thanks. Does this list look complete, or should I modify my search criteria?:
https://quality.livecode.com/buglist.cg ... on-rev.com
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

[-hh]
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2262
Joined: Thu Feb 28, 2013 11:52 pm
Location: Göttingen, DE

Re: Community widgets

Post by [-hh] » Thu Mar 12, 2020 11:51 pm

Richard, you are often trying to harmonize and integrate. A good characteristic trait.

In my case I also got the feeling that I've done a lot in LCB (widgets) and HTML5 (standalones).
And I concluded from that, LC could also do something for me to support this, very seldom, from time to time. Now look at the recent answers from the CTO to my reports, that was the last straw to give up.

Would you do anything more for such a company?
shiftLock happens

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9802
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: Community widgets

Post by FourthWorld » Thu Mar 12, 2020 11:55 pm

I'm far more selfish. I only do the things that are good for my own business. If there's an intersection between things you need from Builder and things I anticipate needing for stuff I have in the pipeline. I'm eager to dive in and see what can be done to get those out of the way.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

jiml
Posts: 336
Joined: Sat Dec 09, 2006 1:27 am
Location: Los Angeles

Re: Community widgets

Post by jiml » Sat Mar 14, 2020 8:20 pm

I stopped making widgets.
I'm sorry to hear that.
Thank you for the great work you have contributed!
Viele Dank!

Jim Lambert

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9802
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: Community widgets

Post by FourthWorld » Thu Mar 19, 2020 5:39 pm

FWIW, support for Code Blocks have been in development and are slated to drop in v9.6dp3:
https://forums.livecode.com/viewtopic.p ... 05#p189269
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

giovanni_c
Posts: 52
Joined: Sat Sep 08, 2012 10:50 am

Re: Community widgets

Post by giovanni_c » Wed Apr 22, 2020 11:03 am

Hi everybody and thanks for the useful materials that you posted on this thread.
I have a question about widgets in genera and I report my questions that I already posted on another thread in which Klaus suggested me to refer to this one to get more info. Sorry if it sound like a crossposting: if necessary the admin can remove the old post.

I am trying to figure out if it's possible to use LCB to create widgets that embed standard LC controls like field or buttons.
The aim of this kind of "studies" is to understand if I can create reusable custom controls accessible from the standard LC toolbar (I.E. like datagrid).
Actually I don't know if the use of widgets is the right way to obtain what I would like to reach.
After just a quick view on this thread I can say that there is no way to use LC native controls (buttons, fields etc) in a widget, isn't it? Everything must be "designed" on the go, am I right?
Can someone give me some hints about this?

Thank you!

PaulDaMacMan
Posts: 616
Joined: Wed Apr 24, 2013 4:53 pm
Contact:

Re: Community widgets

Post by PaulDaMacMan » Tue Apr 28, 2020 8:59 am

giovanni_c wrote:
Wed Apr 22, 2020 11:03 am
After just a quick view on this thread I can say that there is no way to use LC native controls (buttons, fields etc) in a widget, isn't it? Everything must be "designed" on the go, am I right?
Can someone give me some hints about this?
Correct, in pure LCB (IE without using Foreign Function Interface), graphics / controls must be created using LCB's rendering instructions (which I believe uses the SKIA drawing library). However there are some good example's around for some types of controls like sliders, in fact LiveCode comes bundled with some, that you could use to build on. Technically what you want can be done in LCB, see Herman's controls widget (#55) on page 3 of this thread...

Although it sounds like what you want could be easier to do using grouped controls or with LC's data grid API (which actually uses sub stacks that you can edit).
My GitHub Repos: https://github.com/PaulMcClernan/
Related YouTube Videos: PlayList

giovanni_c
Posts: 52
Joined: Sat Sep 08, 2012 10:50 am

Re: Community widgets

Post by giovanni_c » Wed Apr 29, 2020 2:11 pm

Hi Paul, thanks for feedback.
I may agree with you that the quickest way to manage for what I need is to use object groups with shared behavior.
My question is: is there a way to create groups that I can quickly re-use as a control, like the datagrid?
Is there an API in Livecode to use grouped controls as a native control?

Again thank you for your feedback

Post Reply

Return to “LiveCode Builder”