vs GUI Updates - the latest from b+
#41
nice use of Steve's N2S$ (does that stand for number to Steve?)
Reply
#42
Yep! Steve has been extremely helpful in a number of things, (see's the pun after) specially the file and directory access but also SaveImage and all kinds of helpful advice along the way... 5 years now?

@vince there was something you posted in old forum helping someone rotate two circles (3D) with lines attaching that twisted and untwisted that I wouldn't mind seeing again. I lost allot of Other Peoples stuff when I lost my hard drive.

Update: Oh vince has posted that, sorry for not remembering.
b = b + ...
Reply
#43
(08-12-2022, 03:31 AM)bplus Wrote: OK I have reworked the slider code. Since it comes in a picture box there is already a label we can use to keep it self contained all-in-one slider box.
:
This works on Linux but requires a few modifications. You seem to be fond of putting spaces in filenames. Also remember Linux is a CaSe SENSItive operating system and therefore the filenames have to be given precisely in '$INCLUDE: line, as they are listed in file manager.

To make sure it works, I renamed BAS, BI and BM files. On Fedora 36 XFCE here's proof of it:
   
Reply
#44
Thanks for testing in Linux. I am fond of spaces in file names, it makes them very readable but I have been reading your comments and started "mending my ways" ;-)) 

I did name get_filename.exe an independent app I can shell to... oops Linux isn't going to like that, damn!

OK my GUI that uses get_filename isn't going to work in Linux unless maybe under Wine. 

@mnrvovrfc   ( < why isn't this tagging? )
So how can I run an exe from QB64 in Linux and come back to exactly where I was in the calling program?
I need that if I am going to try an make code work in Linux AND Windows. I can make concessions on filenames but I need a Shell equivalent.
b = b + ...
Reply
#45
You have to call "wine" on Linux so it executes Windows programs:

Code: (Select All)
dim a$
a$ = environ$("HOME")
a$ = "wine " + a$ + "/zapp/Wavosaur/Wavosaur.exe"
shell _hide a$
print "Did it work or not?!"
end

Of course, change "Wavosaur" and the paths to what you want to test. Remember the letter case of everything has to match!

This could depend on the version of Wine.  I have v7.12 on Fedora 36 XFCE which is almost the latest version. If you use Debian or anything based directly on it, they're still on v5; it might work but I should have tested that. Ubuntu is based on Debian but does things a bit differently and therefore could get Wine v6 with that and the other 'untus. I haven't tested that neither, I really should.

Wine on Debian should be able to handle nearly any QB64-created program while Galleon was the top man of the project (ie. 32-bit only).

Upon installing Wine it might ask to download "mono" module. This sucks because Wine is a big download already without it, and with "mono" included it could take as much as 1GB of hard disk space. If this is not done then some programs written c. 2012 and later might not work, otherwise those programs specifically compiled with M$ Visual Studio-dot-NET. You could forego "gecko" but as a result will not be able to open help files in CHM format.

One more thing to watch out for is that if your EXE file is 32-bit, you might have to make sure "multilib" mode is enabled on your Linux system. Some Linux distros like Void offer Wine in 64-bit only unless a package is downloaded so that 32-bit libraries as well as 64-bit are included in complex dependencies. A Wine install which is 64-bit only will refuse to run a 32-bit Windows program. Also when running "winecfg" it nags the user LOL telling him/her to install 32-bit edition even if it's not possible.

Even worse is conflicting releases of the same version, as I've experienced on EndeavourOS (based on Arch); I wanted both 32-bit and 64-bit Wine. While 32-bit was the absolute latest, 64-bit had various earlier releases and, after acquiring the former, when I tried to get the latter as well the package manager warned the two versions conflicted. The other thing was the 32-bit library was in the "standard" repository of that particular distro, while 64-bit was from the Arch Users Repository (AUR).

Maybe the forum doesn't let you tag me B+ because you already did so. LOL.
Reply
#46
(08-15-2022, 05:25 PM)mnrvovrfc Wrote: :
Even worse is conflicting releases of the same version, as I've experienced on EndeavourOS (based on Arch); I wanted both 32-bit and 64-bit Wine. While 32-bit was the absolute latest, 64-bit had various earlier releases and, after acquiring the former, when I tried to get the latter as well the package manager warned the two versions conflicted. The other thing was the 32-bit library was in the "standard" repository of that particular distro, while 64-bit was from the Arch Users Repository (AUR).
I wanted to correct this particular assertion recently. I installed EndeavourOS for the third time... although I didn't want to keep it because I made a wrong choice somewhere. I installed online the first two times, and offline the latest time. (Primarily it's the difference between wanting XFCE desktop environment and wanting something different.) But I was able to get 32-bit and 64-bit Wine in one pass, and the latest v7.15 with Linux kernel v5.19. Just try it instead of asking me about it. (shake head)
Reply
#47
(08-14-2022, 07:53 PM)vince Wrote: nice use of Steve's N2S$ (does that stand for number to Steve?)

It's Notation to String...   converts scientific notation into a string.  Wink
Reply
#48
OK the latest GUI Gradebook Editor app had me review things and start updates for QB64pe v3.4.1, mainly eliminating what I have been using for dialogs including an GUI get_Filename.exe app for getting filenames to work on. getting rid of mBox, and InputBox really lighten load on LOC for vs GUI.BI and BM. No more direntry.h file and all that either. another big change is elimination of font choice and height for the List Box Control. The Gradebook app showed that my valiant effort to use different fonts was costing too much time processing to get columns aligned with any font for pretty columns. I thought prompt scrolling with mouse wheel and column alignment more important than fancy font work.

So here is a zip pack of the collection of GUI apps all updated to vs GUI.BI and .BM 2022-12-01 and a snapshot of the manifest:
   

And the zip pk (you must have QB64pe v3.4.1 with the new Dialogs)


Attached Files
.zip   GUI Update 2022-12-01 pk.zip (Size: 665.32 KB / Downloads: 41)
b = b + ...
Reply
#49
And your first day of Christmas bonus:
GUI Memory Game also updated with 2022-12-01 Updates of vs GUI.BI and BM.
   

I had so much fun playing the Memory Game I almost forgot to finish the GUI Update for today!


Attached Files
.zip   GUI Memory Game.zip (Size: 817.13 KB / Downloads: 38)
b = b + ...
Reply
#50
Sweet! I made a memory game once, but I forgot where I put it.

+1

Pete
Reply




Users browsing this thread: 39 Guest(s)