44 uIElement.HAlign = 0.5f;
48 uIPanel.BackgroundColor =
new Color(33, 43, 79) * 0.8f;
54 _worldList.ListPadding = 5f;
59 _scrollbar.HAlign = 1f;
62 uITextPanel.HAlign = 0.5f;
65 uITextPanel.BackgroundColor =
new Color(73, 94, 171);
70 uITextPanel2.VAlign = 1f;
71 uITextPanel2.HAlign = 0f;
80 uITextPanel3.HAlign = 1f;
112 Main.newWorldName =
Lang.
gen[57].Value +
" " + (Main.WorldList.Count + 1);
160 bool num = Main.ActivePlayerFileData.Player.difficulty == 3;
161 bool flag = file.GameMode == 3;
177 base.Draw(spriteBatch);
231 UILinkPointNavigator.Shortcuts.BackButtonCommand = 2;
238 uILinkPoint.Right =
num2 + 1;
242 uILinkPoint.Left =
num2 - 1;
287 for (
int k = 0;
k <
array.GetLength(1);
k++)
290 for (
int l = 0;
l <
array.GetLength(0);
l++)
299 uILinkPoint.Up =
num4;
307 uILinkPoint.Down = num;
314 UILinkPointNavigator.Shortcuts.FANCYUI_HIGHEST_INDEX =
num2;
bool ICollection< KeyValuePair< TKey, TValue > >. Remove(KeyValuePair< TKey, TValue > keyValuePair)
static void PlaySound(int type, Vector2 position, int style=1)
virtual void Add(UIElement item)
void SetScrollbar(UIScrollbar scrollbar)
void SetView(float viewSize, float maxViewSize)
override void Draw(SpriteBatch spriteBatch)
UITextPanel< LocalizedText > _newPanel
void GoBackClick(UIMouseEvent evt, UIElement listeningElement)
bool UpdateFavoritesCache()
override void OnInitialize()
void NewWorldClick(UIMouseEvent evt, UIElement listeningElement)
void SetupGamepadPoints(SpriteBatch spriteBatch)
void FadedMouseOut(UIMouseEvent evt, UIElement listeningElement)
override void Recalculate()
UITextPanel< LocalizedText > _workshopPanel
override void OnActivate()
bool CanWorldBePlayed(WorldFileData file)
UITextPanel< LocalizedText > _backPanel
bool _isScrollbarAttached
void FadedMouseOver(UIMouseEvent evt, UIElement listeningElement)
List< Tuple< string, bool > > favoritesCache
static readonly Color FancyUIFatButtonMouseOver
string GetFileName(bool includeExtension=true)
static LocalizedText[] gen
static LocalizedText GetText(string key)
static List< WorldFileData > WorldList
static UserInterface MenuUI
static bool menuMultiplayer
static void ChangePoint(int PointID)
static Dictionary< int, UILinkPoint > Points
static void SetPosition(int ID, Vector2 Position)
void Append(UIElement element)
void RemoveChild(UIElement child)
virtual List< SnapPoint > GetSnapPoints()
Rectangle GetClippingRectangle(SpriteBatch spriteBatch)
void Set(float pixels, float precent)