83 uIElement.MaxWidth.Set(800f + (
float)num, 0f);
84 uIElement.MinWidth.Set(600f + (
float)num, 0f);
87 uIElement.HAlign = 0.5f;
93 uIPanel.BackgroundColor =
new Color(33, 43, 79) * 0.8f;
95 uIPanel.PaddingTop -= 4f;
96 uIPanel.PaddingBottom -= 4f;
174 FilledColor =
new Color(51, 137, 255),
175 EmptyColor =
new Color(35, 43, 81),
218 return new Color(51, 137, 255);
220 return new Color(35, 40, 83);
247 uIPanel.BackgroundColor =
new Color(35, 40, 83);
248 uIPanel.BorderColor =
new Color(35, 40, 83);
324 uIPanel.BackgroundColor =
new Color(35, 40, 83);
325 uIPanel.BorderColor =
new Color(35, 40, 83);
382 string contents = name.Trim();
400 _searchBoxPanel.BorderColor =
new Color(35, 40, 83);
622 BestiaryProgressReport = _progressReport
643 result.EntriesTotal =
num2;
644 result.CompletionAmountTotal = num;
650 base.Draw(spriteBatch);
656 UILinkPointNavigator.Shortcuts.BackButtonCommand = 1;
void AddRange(IEnumerable< T > collection)
static void PlaySound(int type, Vector2 position, int style=1)
void SetSearchFilter(string searchFilter)
void AddFilters(List< U > filters)
void AddSortSteps(List< TStepType > sortSteps)
void GetEntriesToShow(out int maxEntriesWidth, out int maxEntriesHeight, out int maxEntriesToHave)
void FillBestiarySpaceWithEntries()
void OffsetLibraryByPages(int howManyPages)
void MakeButtonGoByOffset(UIElement element, int howManyPages)
void FillInfoForEntry(BestiaryEntry entry, ExtraBestiaryInfoPageInformation extraInfo)
void UpdateScrollbar(int scrollWheelValue)
void SetupAvailabilityTest(List< BestiaryEntry > allAvailableEntries)
void GetEntriesToShow(out int maxEntriesWidth, out int maxEntriesHeight, out int maxEntriesToHave)
void UpdateAvailability()
void GetEntriesToShow(out int maxEntriesWidth, out int maxEntriesHeight, out int maxEntriesToHave)
void SetContents(string contents, bool forced=false)
void SetText(string text)
void FillBestiarySpaceWithEntries()
void FadedMouseOver(UIMouseEvent evt, UIElement listeningElement)
List< BestiaryEntry > _originalEntriesList
void DeselectEntryButton()
void searchCancelButton_OnClick(UIMouseEvent evt, UIElement listeningElement)
void SetupPointsForSortingGrid(ref int currentID, List< SnapPoint > pts, out int gridWidth, out int gridHeight, out UILinkPoint[,] gridPoints)
void OpenVirtualKeyboardWhenNeeded()
EntryFilterer< BestiaryEntry, IBestiaryEntryFilter > _filterer
override void ScrollWheel(UIScrollWheelEvent evt)
string GetCompletionPercentText()
UIBestiaryEntryButton _selectedEntryButton
void FillProgressBottomBar(UIElement container)
void searchCancelButton_OnMouseOver(UIMouseEvent evt, UIElement listeningElement)
List< BestiaryEntry > _workingSetEntries
void TryMovingPages(int direction)
void Click_SelectEntryButton(UIMouseEvent evt, UIElement listeningElement)
EntrySorter< BestiaryEntry, IBestiarySortStep > _sorter
void EmptyInteraction(float input)
void UpdateBestiaryContents()
void Click_SearchArea(UIMouseEvent evt, UIElement listeningElement)
void AttemptStoppingUsingSearchbar(UIMouseEvent evt)
void AddBackAndForwardButtons(UIElement innerTopContainer)
float GetProgressPercent()
void GetEntriesToShow(out int maxEntriesWidth, out int maxEntriesHeight, out int maxEntriesToHave)
void AddSortAndFilterButtons(UIElement innerTopContainer, UIBestiaryEntryInfoPage infoSpace)
UIBestiaryEntryGrid _entryGrid
void OnSearchContentsChanged(string contents)
static List< SnapPoint > GetOrderedPointsByCategoryName(List< SnapPoint > pts, string name)
void SetupPointsForEntryGrid(ref int currentID, List< SnapPoint > pts, out int gridWidth, out int gridHeight, out UILinkPoint[,] gridPoints)
void CloseFilteringGrid()
UIBestiaryTest(BestiaryDatabase database)
void SetupGamepadPoints(SpriteBatch spriteBatch)
override void RightClick(UIMouseEvent evt)
override void Update(GameTime gameTime)
BestiaryUnlockProgressReport _progressReport
void SelectEntryButton(UIBestiaryEntryButton button)
void Click_CloseSortingGrid(UIMouseEvent evt, UIElement listeningElement)
void AddSearchBar(UIElement innerTopContainer, UIBestiaryEntryInfoPage infoSpace)
UIColoredSliderSimple _unlocksProgressBar
void UpdateBestiaryGridRange()
override void Draw(SpriteBatch spriteBatch)
UIBestiaryFilteringOptionsGrid _filteringGrid
BestiaryUnlockProgressReport GetUnlockProgress()
void MoveToVisuallyClosestPoint(List< UILinkPoint > lostrefpoints)
UIBestiarySortingOptionsGrid _sortingGrid
void OnStartTakingInput()
void Click_CloseFilteringGrid(UIMouseEvent evt, UIElement listeningElement)
UIText _progressPercentText
void Click_GoBack(UIMouseEvent evt, UIElement listeningElement)
void PairUpDown(UILinkPoint upSide, UILinkPoint downSide)
UIBestiaryEntryInfoPage _infoSpace
void OpenOrCloseSortingOptions(UIMouseEvent evt, UIElement listeningElement)
override void LeftClick(UIMouseEvent evt)
void PairLeftRight(UILinkPoint leftSide, UILinkPoint rightSide)
UILinkPoint MakeLinkPointFromSnapPoint(int id, SnapPoint snap)
void FadedMouseOut(UIMouseEvent evt, UIElement listeningElement)
void MakeExitButton(UIElement outerContainer)
void OnFinishedSettingName(string name)
void ShowStats_Completion(UIElement element)
void SetupPointsForFilterGrid(ref int currentID, List< SnapPoint > pts, out int gridWidth, out int gridHeight, out UILinkPoint[,] gridPoints)
override void Recalculate()
void OpenOrCloseFilteringGrid(UIMouseEvent evt, UIElement listeningElement)
Color GetColorAtBlip(float percentile)
static readonly Color FancyUIFatButtonMouseOver
static LocalizedText GetText(string key)
static string GetTextValueWith(string key, object obj)
static Vector2 MouseScreen
static Microsoft.Xna.Framework.Color OurFavoriteColor
static IAssetRepository Assets
static void ChangePoint(int PointID)
static Dictionary< int, UILinkPoint > Points
static void SetPosition(int ID, Vector2 Position)
bool IgnoresMouseInteraction
void Append(UIElement element)
CalculatedStyle GetDimensions()
void RemoveChild(UIElement child)
virtual List< SnapPoint > GetSnapPoints()
static UserInterface ActiveInstance
static int ToInt(this bool value)
static string PrettifyPercentDisplay(float percent, string originalFormat)
static float Distance(Vector2 value1, Vector2 value2)
static StyleDimension FromPixels(float pixels)
static StyleDimension FromPixelsAndPercent(float pixels, float percent)