ProGUI Update, Graph Library and Experimental V2

Developed or developing a new product in PureBasic? Tell the world about it.
PrincieD
Enthusiast
Enthusiast
Posts: 642
Joined: Wed Aug 10, 2005 2:08 pm
Location: Yorkshire, England
Contact:

Re: ProGUI Update, Graph Library and Experimental V2

Post by PrincieD »

coffee wrote:windows 7 is not needed for me
Cool, thanks Coffee (windows 7 with the latest service pack should work though).
ProGUI - Professional Graphical User Interface Library - http://www.progui.co.uk
wombats
Enthusiast
Enthusiast
Posts: 663
Joined: Thu Dec 29, 2011 5:03 pm

Re: ProGUI Update, Graph Library and Experimental V2

Post by wombats »

PrincieD wrote:Is anyone bothered about support for OSs older than Windows 7 in V2? Initially it will only be >= 7. I'm currently in the middle of getting high DPI working with independent per window DPI (Windows 10) - so you can have different windows of your app on different monitors with separate DPI. I'm thinking the "LoadImg" command could take semicolon separated filenames for different DPI versions.

Chris.
I think Windows 7 as the minimum is okay. It is over ten years old at this point, though it holds nearly 30% of the market, apparently.
Bitblazer
Enthusiast
Enthusiast
Posts: 733
Joined: Mon Apr 10, 2017 6:17 pm
Location: Germany
Contact:

Re: ProGUI Update, Graph Library and Experimental V2

Post by Bitblazer »

And we should not forget that windows 7 support has already ended. Don't waste too much time or effort in trying to support long outdated systems. It might just be your loss. If people later offer cash to you to support older systems - you can always offer to support even windows 95 if they pay for it ;)

win7 as minimum sounds fine.
webpage - discord chat links -> purebasic GPT4All
PrincieD
Enthusiast
Enthusiast
Posts: 642
Joined: Wed Aug 10, 2005 2:08 pm
Location: Yorkshire, England
Contact:

Re: ProGUI Update, Graph Library and Experimental V2

Post by PrincieD »

Cheers guys that's kind of what I was thinking :)
ProGUI - Professional Graphical User Interface Library - http://www.progui.co.uk
PrincieD
Enthusiast
Enthusiast
Posts: 642
Joined: Wed Aug 10, 2005 2:08 pm
Location: Yorkshire, England
Contact:

Re: ProGUI Update, Graph Library and Experimental V2

Post by PrincieD »

Just got the latest version of Direct2D working (no support for Vista lol) :) This took a fair bit of reworking (DirectX swapchains etc..) but should bennefit from faster rendering and nice realtime pixel shader effects like blur etc..
ProGUI - Professional Graphical User Interface Library - http://www.progui.co.uk
jacky
User
User
Posts: 63
Joined: Mon Jan 21, 2019 1:41 pm

Re: ProGUI Update, Graph Library and Experimental V2

Post by jacky »

This library doesn't support all gui elements (gadgets) that PB has inbuilt, right?
E.g. ListIconGadgets. So that skinning would only work for the ones that ProGUI can handle?
PrincieD
Enthusiast
Enthusiast
Posts: 642
Joined: Wed Aug 10, 2005 2:08 pm
Location: Yorkshire, England
Contact:

Re: ProGUI Update, Graph Library and Experimental V2

Post by PrincieD »

jacky wrote:This library doesn't support all gui elements (gadgets) that PB has inbuilt, right?
E.g. ListIconGadgets. So that skinning would only work for the ones that ProGUI can handle?
Hi Jacky, yep that's correct.

Chris.
ProGUI - Professional Graphical User Interface Library - http://www.progui.co.uk
jacky
User
User
Posts: 63
Joined: Mon Jan 21, 2019 1:41 pm

Re: ProGUI Update, Graph Library and Experimental V2

Post by jacky »

Ok, thanks. Unfortunately, not a license for me :cry:
PrincieD
Enthusiast
Enthusiast
Posts: 642
Joined: Wed Aug 10, 2005 2:08 pm
Location: Yorkshire, England
Contact:

Re: ProGUI Update, Graph Library and Experimental V2

Post by PrincieD »

jacky wrote:Ok, thanks. Unfortunately, not a license for me :cry:
No worries Jacky, thanks for your interest.
ProGUI - Professional Graphical User Interface Library - http://www.progui.co.uk
ozzie
Enthusiast
Enthusiast
Posts: 429
Joined: Sun Apr 06, 2008 12:54 pm
Location: Brisbane, Qld, Australia
Contact:

Re: ProGUI Update, Graph Library and Experimental V2

Post by ozzie »

jacky wrote:Ok, thanks. Unfortunately, not a license for me :cry:
FYI, ditto for me, for the same reason.
PrincieD
Enthusiast
Enthusiast
Posts: 642
Joined: Wed Aug 10, 2005 2:08 pm
Location: Yorkshire, England
Contact:

Re: ProGUI Update, Graph Library and Experimental V2

Post by PrincieD »

Just incase there's any confusion ProGUI controls can be mixed and matched with none ProGUI controls and the license also covers the GraphLibrary and ProGUI V2 (when released).

Chris.
Last edited by PrincieD on Wed Jul 29, 2020 10:39 pm, edited 1 time in total.
ProGUI - Professional Graphical User Interface Library - http://www.progui.co.uk
jacky
User
User
Posts: 63
Joined: Mon Jan 21, 2019 1:41 pm

Re: ProGUI Update, Graph Library and Experimental V2

Post by jacky »

can be mixed and matched with none ProGUI controls
If this is done, how is the window resizing handled, will _all_ gadgets be resized correctly and (when it has been added) will dpi awareness work flawlessly too in this case?
PrincieD
Enthusiast
Enthusiast
Posts: 642
Joined: Wed Aug 10, 2005 2:08 pm
Location: Yorkshire, England
Contact:

Re: ProGUI Update, Graph Library and Experimental V2

Post by PrincieD »

jacky wrote:
can be mixed and matched with none ProGUI controls
If this is done, how is the window resizing handled, will _all_ gadgets be resized correctly and (when it has been added) will dpi awareness work flawlessly too in this case?
Currently this is done using a PanelEx usercallback http://www.progui.co.uk/HTML/createpanelex.html however in V2 it will be done using a flex layout manager.

Code: Select all

; An example of using the UserCallback feature is automatic resizing of a PanelEx contents when it's resized, the following demonstrates automatic resizing of a ListIcon gadget inside a PanelEx Page when the PanelEx size is changed: -

Procedure myPanelCallback(window, message, wParam, lParam)

  Select message
    Case #WM_SIZE

      MoveWindow_(GadgetID(#ListIcon_1), 0, 0, LWord(lParam), HWord(lParam), #False)

  EndSelect

EndProcedure
Chris.
ProGUI - Professional Graphical User Interface Library - http://www.progui.co.uk
PrincieD
Enthusiast
Enthusiast
Posts: 642
Joined: Wed Aug 10, 2005 2:08 pm
Location: Yorkshire, England
Contact:

Re: ProGUI Update, Graph Library and Experimental V2

Post by PrincieD »

Hi guys, just a quick update on V2. I've dropped the SwapChain method of displaying the Direct3D surface on the window as I was getting some occasional glitches/artifacts when resizing the window (and flipping the buffer rather than discarding it was too sluggish). The new rendering engine now integrates directly into the Windows DWM using DirectComposition which is now silky smooth and no artifacts when resizing :)

Chris.
ProGUI - Professional Graphical User Interface Library - http://www.progui.co.uk
User avatar
blueb
Addict
Addict
Posts: 1041
Joined: Sat Apr 26, 2003 2:15 pm
Location: Cuernavaca, Mexico

Re: ProGUI Update, Graph Library and Experimental V2

Post by blueb »

Thanks Chris

Looking forward to any news :lol:
- It was too lonely at the top.

System : PB 6.10 Beta 9 (x64) and Win Pro 11 (x64)
Hardware: AMD Ryzen 9 5900X w/64 gigs Ram, AMD RX 6950 XT Graphics w/16gigs Mem
Post Reply