Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static void addHoverButton(int i, String imageName, int j, int width, int height, String text, int contentType, int hoverOver, int aT) {//hoverable button
- RSInterface tab = addTabInterface(i);
- tab.id = i;
- tab.parentID = i;
- tab.type = 5;
- tab.atActionType = aT;
- tab.contentType = contentType;
- tab.aByte254 = 0;
- tab.mOverInterToTrigger = hoverOver;
- tab.sprite1 = imageLoader(j, imageName);
- tab.sprite2 = imageLoader(j, imageName);
- tab.width = width;
- tab.height = height;
- tab.tooltip = text;
- }
- public static void addHoveredButton(int i, String imageName, int j, int w, int h, int IMAGEID) {//hoverable button
- RSInterface tab = addTabInterface(i);
- tab.parentID = i;
- tab.id = i;
- tab.type = 0;
- tab.atActionType = 0;
- tab.width = w;
- tab.height = h;
- tab.isMouseoverTriggered = true;
- tab.aByte254 = 0;
- tab.mOverInterToTrigger = -1;
- tab.scrollMax = 0;
- addHoverImage(IMAGEID, j, j, imageName);
- tab.totalChildren(1);
- tab.child(0, IMAGEID, 0, 0);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement