void SetupListBoxes()
 {
     powersList          = new EnchantmentListPicker();
     powersList.Position = new Vector2(powersListRect.x, powersListRect.y);
     powersList.Size     = new Vector2(powersListRect.width, powersListRect.height);
     NativePanel.Components.Add(powersList);
 }
Exemplo n.º 2
0
        void SetupListBoxes()
        {
            powersList                = new EnchantmentListPicker();
            powersList.Position       = new Vector2(powersListRect.x, powersListRect.y);
            powersList.Size           = new Vector2(powersListRect.width, powersListRect.height);
            powersList.OnRefreshList += EnchantmentList_OnRefreshList;
            NativePanel.Components.Add(powersList);

            sideEffectsList                = new EnchantmentListPicker();
            sideEffectsList.Position       = new Vector2(sideEffectsListRect.x, sideEffectsListRect.y);
            sideEffectsList.Size           = new Vector2(sideEffectsListRect.width, sideEffectsListRect.height);
            sideEffectsList.OnRefreshList += EnchantmentList_OnRefreshList;
            NativePanel.Components.Add(sideEffectsList);
        }
Exemplo n.º 3
0
 private void EnchantmentList_OnRefreshList(EnchantmentListPicker sender)
 {
     Refresh();
 }