Title now works. holy poop.
This commit is contained in:
		
										
											Binary file not shown.
										
									
								
							| @@ -806,6 +806,13 @@ | ||||
|             <param name="color">Color of all vertices of this rectangle.</param> | ||||
|             <param name="rotation">Rotation of rectangle. Default is 0 radians.</param> | ||||
|         </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"> | ||||
|             <summary> | ||||
|             A batch used to draw primitive shapes by batching together vertices. | ||||
| @@ -1248,7 +1255,7 @@ | ||||
|             The rotation of the image. | ||||
|             </summary> | ||||
|         </member> | ||||
|         <member name="P:RecrownedAthenaeum.UI.Modular.Modules.Image.Texture"> | ||||
|         <member name="F:RecrownedAthenaeum.UI.Modular.Modules.Image.texture"> | ||||
|             <summary> | ||||
|             The texture to be rendered. | ||||
|             </summary> | ||||
| @@ -1502,7 +1509,12 @@ | ||||
|         </member> | ||||
|         <member name="F:RecrownedAthenaeum.UI.Modular.UIModule.bounds"> | ||||
|             <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> | ||||
|         </member> | ||||
|         <member name="F:RecrownedAthenaeum.UI.Modular.UIModule.origin"> | ||||
|   | ||||
| @@ -37,7 +37,10 @@ namespace RhythmBullet.Screens.MainMenu | ||||
|  | ||||
|         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); | ||||
|         } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user