Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Github QB64PE Toolbox
#21
Added some useful conversion tools into the toolbox for us:

Functions To64$ and From64$ which are used to convert to and from base-64.  Can be used to easily embed small resource files into your own programs, such as icons, sounds, or images.

Functions Ansi_To_Utf8$ and UniCode_To_Utf8$ to convert from ASCII character encoding to UTF8 character encoding. This may be extremely useful for folks who use _MAPUNICODE to set their characters to a local regional code, but who then would like whatever output they generate be in UTF8 format for universal usage.

Added samples of both, and they're also now included and available in the Samples folder for ease of future reference.
Reply
#22
Is the huge "Untitled" in the title bar intentional?
Tread on those who tread on you

Reply
#23
(12-11-2023, 08:22 PM)SpriggsySpriggs Wrote: Is the huge "Untitled" in the title bar intentional?

That's windows scaling in action.  Any time I duplicate my display and cast to my tv as a second monitor, those title bars explode in height.

I can stop casting, and all goes back to normal on the next run of the program.

Surely that's a glitch *somewhere* in scaling that titlebar text, but it's not game breaking and not a priority fix.  Wink
Reply
#24
Ah, ok. I was thinking it was something as part of your new fonts and such.
Tread on those who tread on you

Reply
#25
Removed the embedded fonts from the toolbox, as QB64PE v3.10+ now has the _EMBEDDED commands which make them redundant and obsolete.

Added ThickLine which allows us to quickly and easily insert a line of multi-pixel thickness between two points.
Reply
#26
Holy crap.... EMBEDDED???? When was this added?!?!? Dang, that's a handy set of commands. Just looked at it on the Wiki. Holy crap. What a useful thing. You've almost made me excited about QB64 again. Dang, dude. Who was responsible for that addition? They're a freakin' genius.

EDIT: *GASP* You could use DEFLATE to compress the file contents into the file first before embedding and then use INFLATE on the embedded data at runtime. DUUuuuuuuuude.
Tread on those who tread on you

Reply
#27
(01-03-2024, 12:26 PM)SpriggsySpriggs Wrote: Holy crap.... EMBEDDED???? When was this added?!?!? Dang, that's a handy set of commands. Just looked at it on the Wiki. Holy crap. What a useful thing. You've almost made me excited about QB64 again. Dang, dude. Who was responsible for that addition? They're a freakin' genius.

Was me, just in the last release 3.10.0 Big Grin

(01-03-2024, 12:26 PM)SpriggsySpriggs Wrote: EDIT: *GASP* You could use DEFLATE to compress the file contents into the file first before embedding and then use INFLATE on the embedded data at runtime. DUUuuuuuuuude.

It's already done that way internally on the fly. However, a 20% least ratio is imposed to avoid repacking of already highly compressed files like PNG, JPEG, MP3/4 etc..
Reply
#28
Ah, of course it's RhoSigma! Good going, dude.
Tread on those who tread on you

Reply
#29
Where can I get the last version of toolbox compatible with QB64pe?
Reply
#30
(08-11-2024, 11:00 AM)TempodiBasic Wrote: Where can I get the last version of toolbox compatible with QB64pe?

Follow the link given in the first post of this tread, it will route you directly into the GitHub repository. there click on the green button labeled "<> Code" and in the drop down menu chose "Download ZIP".
Reply




Users browsing this thread: 1 Guest(s)