50 uIElement.HAlign = 0.5f;
54 uIPanel.BackgroundColor =
new Color(33, 43, 79) * 0.8f;
60 _worldList.ListPadding = 5f;
65 _scrollbar.HAlign = 1f;
68 uITextPanel.HAlign = 0.5f;
71 uITextPanel.BackgroundColor =
new Color(73, 94, 171);
76 uITextPanel2.VAlign = 1f;
77 uITextPanel2.HAlign = 0.5f;
183 base.Draw(spriteBatch);
189 UILinkPointNavigator.Shortcuts.BackButtonCommand = 7;
219 for (
int k = 0;
k < 1;
k++)
222 for (
int l = 0;
l <
array.GetLength(0);
l++)
231 uILinkPoint.Up =
num3;
239 uILinkPoint.Down = num;
246 UILinkPointNavigator.Shortcuts.FANCYUI_HIGHEST_INDEX =
key;
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 OnInitialize()
void SetupGamepadPoints(SpriteBatch spriteBatch)
static List< WorldFileData > WorkshopWorldList
void GoBackClick(UIMouseEvent evt, UIElement listeningElement)
override void Recalculate()
void FadedMouseOut(UIMouseEvent evt, UIElement listeningElement)
UITextPanel< LocalizedText > _backPanel
bool _isScrollbarAttached
void HandleBackButtonUsage()
UIWorkshopWorldImport(UIState uiStateToGoBackTo)
override void OnActivate()
List< Tuple< string, bool > > favoritesCache
override void Draw(SpriteBatch spriteBatch)
UIState _uiStateToGoBackTo
void FadedMouseOver(UIMouseEvent evt, UIElement listeningElement)
void UpdateWorkshopWorldList()
static readonly Color FancyUIFatButtonMouseOver
static WorldFileData FromInvalidWorld(string path, bool cloudSave)
static WorldFileData GetAllMetadata(string file, bool cloudSave)
static LocalizedText GetText(string key)
static UserInterface MenuUI
static Terraria.Social.Base.WorkshopSocialModule Workshop
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)