ProGUI V3 Alpha 3 Ready for testing!

Developed or developing a new product in PureBasic? Tell the world about it.
User avatar
Skipper
User
User
Posts: 71
Joined: Thu Dec 19, 2024 1:26 pm
Location: Europe

Re: ProGUI V3 Alpha 3 Ready for testing!

Post by Skipper »

Hi Chris,

this seems to work just fine on a Win11/Xeon box, and as you documented: showing the Win10 GUI emulation.

Using PureBasic 6.21 on:
  • Win-11 on x64 XEON
  • Mint Linux on x64 i3 and on x64 i5
  • MacOS Monterey on x64 MacBook Pro
  • Various Raspberry Pi's

PrincieD
Addict
Addict
Posts: 891
Joined: Wed Aug 10, 2005 2:08 pm
Location: Yorkshire, England
Contact:

Re: ProGUI V3 Alpha 3 Ready for testing!

Post by PrincieD »

Skipper wrote: Fri Jan 09, 2026 10:14 am Hi Chris,

this seems to work just fine on a Win11/Xeon box, and as you documented: showing the Win10 GUI emulation.
That's excellent, thanks Skipper! :)
ProGUI - Professional Graphical User Interface Library - http://www.progui.co.uk
PrincieD
Addict
Addict
Posts: 891
Joined: Wed Aug 10, 2005 2:08 pm
Location: Yorkshire, England
Contact:

Re: ProGUI V3 Alpha 3 Ready for testing!

Post by PrincieD »

Kind of wondering how best to solve an ease of use case. ProGUI V1xx used ToolBarImageButtonEx(ButtonID.l, Text$, *NormalImageID, *HotImageID, *DisabledImageID, Style.l). Where you would manually load in your images. Now it's all CSS .. ToolbarAddButton(name.s, text.s), Toolbar has a class and each button has a name so you edit the CSS for loading in an image...
ProGUI - Professional Graphical User Interface Library - http://www.progui.co.uk
pjay
Enthusiast
Enthusiast
Posts: 287
Joined: Thu Mar 30, 2006 11:14 am

Re: ProGUI V3 Alpha 3 Ready for testing!

Post by pjay »

Hi Chris,

Tested here (on Win 11 x64); Looked great, was smooth & reactive to all resizing I tried, great to see 8)

Is the UI layout logic your own, or is there some example PB code on the forum for it?
PrincieD
Addict
Addict
Posts: 891
Joined: Wed Aug 10, 2005 2:08 pm
Location: Yorkshire, England
Contact:

Re: ProGUI V3 Alpha 3 Ready for testing!

Post by PrincieD »

pjay wrote: Mon Jan 12, 2026 9:32 am Hi Chris,

Tested here (on Win 11 x64); Looked great, was smooth & reactive to all resizing I tried, great to see 8)

Is the UI layout logic your own, or is there some example PB code on the forum for it?
That's great to hear pjay! :) The UI layout logic is all my own. There's a basic layout with absolute positioned widgets, a flex layout (with all the features of a CSS Flexbox and a grid layout (with all the features of a CSS Grid layout). The skinned window resizing uses my own custom double buffered "window" compositor which eliminates all of the jumping/jittering/tearing you would normally see when resizing a DirectX window (so good to hear that's all working smooth and reactive!).
ProGUI - Professional Graphical User Interface Library - http://www.progui.co.uk
PrincieD
Addict
Addict
Posts: 891
Joined: Wed Aug 10, 2005 2:08 pm
Location: Yorkshire, England
Contact:

Re: ProGUI V3 Alpha 3 Ready for testing!

Post by PrincieD »

Hi guys, got the little exe app icon working in the top left of the Titlebar widget now (for full window skinning). There's a new LoadImgResource(Path.s, *lpName, *lpType, Flags = #Null) command in the GFX API which will load an icon into an img from an exe/dll resource (group icons working only at the moment) - it mimicks the Win32 commands (as this will be Windows only). So an empty Path will use the the current process exe (Hmodule). And the CSS skin background property "url()" function now recognizes a "url('exe-icon')" path which will either use what ever exe icon you've specified in PB's compiler options or the default app icon from 'user32.dll'. So the Titlebar widget CSS currently looks like this:

Code: Select all

SkinSetValue("exe-icon", "", "", "background", "url('exe-icon') no-repeat center")
Image
ProGUI - Professional Graphical User Interface Library - http://www.progui.co.uk
Post Reply