Title now works. holy poop.
This commit is contained in:
parent
653a7de562
commit
d9a5935cc6
Binary file not shown.
@ -806,6 +806,13 @@
|
|||||||
<param name="color">Color of all vertices of this rectangle.</param>
|
<param name="color">Color of all vertices of this rectangle.</param>
|
||||||
<param name="rotation">Rotation of rectangle. Default is 0 radians.</param>
|
<param name="rotation">Rotation of rectangle. Default is 0 radians.</param>
|
||||||
</member>
|
</member>
|
||||||
|
<member name="M:RecrownedAthenaeum.Render.RectangleRenderer.Draw(Microsoft.Xna.Framework.Rectangle,Microsoft.Xna.Framework.Color)">
|
||||||
|
<summary>
|
||||||
|
Draws the given rectangle.
|
||||||
|
</summary>
|
||||||
|
<param name="rectangle">Uses the x, y and dimensions to draw a rectangle.</param>
|
||||||
|
<param name="color">The color of the rectangle.</param>
|
||||||
|
</member>
|
||||||
<member name="T:RecrownedAthenaeum.Render.PrimitiveBatch">
|
<member name="T:RecrownedAthenaeum.Render.PrimitiveBatch">
|
||||||
<summary>
|
<summary>
|
||||||
A batch used to draw primitive shapes by batching together vertices.
|
A batch used to draw primitive shapes by batching together vertices.
|
||||||
@ -1248,7 +1255,7 @@
|
|||||||
The rotation of the image.
|
The rotation of the image.
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="P:RecrownedAthenaeum.UI.Modular.Modules.Image.Texture">
|
<member name="F:RecrownedAthenaeum.UI.Modular.Modules.Image.texture">
|
||||||
<summary>
|
<summary>
|
||||||
The texture to be rendered.
|
The texture to be rendered.
|
||||||
</summary>
|
</summary>
|
||||||
@ -1502,7 +1509,12 @@
|
|||||||
</member>
|
</member>
|
||||||
<member name="F:RecrownedAthenaeum.UI.Modular.UIModule.bounds">
|
<member name="F:RecrownedAthenaeum.UI.Modular.UIModule.bounds">
|
||||||
<summary>
|
<summary>
|
||||||
Bounds of this module.
|
The bounds before factoring in the origin.
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:RecrownedAthenaeum.UI.Modular.UIModule.ActualBounds">
|
||||||
|
<summary>
|
||||||
|
Bounds of this module (after factoring in the origin).
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="F:RecrownedAthenaeum.UI.Modular.UIModule.origin">
|
<member name="F:RecrownedAthenaeum.UI.Modular.UIModule.origin">
|
||||||
|
@ -37,7 +37,10 @@ namespace RhythmBullet.Screens.MainMenu
|
|||||||
|
|
||||||
public override void ApplySize(int width, int height)
|
public override void ApplySize(int width, int height)
|
||||||
{
|
{
|
||||||
title.Scale = (width - 40) / title.Texture.Width;
|
title.Scale = (width - 40) / title.texture.Width;
|
||||||
|
title.CenterOrigin();
|
||||||
|
title.bounds.X = width / 2;
|
||||||
|
title.bounds.Y = height / 2;
|
||||||
|
|
||||||
base.ApplySize(width, height);
|
base.ApplySize(width, height);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user