Subversion Repositories Kolibri OS

Rev

Rev 5887 | Rev 7996 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5887 Rev 7863
Line 6... Line 6...
6
	mov	cx,18
6
	mov	cx,18
7
	mov	ebx,[window_width]
7
	mov	ebx,[window_width]
8
	sub	ebx,9
8
	sub	ebx,9
9
	add	ebx,5 shl 16
9
	add	ebx,5 shl 16
10
	mcall	13,,,0xffffff
10
	mcall	13,,,0xffffff
-
 
11
	
11
	mov	edx,15 shl 16+20
12
	mov	edx,15 shl 16+20
12
	add	edx,[skin_high]
13
	add	edx,[skin_high]
13
	pusha
-
 
14
	call	.calculate_button
-
 
15
	mcall	,,,150
-
 
16
	popa
-
 
17
	mcall	7,[buttons_img_start],<16,16>
14
	mcall	7,buttons_file_data,<198,16>
18
	add	edx,26 shl 16
-
 
19
	add	ebx,16*16*3
-
 
20
	pusha
-
 
21
	call	.calculate_button
-
 
22
	mcall	,,,151
-
 
23
	popa
15
	
24
	mcall
-
 
25
	add	edx,26 shl 16
-
 
26
	add	ebx,16*16*3
-
 
27
	pusha
-
 
28
	call	.calculate_button
-
 
29
	mcall	,,,152
16
	mov ecx, 20
30
	popa
-
 
31
	mcall
-
 
32
	add	edx,26 shl 16
17
	add ecx, [skin_high]
33
	add	ebx,16*16*3
18
	shl ecx, 16
34
	pusha
-
 
35
	call	.calculate_button
-
 
36
	mcall	,,,153
-
 
37
	popa
-
 
38
	mcall
-
 
39
	add	edx,26 shl 16
-
 
40
	add	ebx,16*16*3
19
	add ecx, 16
41
	pusha
-
 
42
	call	.calculate_button
-
 
43
	mcall	,,,154
20
	mcall	8,<15,16>,,150+0x40000000
44
	popa
21
	
45
	mcall
22
_new_but:
46
	add	edx,26 shl 16
23
	add	ebx,26 shl 16
47
	add	ebx,16*16*3
-
 
48
	pusha
-
 
49
	call	.calculate_button
-
 
50
	mcall	,,,155
-
 
51
	popa
-
 
52
	mcall
24
	inc edx
53
	add	edx,26 shl 16
-
 
54
	add	ebx,16*16*3
-
 
55
	pusha
-
 
56
	call	.calculate_button
-
 
57
	mcall	,,,156
-
 
58
	popa
-
 
59
	mcall
25
	mcall
60
	add	edx,26 shl 16
26
	cmp edx, 157+0x40000000
61
	add	ebx,16*16*3
-
 
62
	pusha
-
 
63
	call	.calculate_button
-
 
64
	mcall	,,,157
27
	jl  _new_but
65
	popa
28
	
66
	mcall
-
 
67
	ret
29
	ret
68
;--------------------------------------
30
;--------------------------------------
69
.calculate_button:
31
.calculate_button:
70
	mov	esi,0xffffff
-
 
71
	mov	ebx,edx
32
	mov	ebx,edx
72
	mov	bx,15
33
	mov	bx,15
73
	mov	ecx,edx
34
	mov	ecx,edx
74
	shl	ecx,16
35
	shl	ecx,16
75
	mov	cx,bx
36
	mov	cx,bx
76
	mov	eax,8
-
 
77
	ret
37
	ret
78
;------------------------------------------------------------------------------
38
;------------------------------------------------------------------------------
79
draw_left_sort_button:
39
draw_left_sort_button:
80
	mov	bx,[left_panel_x.start_x]
40
	mov	bx,[left_panel_x.start_x]
81
	add	bx,[left_panel_x.size_x]
41
	add	bx,[left_panel_x.size_x]