PureBasic Forum
https://www.purebasic.fr/english/

SWV: A simple HTML/JS desktop GUI engine for PB
https://www.purebasic.fr/english/viewtopic.php?f=7&t=74582
Page 5 of 5

Author:  Little John [ Mon Nov 02, 2020 3:05 pm ]
Post subject:  Re: SWV: A simple HTML/JS desktop GUI engine for PB

Hi firace,

I wanted to take a closer look at SWV, and to test whether I'd be able to create the GUI of my current project with it.

I downloaded the ZIP archive about half an hour ago. When executing SWV_Demo1.exe (or SWV_Demo1.pb with PB 5.72), I get the following error message:
Quote:
Note: This is a temporary demo version of the SWV library and expires after 21 days.
and then the program quits.

So it seems to be expired already. Maybe you can provide a recent version of SWV that we can use for testing?

Author:  firace [ Thu Nov 05, 2020 10:38 am ]
Post subject:  Re: SWV: A simple HTML/JS desktop GUI engine for PB

Little John wrote:
Hi firace,

I wanted to take a closer look at SWV, and to test whether I'd be able to create the GUI of my current project with it.

I downloaded the ZIP archive about half an hour ago. When executing SWV_Demo1.exe (or SWV_Demo1.pb with PB 5.72), I get the following error message:
Quote:
Note: This is a temporary demo version of the SWV library and expires after 21 days.
and then the program quits.

So it seems to be expired already. Maybe you can provide a recent version of SWV that we can use for testing?


Hi Little John,
I have just posted an updated demo. Feel free to try again, and let me know if you have any questions. :)

Author:  Josepho [ Tue Nov 17, 2020 1:08 am ]
Post subject:  Re: SWV: A simple HTML/JS desktop GUI engine for PB

Hello, i would be interested on this, but im a mac user so i cant test it :S

Author:  Kukulkan [ Tue Nov 17, 2020 8:33 am ]
Post subject:  Re: SWV: A simple HTML/JS desktop GUI engine for PB

I'm also interested but need cross platform (Win/Lin/Mac). So this does not apply, right? I do daily work on Linux (OpenSUSE). So I can't test :cry:

Author:  nicolaus [ Mon Dec 14, 2020 9:22 am ]
Post subject:  Re: SWV: A simple HTML/JS desktop GUI engine for PB

Hi,

I'm not able to run the DEMO at all.
If i start the SWV_Demo1.exe, e message shows that this is a demo and will only run for the next 21 days.

If i try the code in PB, with x64 version of PB, i get a memory exception in line
Code:
SWV_New (0, 0, 0, 990, 480,  main_UI_filepath$, WindowID(0


If i try it with x86 version of PV, i get a memory exception in line
Code:
e = WaitWindowEvent()


So the 21 days are from the date where you created the DEMO or for the first use per user?

May be you can upload a new demo?

Thank you

Author:  firace [ Mon Dec 14, 2020 4:54 pm ]
Post subject:  Re: SWV: A simple HTML/JS desktop GUI engine for PB

@Nicolaus

Thank you for trying it. The demo DLL is valid for 3 weeks from its compilation date. I have just posted a new version that you can try. Note that only a 32-bit version is available right now. I can make a 64-bit version if needed. Don’t hesitate let me know if you encounter any further issues or have suggestions for new features.

Author:  firace [ Thu Jan 21, 2021 9:12 am ]
Post subject:  Re: SWV: A simple HTML/JS desktop GUI engine for PB

An updated screenshot of a modern window example:

Image

Keep in mind, SWV provides the core modern window infrastructure, but does not cover the design and management of HTML UI controls.

If this scares you and you prefer to reuse your existing UI work and save yourself the time/hassle of revamping the entire interface of your programs, you can use the new hybrid mode, allowing to use classic PB gadgets in a modern window frame:

Image

Note: SWV is based on the Trident rendering engine, which is extremely lightweight, does its job very well for most UI purposes, and is present by default on all Windows versions. But if there are enough interested users to support a Chromium-based version, I will definitely work on it!

Author:  firace [ Thu Jan 21, 2021 10:42 am ]
Post subject:  Re: SWV: A simple HTML/JS desktop GUI engine for PB

Kukulkan wrote:
I'm also interested but need cross platform (Win/Lin/Mac). So this does not apply, right? I do daily work on Linux (OpenSUSE). So I can't test :cry:


Sorry, Windows only for now.

Author:  fluent [ Fri Feb 19, 2021 9:42 am ]
Post subject:  Re: SWV: A simple HTML/JS desktop GUI engine for PB

Played around with hybrid mode and created my first "win10-looking" PB app!
Thanks for the great library (and one-on-one support).
Very impressed by the small binary size.

Image

Page 5 of 5 All times are UTC + 1 hour
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/