QB64.org Forum

Active Forums => Programs => Topic started by: Lefty on August 15, 2019, 01:12:12 am

Title: Sigil Wrapper (Source now Included!) [Complete]
Post by: Lefty on August 15, 2019, 01:12:12 am
Hello,

I have made wrapper of the Sigil library for QB64. I haven't released the source code yet, but it is working! Wondering if some you might be interested in it.

SigilBasic https://github.com/gAndy50/Qb64Wrappers (https://github.com/gAndy50/Qb64Wrappers)

If anyone finds this useful and would like to donate, I do have Paypal and Patreon.

Code: QB64: [Select]
  1. REM $include: 'sigil.bi'
  2.  
  3. CALL slWindow(640, 480, "Hello - Press arrow keys to change Backdrop color!", slFALSE)
  4.  
  5.     slRender
  6.     IF slGetKey(SL_KEY_LEFT) = 1 THEN
  7.         CALL slSetBackColor(255, 255, 255)
  8.     ELSEIF slGetKey(SL_KEY_RIGHT) = 1 THEN
  9.         CALL slSetBackColor(255, 255, 0)
  10.     ELSEIF slGetKey(SL_KEY_DOWN) = 1 THEN
  11.         CALL slSetBackColor(0, 0, 0)
  12.     ELSEIF slGetKey(SL_KEY_UP) = 1 THEN
  13.         CALL slSetBackColor(0, 0, 255)
  14.     END IF
  15.  
  16. LOOP UNTIL slGetKey(SL_KEY_ESCAPE)
  17.  
  18. slClose
  19.  
  20.  
Title: Re: Sigil Wrapper [Complete]
Post by: FellippeHeitor on August 15, 2019, 08:56:15 am
Sounds very interesting.
Title: Re: Sigil Wrapper [Complete]
Post by: STxAxTIC on August 15, 2019, 09:55:51 am
Explain like I'm just a BASIC programmer: what's a sigil wrapper? Ty!
Title: Re: Sigil Wrapper [Complete]
Post by: bplus on August 15, 2019, 10:22:12 am
Explain like I'm just a BASIC programmer: what's a sigil wrapper? Ty!

+1

If I had to guess, a sigil is the $ sign, INKEY$ uses that sign so it needs to be put in a wrapper because $ doesn't work on his keyboard :D

RIGHT$
Title: Re: Sigil Wrapper [Complete]
Post by: FellippeHeitor on August 15, 2019, 11:00:41 am
I didn’t know the library before either, then I googled it.

https://lmgtfy.com/?q=sigil+library (https://lmgtfy.com/?q=sigil+library)

😌😉👍
Title: Re: Sigil Wrapper [Complete]
Post by: bplus on August 15, 2019, 11:14:07 am
Ah yes! very interesting, not what I got when I tried a search (may have misspelled something).

Thanks Fellippe
Title: Re: Sigil Wrapper [Complete]
Post by: STxAxTIC on August 15, 2019, 01:48:31 pm
I'm not sure how to quote emoji in a forum post on my phone but dayum... when did we unban smileys?
Title: Re: Sigil Wrapper [Complete]
Post by: FellippeHeitor on August 15, 2019, 02:01:07 pm
People found they didn’t need the forum software’s custom emojis since there’s Unicode for that. Resistance is futile, that’s been learned.
Title: Re: Sigil Wrapper [Complete]
Post by: bplus on August 15, 2019, 02:28:57 pm
Fellippe, didn't you do something like this with p5js.bas?

👍
Title: Re: Sigil Wrapper [Complete]
Post by: Lefty on August 15, 2019, 04:10:14 pm
Can't tell, seems like most of the replies are sarcarstic. Well if anyone is interested, send me a PM and we can work something out.
Title: Re: Sigil Wrapper [Complete]
Post by: bplus on August 15, 2019, 04:15:45 pm
Can't tell, seems like most of the replies are sarcarstic. Well if anyone is interested, send me a PM and we can work something out.

You misunderstand our humor, I'd say there is considerable interest.

Sounds very interesting.

Ah yes! very interesting, not what I got when I tried a search (may have misspelled something).

Thanks Fellippe
Title: Re: Sigil Wrapper [Complete]
Post by: Lefty on August 15, 2019, 04:33:49 pm
You misunderstand our humor, I'd say there is considerable interest.

Alrighty then. Well anyone's who's interested, send me a PM. I believe I can sell this for a reasonable price, as it doesen't conflict with any of QB64's existing license.
Title: Re: Sigil Wrapper [Complete]
Post by: FellippeHeitor on August 15, 2019, 04:50:13 pm
I’m interested in it, but you’re selling it?

I developed InForm (https://www.qb64.org/inform) as cross platform for GUIs but it’s way too artisanal; it’d be interesting to have something backing it.
Title: Re: Sigil Wrapper [Complete]
Post by: SMcNeill on August 15, 2019, 04:51:46 pm
Alrighty then. Well anyone's who's interested, send me a PM. I believe I can sell this for a reasonable price, as it doesen't conflict with any of QB64's existing license.

I was kinda interested, until the talk of “reasonable price” came up.  I’m a cheap bastard.  The main reason I love and work with QB64 is because it’s free.😍😍😍
Title: Re: Sigil Wrapper [Complete]
Post by: RhoSigma on August 15, 2019, 05:58:20 pm
Well Lefty,
guess you will remain the one and only who will ever use this wrapper. You ask for money, think twice, we don't even have something real to test yet. Your codebox above is just pseudo code without providing sigil.bi to us.

And if you don't wanna release your source here, then you should at least create a reasonable demo program and provide the compiled EXE of it together with some more useful info, because nobody will buy the cat in a poke.
Title: Re: Sigil Wrapper [Complete]
Post by: Lefty on August 15, 2019, 06:00:42 pm
Well Lefty,
guess you will remain the one and only who will ever use this wrapper. You ask for money, think twice, we don't even have something real to test yet. Your codebox above is just pseudo code without providing sigil.bi to us.

And if you don't wanna release your source here, then you should at least create a reasonable demo program and provide the compiled EXE of it together with some more useful info, because nobody will buy the cat in a poke.

Thanks for the feedback. I will think about this.  My idea was only asking for about $5 USD for the source code.
Title: Re: Sigil Wrapper [Complete]
Post by: STxAxTIC on August 15, 2019, 09:46:05 pm
Lefty is right (no pun).

We all expect way too much free stuff when it comes to digital goods.

However, I think the proposed gatekeeping/paywall needs to be reversed. Release the code first, and then if people feel it's worth donating to the author, then let them do so. I mean hell, we could *all* set up such tip jars. Imagine that, a "Donate" button built into the InForm face somewhere. Self-referential ads are a good idea in my opinion... but for real, don't make us "buy" the code up front - not to mention, such a pirate-friendly model is SO easy to break.
Title: Re: Sigil Wrapper [Complete]
Post by: Lefty on August 15, 2019, 10:01:08 pm
Lefty is right (no pun).

We all expect way too much free stuff when it comes to digital goods.

However, I think the proposed gatekeeping/paywall needs to be reversed. Release the code first, and then if people feel it's worth donating to the author, then let them do so. I mean hell, we could *all* set up such tip jars. Imagine that, a "Donate" button built into the InForm face somewhere. Self-referential ads are a good idea in my opinion... but for real, don't make us "buy" the code up front - not to mention, such a pirate-friendly model is SO easy to break.

You make a very good point. If people like such software/code, then I think they should donate or at least send a few bucks the author's way. I'll release the code in hopes people will like it and maybe in return receive a little profit.