public AdvancedSearch(float x, float y, DeckEditorManager deck, DeckSearcher searcher) { GlobalVarAdvSearch.dropDownListOpen = false; _DeckSearcher = searcher; _DeckEditor = deck; /* _w *= _DeckEditor._xWindowScale; _h *= _DeckEditor._yWindowScale; */ xScale = _DeckEditor._xWindowScale; yScale = _DeckEditor._yWindowScale; _x = x; _y = y; _Background = Resources.Load ("DeckEditor/AdvancedSearch") as Texture2D; _Data = new CardDataBase(); AllCards = _Data.GetAllCards(); _DropDownList = new PopupList((int)(_x + 80.0f), (int)(_y + 30.0f + 25.0f), 130, 20, 5); _DropDownList.Add("All"); _DropDownList.Add("0"); _DropDownList.Add("1"); _DropDownList.Add("2"); _DropDownList.Add("3"); _DropDownList.Add("4"); _ClanPopupList = new PopupList((int)(_x + 80), (int)(_y + 115), 130, 20, 5); _ClanPopupList.SetSliderYFactor(16.7f); _ClanPopupList.Add("All"); _ClanPopupList.Add("Angel Feather"); _ClanPopupList.Add("Aqua Force"); _ClanPopupList.Add("Bermuda Triangle"); _ClanPopupList.Add("Dark Irregulars"); _ClanPopupList.Add("Dimension Police"); _ClanPopupList.Add("Genesis"); _ClanPopupList.Add("Gold Paladin"); _ClanPopupList.Add("Granblue"); _ClanPopupList.Add("Great Nature"); _ClanPopupList.Add("Kagero"); _ClanPopupList.Add("Link Joker"); _ClanPopupList.Add("Megacolony"); _ClanPopupList.Add("Murakumo"); _ClanPopupList.Add("Narukami"); _ClanPopupList.Add("Neo Nectar"); _ClanPopupList.Add("Nova Grappler"); _ClanPopupList.Add("Nubatama"); _ClanPopupList.Add("Oracle Think Tank"); _ClanPopupList.Add("Pale Moon"); _ClanPopupList.Add("Royal Paladin"); _ClanPopupList.Add("Shadow Paladin"); _ClanPopupList.Add("Spike Brothers"); _ClanPopupList.Add("Tachikaze"); }