-
Notifications
You must be signed in to change notification settings - Fork 0
/
[proc,setup_diary_entry].cs2
91 lines (91 loc) · 3.77 KB
/
[proc,setup_diary_entry].cs2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
// 2197
[proc,setup_diary_entry](component $component0, int $int1, int $int2, int $height3)(int)
cc_create($component0, ^iftype_rectangle, $int2);
def_int $comsubid4 = cc_getid;
$int2 = calc($int2 + 1);
cc_setfill(true);
cc_setcolour(^white);
cc_settrans(255);
cc_setsize(16, 27, ^setsize_minus, ^setsize_abs);
cc_setposition(0, calc($height3 + 1), ^setpos_abs_centre, ^setpos_abs_top);
cc_setonmouseover("diary_mouseover(event_com, event_comsubid, $int1, true)");
cc_setonmouseleave("diary_mouseover(event_com, event_comsubid, $int1, false)");
cc_setonvartransmit("update_diary_entry(event_com, event_comsubid, $int1){var1719, var1720, var1721, var1722, var1723, var1724, var1188, var1189, var1000, var1001, var1002, var1200, var1190, var1191}");
cc_create($component0, ^iftype_text, $int2);
$int2 = calc($int2 + 1);
cc_settext(enum(int, string, enum_595, $int1));
cc_setsize(70, 15, ^setsize_abs, ^setsize_abs);
cc_settextshadow(true);
cc_settextfont(p11_full);
cc_setcolour(^red);
cc_setposition(12, calc($height3 + 3), ^setpos_abs_left, ^setpos_abs_top);
cc_create($component0, ^iftype_text, $int2);
$int2 = calc($int2 + 1);
cc_settext("X/X");
cc_setsize(20, 15, ^setsize_abs, ^setsize_abs);
cc_settextshadow(true);
cc_settextfont(p11_full);
cc_settextalign(^settextalign_right, ^settextalign_top, 0);
cc_setcolour(^red);
cc_setposition(12, calc($height3 + 3), ^setpos_abs_right, ^setpos_abs_top);
.cc_create($component0, ^iftype_rectangle, $int2);
$int2 = calc($int2 + 1);
.cc_setfill(true);
.cc_setcolour(^black);
.cc_settrans(150);
.cc_setsize(144, 7, ^setsize_abs, ^setsize_abs);
.cc_setposition(0, calc($height3 + 17), ^setpos_abs_centre, ^setpos_abs_top);
cc_create($component0, ^iftype_rectangle, $int2);
$int2 = calc($int2 + 1);
cc_setfill(false);
cc_setcolour(^black);
cc_setsize(37, 7, ^setsize_abs, ^setsize_abs);
cc_setposition(.cc_getx, calc($height3 + 17), ^setpos_abs_left, ^setpos_abs_top);
cc_create($component0, ^iftype_rectangle, $int2);
$int2 = calc($int2 + 1);
cc_setfill(false);
cc_setcolour(^black);
cc_setsize(37, 7, ^setsize_abs, ^setsize_abs);
cc_setposition(calc(.cc_getx + 36), calc($height3 + 17), ^setpos_abs_left, ^setpos_abs_top);
cc_create($component0, ^iftype_rectangle, $int2);
$int2 = calc($int2 + 1);
cc_setfill(false);
cc_setcolour(^black);
cc_setsize(37, 7, ^setsize_abs, ^setsize_abs);
cc_setposition(calc(.cc_getx + 72), calc($height3 + 17), ^setpos_abs_left, ^setpos_abs_top);
cc_create($component0, ^iftype_rectangle, $int2);
$int2 = calc($int2 + 1);
cc_setfill(false);
cc_setcolour(^black);
cc_setsize(37, 7, ^setsize_abs, ^setsize_abs);
cc_setposition(calc(.cc_getx + 108), calc($height3 + 17), ^setpos_abs_left, ^setpos_abs_top);
cc_create($component0, ^iftype_rectangle, $int2);
$int2 = calc($int2 + 1);
cc_setfill(false);
cc_setcolour(0xd42e00);
cc_setsize(0, 5, ^setsize_abs, ^setsize_abs);
cc_setfill(true);
cc_setposition(calc(.cc_getx + 1), calc($height3 + 18), ^setpos_abs_left, ^setpos_abs_top);
cc_create($component0, ^iftype_rectangle, $int2);
$int2 = calc($int2 + 1);
cc_setfill(false);
cc_setcolour(0xd42e00);
cc_setsize(0, 5, ^setsize_abs, ^setsize_abs);
cc_setfill(true);
cc_setposition(calc(.cc_getx + 36 + 1), calc($height3 + 18), ^setpos_abs_left, ^setpos_abs_top);
cc_create($component0, ^iftype_rectangle, $int2);
$int2 = calc($int2 + 1);
cc_setfill(false);
cc_setcolour(0xd42e00);
cc_setsize(0, 5, ^setsize_abs, ^setsize_abs);
cc_setfill(true);
cc_setposition(calc(.cc_getx + 72 + 1), calc($height3 + 18), ^setpos_abs_left, ^setpos_abs_top);
cc_create($component0, ^iftype_rectangle, $int2);
$int2 = calc($int2 + 1);
cc_setfill(false);
cc_setcolour(0xd42e00);
cc_setsize(0, 5, ^setsize_abs, ^setsize_abs);
cc_setfill(true);
cc_setposition(calc(.cc_getx + 108 + 1), calc($height3 + 18), ^setpos_abs_left, ^setpos_abs_top);
~update_diary_entry($component0, $comsubid4, $int1);
return($int2);