public void SetFilters() { _root.SubItems.Add(new FKMenuHelper.MenuStruct { Title = "General Settings", InvokeMethod = (() => _root.LoadPage(new GeneralSettings(this), null, null, true)), Invoke = null }); _root.SubItems.Add(new FKMenuHelper.MenuStruct { Title = "Multibox Macros", InvokeMethod = (() => _root.LoadPage(new MultiMacro(this), null, null, true)), Invoke = null }); _root.SubItems.Add(new FKMenuHelper.MenuStruct { Title = "Multibox Accounts", InvokeMethod = (() => { _root.LoadPage(new Accounts(this), null, null, true); }), Invoke = null }); _root.SubItems.Add(new FKMenuHelper.MenuStruct { Title = "Item Tracker", Invoke = null }); _root.SubItems.Add(new FKMenuHelper.MenuStruct { Title = "Experience Tracker", Invoke = null }); _root.SubItems.Add(new FKMenuHelper.MenuStruct { Title = "WebTracker", Invoke = null }); }
public Support(BaseDesign root) { _root = root; SetFilters(); _root.xMenu.Content = "Support"; _root.xSelected.Content = "General Settings"; _root.xSubMenu.Content = ""; _root.DrawMenu(); _root.DrawSubMenu(); root.LoadPage(new GeneralSettings(this), null); }
private void _Set(FilterItems item) { try{ Item = Config.Get <FKFilters>().Filters.Single(x => x.ID == item.ID && x.Name == item.Name); _root.LoadPage(_root.Page, null); _root.xSelected.Content = Item.Name; } catch { MessageBox.Show("Couldn't not change active filter, please check your config file"); } }
public void SetFilters() { _root.SubItems.Add(new FKMenuHelper.MenuStruct { Title = "Ingame Overlay", InvokeMethod = (() => { _root.CleanHeader(); //_root.LoadPage(new Overlay.OverlaySettings(this), null, null, true); _root.Items = Menu[1]; _root.SetHeader(); }), }); _root.SubItems.Add(new FKMenuHelper.MenuStruct { Title = "Minimap Overlay & NPC", InvokeMethod = (() => { _root.CleanHeader(); _root.PainDropDown <MapItem>(new List <MapItem>( Config.Get <FKMinimap>().DefaultMapItem.CustomActors.Select(x => x.Value) .Concat(Config.Get <FKMinimap>().DefaultMapItem.DefaultActors.Select(x => x.Value).OrderBy(x => x.Name))), new FKMenuHelper.MenuStruct { Title = "Select Actor type", MouseEvent = new FKMenuHelper.MenuStruct.MouseEnter { Color = Transition } }); _root.Items = Menu[0]; _root.SetHeader(); _root.LoadPage(new Settings(this), null, null, true); }), }); _root.SubItems.Add(new FKMenuHelper.MenuStruct { Title = "Elite Packs", OwnResize = true, InvokeMethod = (() => { _root.CleanHeader(); _root.PainDropDown <FKAffixes.FKAffix>(Config.Get <FKAffixes>().Affixes.OrderBy(x => x.Name).ToList(), new FKMenuHelper.MenuStruct { Title = "Select Affix", MouseEvent = new FKMenuHelper.MenuStruct.MouseEnter { Color = Transition } }); _root.Items = Menu[2]; _root.SetHeader(); _root.LoadPage(new ElitePacks.GeneralSettings(this), null, null, true); }), }); _root.SubItems.Add(new FKMenuHelper.MenuStruct { Title = "Overlay Items" }); _root.SubItems.Add(new FKMenuHelper.MenuStruct { Title = "Styles" }); _root.SubItems.Add(new FKMenuHelper.MenuStruct { Title = "Miscellanous" }); }