Author Topic: Sigil Wrapper (Source now Included!) [Complete]  (Read 7038 times)

0 Members and 1 Guest are viewing this topic.

Offline Lefty

  • Newbie
  • Posts: 9
    • View Profile
Sigil Wrapper (Source now Included!) [Complete]
« 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

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.  
« Last Edit: August 15, 2019, 10:18:47 pm by Lefty »

FellippeHeitor

  • Guest
Re: Sigil Wrapper [Complete]
« Reply #1 on: August 15, 2019, 08:56:15 am »
Sounds very interesting.

Offline STxAxTIC

  • Library Staff
  • Forum Resident
  • Posts: 1091
  • he lives
    • View Profile
Re: Sigil Wrapper [Complete]
« Reply #2 on: August 15, 2019, 09:55:51 am »
Explain like I'm just a BASIC programmer: what's a sigil wrapper? Ty!
You're not done when it works, you're done when it's right.

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: Sigil Wrapper [Complete]
« Reply #3 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$
« Last Edit: August 15, 2019, 10:28:20 am by bplus »

FellippeHeitor

  • Guest
Re: Sigil Wrapper [Complete]
« Reply #4 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

😌😉👍
« Last Edit: August 15, 2019, 11:03:52 am by FellippeHeitor »

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: Sigil Wrapper [Complete]
« Reply #5 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

Offline STxAxTIC

  • Library Staff
  • Forum Resident
  • Posts: 1091
  • he lives
    • View Profile
Re: Sigil Wrapper [Complete]
« Reply #6 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?
You're not done when it works, you're done when it's right.

FellippeHeitor

  • Guest
Re: Sigil Wrapper [Complete]
« Reply #7 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.

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: Sigil Wrapper [Complete]
« Reply #8 on: August 15, 2019, 02:28:57 pm »
Fellippe, didn't you do something like this with p5js.bas?

👍
« Last Edit: August 15, 2019, 03:10:23 pm by bplus »

Offline Lefty

  • Newbie
  • Posts: 9
    • View Profile
Re: Sigil Wrapper [Complete]
« Reply #9 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.

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: Sigil Wrapper [Complete]
« Reply #10 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
« Last Edit: August 15, 2019, 04:17:22 pm by bplus »

Offline Lefty

  • Newbie
  • Posts: 9
    • View Profile
Re: Sigil Wrapper [Complete]
« Reply #11 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.

FellippeHeitor

  • Guest
Re: Sigil Wrapper [Complete]
« Reply #12 on: August 15, 2019, 04:50:13 pm »
I’m interested in it, but you’re selling it?

I developed InForm as cross platform for GUIs but it’s way too artisanal; it’d be interesting to have something backing it.

Offline SMcNeill

  • QB64 Developer
  • Forum Resident
  • Posts: 3972
    • View Profile
    • Steve’s QB64 Archive Forum
Re: Sigil Wrapper [Complete]
« Reply #13 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.😍😍😍
https://github.com/SteveMcNeill/Steve64 — A github collection of all things Steve!

Offline RhoSigma

  • QB64 Developer
  • Forum Resident
  • Posts: 565
    • View Profile
Re: Sigil Wrapper [Complete]
« Reply #14 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.
My Projects:   https://qb64forum.alephc.xyz/index.php?topic=809
GuiTools - A graphic UI framework (can do multiple UI forms/windows in one program)
Libraries - ImageProcess, StringBuffers (virt. files), MD5/SHA2-Hash, LZW etc.
Bonus - Blankers, QB64/Notepad++ setup pack