aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS_TheReturn/Desktop.cs
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-02-02 13:51:29 -0500
committerMichael <[email protected]>2017-02-02 13:51:29 -0500
commit3a41ba45e7ac0df930066a79540f82544dbd8114 (patch)
tree341d707da673b0db997b5b4f93a4a3e42d047259 /ShiftOS_TheReturn/Desktop.cs
parente55e195d88ba4a3bfea47cb8784564a43f426e48 (diff)
downloadshiftos_thereturn-3a41ba45e7ac0df930066a79540f82544dbd8114.tar.gz
shiftos_thereturn-3a41ba45e7ac0df930066a79540f82544dbd8114.tar.bz2
shiftos_thereturn-3a41ba45e7ac0df930066a79540f82544dbd8114.zip
Redesign the Infobox, categorize AL items
Diffstat (limited to 'ShiftOS_TheReturn/Desktop.cs')
-rw-r--r--ShiftOS_TheReturn/Desktop.cs5
1 files changed, 4 insertions, 1 deletions
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
/// <param name="name">The text displayed on the launcher item</param>
/// <param name="requiresUpgrade">Whether or not an upgrade must be installed to see the launcher</param>
/// <param name="upgradeID">The ID of the upgrade - leave blank if requiresUpgrade is false.</param>
- public LauncherAttribute(string name, bool requiresUpgrade, string upgradeID = "")
+ /// <param name="category">The category that the item will appear in.</param>
+ 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