Skip to content
This repository was archived by the owner on Oct 12, 2023. It is now read-only.

Commit

Permalink
Updated menu design
Browse files Browse the repository at this point in the history
  • Loading branch information
lnx00 committed Feb 16, 2022
1 parent 4786651 commit 436ec24
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 10 deletions.
33 changes: 25 additions & 8 deletions Fedoraloader/MainWindow.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Fedoraloader/MainWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ int nHeightEllipse
public static bool IsElevated => new WindowsPrincipal(WindowsIdentity.GetCurrent()).IsInRole(WindowsBuiltInRole.Administrator);

private Point _mouseStartPos;
private string _workDir; // Fallback folder
private string _workDir;

public MainWindow()
{
InitializeComponent();
Region = Region.FromHrgn(CreateRoundRectRgn(0, 0, Width, Height, 25, 25));
Region = Region.FromHrgn(CreateRoundRectRgn(0, 0, Width, Height, 15, 15));

// Check for administrator rights
if (!IsElevated)
Expand Down
10 changes: 10 additions & 0 deletions Fedoraloader/Properties/Resources.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions Fedoraloader/Properties/Resources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -121,4 +121,7 @@
<data name="logo" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\img\logo.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="gradient" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\img\gradient.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
</root>
Binary file added Fedoraloader/img/gradient.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 436ec24

Please sign in to comment.