ProGUI V3 Alpha 3 Ready for testing!

Developed or developing a new product in PureBasic? Tell the world about it.
Bitblazer
Enthusiast
Enthusiast
Posts: 766
Joined: Mon Apr 10, 2017 6:17 pm
Location: Germany
Contact:

Re: ProGUI V3 Alpha 3 Ready for testing!

Post by Bitblazer »

PrincieD wrote: Sun Aug 17, 2025 11:53 pm
idle wrote: Sun Aug 17, 2025 10:22 pm Sweating in the uk 🇬🇧 is a thing now. 😳
It is we don't have vents! we do have radiators though :lol:
Thats why i love my ventilator with watercooling. The important element is the water cooling. IT is simple and cheap to lower the temperature of the water, by cooling the water down by several degrees. That lowers the room temperature by a few degrees and is a rather affordable and easy to do method to cool down your working/sleeping room in combination with the fridge you aleady own.
PrincieD
Addict
Addict
Posts: 870
Joined: Wed Aug 10, 2005 2:08 pm
Location: Yorkshire, England
Contact:

Re: ProGUI V3 Alpha 3 Ready for testing!

Post by PrincieD »

Bitblazer wrote: Tue Aug 19, 2025 8:54 am
PrincieD wrote: Sun Aug 17, 2025 11:53 pm
idle wrote: Sun Aug 17, 2025 10:22 pm Sweating in the uk 🇬🇧 is a thing now. 😳
It is we don't have vents! we do have radiators though :lol:
Thats why i love my ventilator with watercooling. The important element is the water cooling. IT is simple and cheap to lower the temperature of the water, by cooling the water down by several degrees. That lowers the room temperature by a few degrees and is a rather affordable and easy to do method to cool down your working/sleeping room in combination with the fridge you aleady own.
That's a good system, I haven't heard of water cooling in homes before. Air conditioning isn't really a thing in the UK too (apart from shops and offices) because our climiate is generally cold (so we have radiators) this is why when we do have heat waves we're totally not prepared for it.
ProGUI - Professional Graphical User Interface Library - http://www.progui.co.uk
Zach
Addict
Addict
Posts: 1677
Joined: Sun Dec 12, 2010 12:36 am
Location: Somewhere in the midwest
Contact:

Re: ProGUI V3 Alpha 3 Ready for testing!

Post by Zach »

You guys need to be extremely aware that Evaporative coolers can make your comfort much worse. You are dumping all that moisture into the air, so you will end up with a slightly cooler environment, yes, but it will also be much more humid. Humid air holds more water by virtue of the fact it is warmer. SO you can end up with not much temperature reduction, but a muggy environment.

Better off to save up your money and buy a window unit of some sort for a dedicated room, or if you have the airflow, one or two units to help cool down the whole house. Of course that will also depend on electricity prices, but I know I'd never dream of using an evaporative cooler unless I lived in the literal desert (a hot and dry environment with low humidity).

In the USA they are nicknamed "swamp coolers" because that's what they turn the environment into.
Zach
Addict
Addict
Posts: 1677
Joined: Sun Dec 12, 2010 12:36 am
Location: Somewhere in the midwest
Contact:

Re: ProGUI V3 Alpha 3 Ready for testing!

Post by Zach »

Hey Chris,

hope you didn't get cooked alive 8)
PrincieD
Addict
Addict
Posts: 870
Joined: Wed Aug 10, 2005 2:08 pm
Location: Yorkshire, England
Contact:

Re: ProGUI V3 Alpha 3 Ready for testing!

Post by PrincieD »

Zach wrote: Sun Oct 12, 2025 2:47 am Hey Chris,

hope you didn't get cooked alive 8)
:lol: barely lol Thankfully autumn is here now!
ProGUI - Professional Graphical User Interface Library - http://www.progui.co.uk
PrincieD
Addict
Addict
Posts: 870
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, back on track now after having a bit of a break.

Skins now support global variables (which are accessible by all skins) with the new SkinSetGlobalVariable(Name.s, Value.s, noUpdate = #False) command. e.g. SkinSetGlobalVariable("my-color", "rgb(255, 0, 0)") So skin CSS examples look like this:

Code: Select all

SkinSetValue("titlebar", "", "", "background", "var(color-accent)")
SkinSetValue("titlebar", "", "", "background", "linear-gradient(var(color-accent), var(color-accent-dark1))")
SkinSetValue("window", "", "", "border", "1px var(color-winborder-active) mask-inner")
The SkinSetGlobalVariable() command by default will automatically update all windows / widgets with a skin and any property value that has the global variable specified with the CSS 'var()' command (without the '--' prefix). The Value parameter can be anything for example it could be "url('Icons/Window/96_minDark_n.png')" so think of the CSS var() command like a macro replacement.

This was needed with full window skinning to correctly grab the system colours (accent) etc dynamically. Currently implemented global variables:

Code: Select all

color-accent
color-accent-dark1
color-accent-dark2
color-accent-dark3
color-accent-light1
color-accent-light2
color-accent-light3
color-foreground
color-background
color-winborder-active
color-winborder-inactive
The cool thing is when creating your own custom widgets you can respect the user's choosen accent color easily etc.. and this will automatically update when the user changes their settings.
ProGUI - Professional Graphical User Interface Library - http://www.progui.co.uk
PrincieD
Addict
Addict
Posts: 870
Joined: Wed Aug 10, 2005 2:08 pm
Location: Yorkshire, England
Contact:

Re: ProGUI V3 Alpha 3 Ready for testing!

Post by PrincieD »

Image

Code: Select all

SkinSetValue("window", "", "", "border-radius", "10px")
- Running on Windows 10
Ignore the red drop-shadow (SkinSetValue("window", "", "", "box-shadow", "0 0 20px red")) - that's still for testing
ProGUI - Professional Graphical User Interface Library - http://www.progui.co.uk
Post Reply