Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions sources/engine/Stride.Games/Desktop/GameWindowWinforms.cs
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,8 @@ public override bool IsBorderLess
}
}
}

public override bool IsBackGroundTransparent { get; set; }

private void UpdateFormBorder()
{
Expand Down
9 changes: 8 additions & 1 deletion sources/engine/Stride.Games/GameWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public abstract class GameWindow : ComponentBase
/// Gets or sets a value indicating whether the mouse pointer is visible over this window.
/// </summary>
/// <value><c>true</c> if this instance is mouse visible; otherwise, <c>false</c>.</value>
public abstract bool IsMouseVisible { get; set; }
public abstract bool IsMouseVisible { get; set; }

/// <summary>
/// Gets the native window.
Expand All @@ -127,6 +127,7 @@ public abstract class GameWindow : ComponentBase
/// </summary>
/// <value><c>true</c> if visible; otherwise, <c>false</c>.</value>
public abstract bool Visible { get; set; }


/// <summary>
/// Gets or sets the position of the window on the screen.
Expand All @@ -138,6 +139,12 @@ public abstract class GameWindow : ComponentBase
/// </summary>
/// <value><c>true</c> if this window has a border; otherwise, <c>false</c>.</value>
public abstract bool IsBorderLess { get; set; }

/// <summary>
/// Gets or sets a value indicating whether this window background is transparent.
/// </summary>
/// <value><c>true</c> if this window background is transparent; otherwise, <c>false</c>.</value>
public abstract bool IsBackGroundTransparent { get; set; }

/// <summary>
/// Gets or sets the title of the window.
Expand Down
2 changes: 2 additions & 0 deletions sources/engine/Stride.Games/SDL/GameWindowSDL.cs
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,8 @@ public override bool IsBorderLess
}
}
}

public override bool IsBackGroundTransparent { get; set; }

private void UpdateFormBorder()
{
Expand Down