Code:
public static void spinTab(GameFont[] wid) {
Widget list = addTabInterface(13000);
Widget items = addTabInterface(13100);
Widget reward = addTabInterface(13300);
reward.invisible = true;
addTransparentSprite(13301, 546, 90);
addSprite(13302, 547);
addText(13304, "You won:", wid, 2, 0xff9040, true, true);
addText(13305, "name_here", wid, 1, 0xff9040, true, true);
Widget rewardContainer = addTabInterface(13303);
rewardContainer.spritesX = new int[1];
rewardContainer.spritesY = new int[1];
rewardContainer.inventoryItemId = new int[1];
rewardContainer.inventoryAmounts = new int[300];
rewardContainer.filled = false;
rewardContainer.replaceItems = false;
rewardContainer.usableItems = false;
rewardContainer.hasActions = false;
rewardContainer.invisible = true;
rewardContainer.allowSwapItems = false;
rewardContainer.spritePaddingX = 0;
rewardContainer.spritePaddingY = 0;
rewardContainer.height = 1;
rewardContainer.width = 1;
rewardContainer.parent = 41002;
rewardContainer.type = TYPE_INVENTORY;
int rewardChild = 0;
reward.totalChildren(8);
reward.child(rewardChild++, 13301, 0, 0);
reward.child(rewardChild++, 13302, 140, 110);
reward.child(rewardChild++, 13003, 190, 42);
reward.child(rewardChild++, 13004, 190, 42);
reward.child(rewardChild++, 13007, 245, 47);
reward.child(rewardChild++, 13303, 230, 127);
reward.child(rewardChild++, 13304, 245, 172);
reward.child(rewardChild++, 13305, 244, 188);
items.width = 391;
addSprite(13001, 539);
addSprite(13002, 538);
addHoverButton_sprite_loader(13003, 542, 114, 25, "Spin", 250, 13004, 0);
addHoveredButton_sprite_loader(13004, 543, 114, 25, 4400);
addText(13007, "SPIN", wid, 2, 0xff9040, true, true);
addText(13009, "Spin to win!", wid, 2, 0xff9040, true, true);
addText(13010, "Possible rewards:", wid, 2, 0xff9040, true, true);
addHoverText3(13011, "<u>Buy more spins", "Go to website", wid, 0, 0xff9040, true, false, 75, 0xFFB885);
addSprite(13101, 541);
addSprite(13012, 544);
addText(13014, "New items in:", wid, 2, 0xff9040, true, true);
addText(13015, "24:00", wid, 0, 0xff9040, false, true);
addText(13016, "Spins left:", wid, 2, 0xff9040, true, true);
addText(13017, "100", wid, 0, 0xff9040, false, true);
addText(13018, "Total gp won:", wid, 2, 0xff9040, true, true);
addText(13019, "1.5b", wid, 0, 0xff9040, false, true);
Widget container = addTabInterface(13200);
container.spritesX = new int[300];
container.spritesY = new int[300];
container.inventoryItemId = new int[300];
container.inventoryAmounts = new int[300];
container.filled = false;
container.replaceItems = false;
container.usableItems = false;
container.hasActions = false;
container.invisible = true;
container.allowSwapItems = false;
container.spritePaddingX = 9;
container.spritePaddingY = 0;
container.height = 1;
container.width = 300;
container.parent = 41002;
container.type = TYPE_INVENTORY;
Widget possibleRewards = addTabInterface(13202);
possibleRewards.spritesX = new int[300];
possibleRewards.spritesY = new int[300];
possibleRewards.inventoryItemId = new int[300];
possibleRewards.inventoryAmounts = new int[300];
possibleRewards.filled = false;
possibleRewards.replaceItems = false;
possibleRewards.usableItems = false;
possibleRewards.hasActions = false;
possibleRewards.invisible = true;
possibleRewards.allowSwapItems = false;
possibleRewards.spritePaddingX = 9;
possibleRewards.spritePaddingY = 0;
possibleRewards.height = 20;
possibleRewards.width = 4;
possibleRewards.parent = 41002;
possibleRewards.type = TYPE_INVENTORY;
Widget rewardScroll = addTabInterface(13201);
rewardScroll.width = 161;
rewardScroll.height = 133;
rewardScroll.scrollMax = 455;
int rewardScrollChild = 0;
rewardScroll.totalChildren(1);
rewardScroll.child(rewardScrollChild, 13202, 0, 0);
int listChild = 0;
int itemChild = 0;
items.totalChildren(2);
items.child(itemChild++, 13101, 0, 0);
items.child(itemChild++, 13200, 3, 3);
list.totalChildren(18);
list.child(listChild++, 13001, 10, 10);
list.child(listChild++, 13003, 200, 52);
list.child(listChild++, 13004, 200, 52);
list.child(listChild++, 13007, 255, 57);
list.child(listChild++, 13009, 252, 20);
list.child(listChild++, 13100, 58, 86);
list.child(listChild++, 13002, 250, 83);
list.child(listChild++, 13010, 145, 130);
list.child(listChild++, 13201, 60, 152);
list.child(listChild++, 13011, 27, 21);
list.child(listChild++, 13012, 265, 170);
list.child(listChild++, 13014, 337, 180);
list.child(listChild++, 13015, 385, 183);
list.child(listChild++, 13016, 345, 203);
list.child(listChild++, 13017, 385, 206);
list.child(listChild++, 13018, 345, 226);
list.child(listChild++, 13019, 392, 229);
list.child(listChild++, 13300, 10, 10);
}