Table of Contents

Class DisplayManager

Namespace
BSGameLib.Game
Assembly
BSGameLib.Game.dll

Lists the displays attached to the machine, and the fullscreen modes each supports. Read once, when created.

public class DisplayManager
Inheritance
DisplayManager
Inherited Members

Constructors

DisplayManager()

Creates the manager and reads the displays.

public DisplayManager()

Properties

Displays

The displays, in the order SDL lists them. Empty when none is found.

public List<DisplayInfo> Displays { get; }

Property Value

List<DisplayInfo>

PrimaryDisplay

The first display in Displays, or null when there are none.

public DisplayInfo PrimaryDisplay { get; }

Property Value

DisplayInfo