From 3a41ba45e7ac0df930066a79540f82544dbd8114 Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 2 Feb 2017 13:51:29 -0500 Subject: Redesign the Infobox, categorize AL items --- ShiftOS_TheReturn/Desktop.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'ShiftOS_TheReturn/Desktop.cs') diff --git a/ShiftOS_TheReturn/Desktop.cs b/ShiftOS_TheReturn/Desktop.cs index cadfa6d..3f9a88c 100644 --- a/ShiftOS_TheReturn/Desktop.cs +++ b/ShiftOS_TheReturn/Desktop.cs @@ -44,8 +44,10 @@ namespace ShiftOS.Engine /// The text displayed on the launcher item /// Whether or not an upgrade must be installed to see the launcher /// The ID of the upgrade - leave blank if requiresUpgrade is false. - public LauncherAttribute(string name, bool requiresUpgrade, string upgradeID = "") + /// The category that the item will appear in. + public LauncherAttribute(string name, bool requiresUpgrade, string upgradeID = "", string category = "Other") { + Category = category; Name = name; RequiresUpgrade = requiresUpgrade; ID = upgradeID; @@ -54,6 +56,7 @@ namespace ShiftOS.Engine public string Name { get; set; } public bool RequiresUpgrade { get; set; } public string ID { get; set; } + public string Category { get; private set; } public bool UpgradeInstalled { get -- cgit v1.2.3