-
Notifications
You must be signed in to change notification settings - Fork 6
WindowBase.cs
Charles Humphrey edited this page Nov 16, 2017
·
1 revision
This class is the base for all Window code in the basic UI system. It derives from ControlBase
This is fired when the close button is clicked, but before the final close.
This is fired when the window is closed.
If True, the window can be re sized.
This is the minimum size the window can be resized too.
WindowBase(Game game, Rectangle sizeRect, string fontAsset, string titleText, string backgroundAsset = null)
Constructor.
As well as calling base.Update(gameTime), this method then goes on to ensure that it's base controls, title bar, close button, re size button are all in the right position and size.