QB64 Phoenix Edition v3.4.0 Released!
#1
QB64 Phoenix Edition v3.4.0!
https://github.com/QB64-Phoenix-Edition/...tag/v3.4.0

Enhancements
  • #189, #216, #225, #227, #230 - Added several cross-platform dialogs - @a740g, @mkilgore
    • The commands make a best-effort of determining the way to show the dialog based on what is provided by the system.
    • The follow new commands were added:

Bug Fixes
  • #218, #222 -
    setup_osx.command
    now works correctly when run from any directory - @mkilgore

Full Changelog: https://github.com/QB64-Phoenix-Edition/...0...v3.4.0
Reply
#2
Thumbs Up 
Wow that's gonna help! Long time needed dialogues a welcome sight!
b = b + ...
Reply
#3
Heart 
Thank you for this! I have finally updated from v3.1 unconditionally on Windows and Linux!

Goodby "xmessage" ROFLMAO well done! Although I find the MATE/XFCE notification window very annoying at times, it's cool to be able to come up with one of those too.

LOL actually tested with this code snippet:
Code: (Select All)
DIM x AS INTEGER
x = ASC("")

to create an error on purpose. In addition to the new statements and functions.
Reply
#4
Very cool stuff in this release, amigo!
Ask me about Windows API and maybe some Linux stuff
Reply
#5
What do you see these features being used for?
Reply
#6
(11-01-2022, 06:47 PM)Pete Wrote: What do you see these features being used for?

I could see people adding at least the open and save dialogs to their programs to enhance the user experience. Rather than having to create a dialog themselves, they can just use the native ones without all the guesswork.
Ask me about Windows API and maybe some Linux stuff
Reply
#7
That's probably what I used PCOPY and screens that appeared to create popup message boxes. Yeah, that's a bit of work, but at least it is fully customizable.

Pete
Reply
#8
compiled and testing under linux kde. so far, so good. great job.
Reply
#9
(11-01-2022, 06:47 PM)Pete Wrote: What do you see these features being used for?

   
   
Default worked, 17 Enter worked, Cancel as seen worked as expected.

I have to note the first time I used _InputBox, it used a different title than the one I spec'd, something about TinyDialog...?

The second time and every time after it behaved as expected.
b = b + ...
Reply
#10
I am not C savvy but I get this warning when building QB64 with another toolchain

Code: (Select All)
internal\c/parts/gui/tinyfiledialogs.c: In function 'tinyfd_openFileDialog':
internal\c/parts/gui/tinyfiledialogs.c:3112:1: warning: function may return address of local variable [-Wreturn-local-addr]
3112 | }
      | ^
internal\c/parts/gui/tinyfiledialogs.c:3060:14: note: declared here
3060 |         char lBuff[MAX_PATH_OR_CMD];
      |              ^~~~~
internal\c/parts/gui/tinyfiledialogs.c:3060:14: note: declared here

the warning is eliminated if you add static to the lBuff declaration

Code: (Select All)
static char lBuff[MAX_PATH_OR_CMD];
Reply




Users browsing this thread: 8 Guest(s)