Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ ApplyBorderlessResolution()

static void Terraria.Main.ApplyBorderlessResolution ( Form form)
inlinestaticprivate

Definition at line 49217 of file Main.cs.

49218 {
49220 {
49222 System.Drawing.Rectangle bounds = Screen.FromPoint(form.Location).Bounds;
49223 form.Location = new System.Drawing.Point(bounds.X, bounds.Y);
49224 form.FormBorderStyle = FormBorderStyle.None;
49225 form.Width = bounds.Width;
49226 form.Height = bounds.Height;
49227 }
49228 }
static int screenBorderlessPendingResizes
Definition Main.cs:1727

References Terraria.Main.screenBorderlessPendingResizes.

Referenced by Terraria.Main.SetDisplayMode().