Dialog Pop Up
#3
(2020-06-25, 11:37)oytschi Wrote: When playing around with the backgroundcolor tag, there is no change on the dialog window background itself.
 
From the skinning manual:-

Code:
backgroundcolor
Specifies whether the window needs clearing prior to rendering, and if so which colour to use. Defaults to clearing to black. Set to 0 (or 0x00000000) to have no clearing at all. If your skin always renders opaque textures over the entire screen (eg using a backdrop image or multiple backdrop images) then setting the background color to 0 is the most optimal value and may improve performance significantly on slow GPUs.

Setting to 0 makes the window effectively transparent and you can see the previous window through it.

I think most skinners / skins just use a fullscreen image control to clear the screen

Code:
<control type="image">
  <left>0</left>
  <top>0</top>
  <width>100%</width>
  <height>100%</height>
  <texture>black.png</texture>
</control>
Reply


Messages In This Thread
Dialog Pop Up - by oytschi - 2020-06-25, 11:37
RE: Dialog Pop Up - by pkscout - 2020-06-25, 18:02
RE: Dialog Pop Up - by roidy - 2020-06-25, 18:30
RE: Dialog Pop Up - by oytschi - 2020-06-26, 09:19
RE: Dialog Pop Up - by jurialmunkey - 2020-06-26, 13:11
Logout Mark Read Team Forum Stats Members Help
Dialog Pop Up0