Put this data in idx 12, container 2445, file 0
https://mega.nz/#!kmBwVIBJ!hJa3biL-Q...JsOIBQbMAOBS_E
Source:
Code:
int script_2445(string string0, int arg1, int arg2, Color color3) {
int int3;
int int4;
int3 = widget(34, 9).getWidth();
string0 = escape(script_2446(string0));
CHILD.createChild(widget(34, 9), 4, arg2);
CHILD.setPosition(0, arg1 * 15 + 5, 0, 0);
int4 = getLineCount(string0, int3, 494);
CHILD.setSize(0, int4 * 14, 1, 0);
CHILD.setRGB(color3);
CHILD.setText(string0);
CHILD.setFont(494);
CHILD.setTextAlignment(0, 1, 14);
CHILD.setTextAntiMacro(true);
#CHILD.hookDragStart(&script_2450(CTX_WIDGET, CTX_WIDGET_CHILD, MOUSE_Y));
#CHILD.hookDragRelease(&script_2451(DRAG_WIDGET));
#if (VARP[1439] == arg2) {
# CHILD.setContextMenuOption(1, "Unselect");
#} else {
CHILD.setContextMenuOption(1, "Select");
#}
#CHILD.setContextMenuOption(2, "Edit");
#CHILD.setContextMenuOption(3, "Colour");
#CHILD.setContextMenuOption(4, "Delete");
#CHILD.setDragDeadZone(14);
return arg1 + int4;
}
Code:
[00] PUSH_INT 2228233
[01] OP_2502 int getWidth(Widget)
[02] STORE_INT 3
[03] LOAD_STRING 0
[04] CALL_2446 string script_2446(string)
[05] OP_4111 string escape(string)
[06] STORE_STRING 0
[07] PUSH_INT 2228233
[08] PUSH_INT 4
[09] LOAD_INT 1
[10] OP_150 void createChild(Widget, int, int)
[11] PUSH_INT 0
[12] LOAD_INT 0
[13] PUSH_INT 15
[14] OP_4002 int multiply(int, int)
[15] PUSH_INT 5
[16] OP_4000 int add(int, int)
[17] PUSH_INT 0
[18] PUSH_INT 0
[19] OP_1000 void setPosition(int, int, int, int)
[20] LOAD_STRING 0
[21] LOAD_INT 3
[22] PUSH_INT 494
[23] OP_4108 int getLineCount(string, int, Sprite)
[24] STORE_INT 4
[25] PUSH_INT 0
[26] LOAD_INT 4
[27] PUSH_INT 14
[28] OP_4002 int multiply(int, int)
[29] PUSH_INT 1
[30] PUSH_INT 0
[31] OP_1001 void setSize(int, int, int, int)
[32] LOAD_INT 2
[33] OP_1101 void setRGB(Color)
[34] LOAD_STRING 0
[35] OP_1112 void setText(string)
[36] PUSH_INT 494
[37] OP_1113 void setFont(Sprite)
[38] PUSH_INT 0
[39] PUSH_INT 1
[40] PUSH_INT 14
[41] OP_1114 void setTextAlignment(int, int, int)
[42] PUSH_INT 1
[43] OP_1115 void setTextAntiMacro(boolean)
[44] PUSH_INT 1
[45] PUSH_STRING "Select"
[46] OP_1300 void setContextMenuOption(int, string)
[47] LOAD_INT 0
[48] LOAD_INT 4
[49] OP_4000 int add(int, int)
[50] RETURN false