Code:
public static void collectionLog(GameFont[] tda) {
Widget log = addTabInterface(54100);
Widget sideBar1 = addTabInterface(54150);
Widget sideItems = addTabInterface(54300);
sideBar1.width = 170;
sideBar1.height = 246;
sideBar1.scrollMax = 438;
sideItems.width = 270;
sideItems.height = 204;
sideItems.scrollMax = 247;
String[] options = {"Abyssal Sire", "Barrows", "Callisto", "Cerberus", "Chambers of Xeric", "Chaos Elemental", "Chaos Fanatic", "Commander Zilyana", "Corporeal Beast", "Crazy archaeologist", "Dagannoth Kings",
"General Graardor", "Giant Mole", "Grotesque Guardians", "K'ril Tsutsaroth", "Kalphite Queen", "King black dragon", "Kraken", "Kree'arra", "Scorpia", "Skotizo", "Theatre of Blood", "Thermonuclear smoke devil",
"TzTok-Jad", "TzKal-Zuk", "Venenatis", "Vet'ion", "Vorkath", "Zulrah"};
addSprite(54101, 857);
addSprite(54102, 859);
addButton(54103, 54100, 79, 20, 858, 859, 54104, "View", 1);
addHoveredButton_sprite_loader(54104, 859, 79, 20, 54105, 1);
addButton(54106, 54100, 79, 20, 858, 859, 54107, "View", 1);
addHoveredButton_sprite_loader(54107, 859, 79, 20, 54108, 1);
addText(54109, "Bosses", tda, 1, 0xff9933, false, true);
addText(54110, "Clues", tda, 1, 0xff9933, false, true);
addText(54111, "Minigames", tda, 1, 0xff9933, false, true);
addText(54302, "Abyssal Sire", tda, 2, 0xff9933, false, true);
addText(54303, "Obtained: <col=ff0000>0/9", tda, 0, 0xff9933, false, true);
addText(54304, "Abyssal Sire kills: <col=ffffff>1", tda, 0, 0xff9933, false, true);
for(int i = 0, j = 0; j < options.length; i+=2, j++) {
addTransButtonHover(54151 + i, 862, "View", (j % 2 == 0 ? 20 : 0), (j == 0 ? true : false));
addHoverText(54151 + (i + 1), options[j], "View", tda, 1, 0xff9933, false, true, 150, 11, 0xff9933);
}
Widget container = addTabInterface(54301);
container.actions = new String[] {
"Quick-chat", null, null, null, null
};
container.spritesX = new int[200];
container.spritesY = new int[200];
container.inventoryItemId = new int[200];
container.inventoryAmounts = new int[200];
container.centerText = true;
container.filled = false;
container.spritePaddingX = 13;
container.spritePaddingY = 5;
container.height = 10;
container.collection = true;
container.usableItems = false;
container.width = 6;
container.parent = 54200;
container.type = TYPE_INVENTORY;
int logChild = 0;
int sideBar1Child = 0;
int y = 2;
log.totalChildren(14);
log.child(logChild++, 54101, 6, 13);
log.child(logChild++, 54150, 15, 70);
log.child(logChild++, 54300, 209, 112);
log.child(logChild++, 54102, 16, 49);
log.child(logChild++, 54109, 23, 52);
log.child(logChild++, 54103, 96, 49);
log.child(logChild++, 54104, 96, 49);
log.child(logChild++, 54106, 176, 49);
log.child(logChild++, 54107, 176, 49);
log.child(logChild++, 54110, 103, 52);
log.child(logChild++, 54111, 180, 52);
log.child(logChild++, 54302, 210, 72);
log.child(logChild++, 54303, 210, 96);
log.child(logChild++, 54304, 390, 96);
sideItems.totalChildren(1);
sideItems.child(0, 54301, 3, 3);
sideBar1.totalChildren(options.length * 2);
for(int i = 0, j = 0; j < options.length; i+=2, j++) {
sideBar1.child(sideBar1Child++, 54151 + i, 6, y);
sideBar1.child(sideBar1Child++, 54151 + (i + 1), 6, y);
y+= 15;
}
}