Skip to content
This repository has been archived by the owner on Aug 14, 2022. It is now read-only.

Commit

Permalink
Loop de luup
Browse files Browse the repository at this point in the history
lööp
  • Loading branch information
ZuliusRoolf committed Nov 13, 2019
1 parent 36398df commit d79d325
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PartiAppen/PartiAppen/MenuManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ public void LoadMenu(ContentManager content)
// Logo
menu.Pages[(int)Menues.Menu].AddImage(new Image(logo, logoRect));
// circle around logo
int circleSize = 590;
menu.Pages[(int)Menues.Menu].AdvancedImages.Add(new AdvancedImage(circle, new Rectangle(new Point((int)(logoRect.Location.X * 1.5f), (int)(logoRect.Location.Y * 1.5f)), new Point(circleSize)), logoBlue, 0f, new Vector2(circleSize /2f)));
int circleSize = (circle.Height + circle.Width)/2;
menu.Pages[(int)Menues.Menu].AdvancedImages.Add(new AdvancedImage(circle, new Rectangle(new Point((int)(720/2), (int)((logoRect.Location.Y + logoRect.Height)/2) + 0), new Point(circleSize)), logoBlue, 0f, new Vector2(circleSize/2)));

// Buttons
menu.Pages[(int)Menues.Menu].AddButtonList(menuFont, mainRec, 80f, new[] { "Vårt Program", "Om Oss", "Press" }, padding, logoBlue, logoYellow, new Action[] {() => SetMenuState(Menues.Program), () => SetMenuState(Menues.OmOss), () => SetMenuState(Menues.Press)});
Expand Down

0 comments on commit d79d325

Please sign in to comment.