diff --git a/MatterControlLib/ApplicationView/WidescreenPanel.cs b/MatterControlLib/ApplicationView/WidescreenPanel.cs index 2cac79e60..76011ef7c 100644 --- a/MatterControlLib/ApplicationView/WidescreenPanel.cs +++ b/MatterControlLib/ApplicationView/WidescreenPanel.cs @@ -170,6 +170,26 @@ namespace MatterHackers.MatterControl popupMenu.CreateHorizontalLine(); + var themeRow = new GuiWidget() + { + HAnchor = HAnchor.Stretch, + VAnchor = VAnchor.Fit, + }; + + themeRow.AddChild(new TextWidget("Theme".Localize(), pointSize: menuTheme.DefaultFontSize, textColor: menuTheme.Colors.PrimaryTextColor) + { + VAnchor = VAnchor.Center, + }); + + themeRow.AddChild(new ThemeColorPanel.AccentColorsWidget(AppContext.ThemeSet, 16, 2) + { + HAnchor = HAnchor.Right + }); + + menuItem = popupMenu.CreateMenuItem(themeRow, "Theme Menu Item", AggContext.StaticData.LoadIcon("theme.png", 16, 16, menuTheme.InvertIcons)); + + popupMenu.CreateHorizontalLine(); + menuItem = popupMenu.CreateMenuItem("About".Localize() + " MatterControl", indicatorIcon); menuItem.Click += (s, e) => ApplicationController.Instance.ShowAboutPage(); return popupMenu; diff --git a/StaticData/Icons/theme.png b/StaticData/Icons/theme.png new file mode 100644 index 000000000..8b8f7da46 Binary files /dev/null and b/StaticData/Icons/theme.png differ