Skip to content

Commit

Permalink
apps folder 📁
Browse files Browse the repository at this point in the history
  • Loading branch information
PratyushKing committed Sep 23, 2023
1 parent 75fdcb3 commit f13abbd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions HelpWindow.cs → Apps/HelpWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@
using WaveOS.GraphicsWidgets;
using WaveOS.WinManager;

namespace WaveOS
namespace WaveOS.Apps
{
internal class HelpWindow
{
public window newWin;
public HelpWindow()
{
newWin = new window(Controls, "Help");
newWin.x = WaveConfigs.defaultWindowPositionX - 150;
newWin.y = WaveConfigs.defaultWindowPositionY - 100;
newWin = new window(Controls, "About");
newWin.x = WaveConfigs.defaultWindowPositionX;
newWin.y = WaveConfigs.defaultWindowPositionY;
newWin.width = 150;
newWin.height = 100;
newWin.wndType = WINDOWTYPE.Normal;
Expand All @@ -25,7 +25,7 @@ public HelpWindow()

public void Controls()
{
Button btnOk = new(newWin, 10, 45, 90, 30, "Ok", 11,11,11);
Button btnOk = new(newWin, 10, 50, 135, 25, "Ok", 11,11,11);
Label lblInfo = new(newWin, 10, 15, WaveConfigs.osNameVersion, 50, 50, 50);

lblInfo.draw();
Expand Down
1 change: 1 addition & 0 deletions Kernel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
using System;
using Cosmos.System;
using System.Threading;
using WaveOS.Apps;

namespace WaveOS
{
Expand Down
1 change: 0 additions & 1 deletion SystemMenus/topmenu.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ namespace WaveOS.SystemMenus
internal class topmenu
{
public int menuHeight = 25;

public int menuR = 50;
public int menuG = 50;
public int menuB = 50;
Expand Down

0 comments on commit f13abbd

Please # to comment.