diff --git a/sources/engine/Stride.Games/Desktop/GameWindowWinforms.cs b/sources/engine/Stride.Games/Desktop/GameWindowWinforms.cs index 5cd805665d..476dd257cc 100644 --- a/sources/engine/Stride.Games/Desktop/GameWindowWinforms.cs +++ b/sources/engine/Stride.Games/Desktop/GameWindowWinforms.cs @@ -334,6 +334,8 @@ public override bool IsBorderLess } } } + + public override bool IsBackGroundTransparent { get; set; } private void UpdateFormBorder() { diff --git a/sources/engine/Stride.Games/GameWindow.cs b/sources/engine/Stride.Games/GameWindow.cs index e1e149ccd9..709f71d16a 100644 --- a/sources/engine/Stride.Games/GameWindow.cs +++ b/sources/engine/Stride.Games/GameWindow.cs @@ -114,7 +114,7 @@ public abstract class GameWindow : ComponentBase /// Gets or sets a value indicating whether the mouse pointer is visible over this window. /// /// true if this instance is mouse visible; otherwise, false. - public abstract bool IsMouseVisible { get; set; } + public abstract bool IsMouseVisible { get; set; } /// /// Gets the native window. @@ -127,6 +127,7 @@ public abstract class GameWindow : ComponentBase /// /// true if visible; otherwise, false. public abstract bool Visible { get; set; } + /// /// Gets or sets the position of the window on the screen. @@ -138,6 +139,12 @@ public abstract class GameWindow : ComponentBase /// /// true if this window has a border; otherwise, false. public abstract bool IsBorderLess { get; set; } + + /// + /// Gets or sets a value indicating whether this window background is transparent. + /// + /// true if this window background is transparent; otherwise, false. + public abstract bool IsBackGroundTransparent { get; set; } /// /// Gets or sets the title of the window. diff --git a/sources/engine/Stride.Games/SDL/GameWindowSDL.cs b/sources/engine/Stride.Games/SDL/GameWindowSDL.cs index 4baa81c48e..77da745ab5 100644 --- a/sources/engine/Stride.Games/SDL/GameWindowSDL.cs +++ b/sources/engine/Stride.Games/SDL/GameWindowSDL.cs @@ -305,6 +305,8 @@ public override bool IsBorderLess } } } + + public override bool IsBackGroundTransparent { get; set; } private void UpdateFormBorder() {