Re: ProGUI V3 Alpha 3 Ready for testing!
Posted: Mon Mar 03, 2025 10:52 pm
https://www.youtube.com/shorts/Cf_oMx4aHgw
Hi guys, quick update!
The "background" skin CSS property is almost complete now (just gradients to add).
background-position-x, background-position-y, background-size and background-repeat are fully working with images (exactly the same syntax and functionality as Web CSS) with the addition of background-opacity (which is a ProGUI specific extension and a bit of a game changer, no Web browser supports individual image/gradient opacity and animation transitions).
Getting background-position-x / y working correctly with background-size was an absolute bugger due to the added complexity of being able to transition between an absolute pixel value and a percentage of the drawing area's corresponding dimension (width / height) which can change from frame to frame plus the background-size which might also be currently animating - I'll spare the details but it's working now lol (took me about a week of hair pulling and going round in circles).
So yep just gradients to add now (linear and radial), hopefully should just plug into the existing code. Oh and 'background-attachment' which will plug into the widget's layout scroll offset if it has a layout.
Cheers!
Chris.
Hi guys, quick update!
The "background" skin CSS property is almost complete now (just gradients to add).
background-position-x, background-position-y, background-size and background-repeat are fully working with images (exactly the same syntax and functionality as Web CSS) with the addition of background-opacity (which is a ProGUI specific extension and a bit of a game changer, no Web browser supports individual image/gradient opacity and animation transitions).
Getting background-position-x / y working correctly with background-size was an absolute bugger due to the added complexity of being able to transition between an absolute pixel value and a percentage of the drawing area's corresponding dimension (width / height) which can change from frame to frame plus the background-size which might also be currently animating - I'll spare the details but it's working now lol (took me about a week of hair pulling and going round in circles).
So yep just gradients to add now (linear and radial), hopefully should just plug into the existing code. Oh and 'background-attachment' which will plug into the widget's layout scroll offset if it has a layout.
Cheers!
Chris.