Subversion Repositories Kolibri OS

Rev

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

Rev 6357 Rev 6359
Line 11... Line 11...
11
	mov	[line_size_x],ecx
11
	mov	[line_size_x],ecx
12
	mov	[line_size_y],edx
12
	mov	[line_size_y],edx
13
	cmp	esi,1
13
	cmp	esi,1
14
	jne	no_volume_light_rectangle
14
	jne	no_volume_light_rectangle
Line -... Line 15...
-
 
15
 
15
 
16
	;mov esi,dword[syscolors+20]
16
	mov	[color_rectangle],0xc7cbcf
17
	mov	[color_rectangle],0xc7cbcf ;esi
17
	mov	[color_line1],0xaeabae
18
	mov	[color_line1],0xaeabae
18
	mov	[color_line2],0xffffff
19
	mov	[color_line2],0xffffff
19
	mov	[color_line3],0xc7cbcf
20
	mov	[color_line3],0xc7cbcf ;esi
20
	jmp	exit_colors
21
	jmp	exit_colors
21
;----------------------------------------------------------
22
;----------------------------------------------------------
22
no_volume_light_rectangle:
23
no_volume_light_rectangle:
23
	cmp	esi,2
24
	cmp	esi,2
Line 31... Line 32...
31
;----------------------------------------------------------
32
;----------------------------------------------------------
32
no_pressed_rectangle:
33
no_pressed_rectangle:
33
	cmp	esi,3
34
	cmp	esi,3
34
	jne	no_pressed_panel
35
	jne	no_pressed_panel
Line -... Line 36...
-
 
36
 
35
 
37
	mov esi,dword[syscolors+20]
36
	mov	[color_rectangle],0xc7cbcf
38
	mov	[color_rectangle],esi
37
	mov	[color_line1],0xaeabae
39
	mov	[color_line1],0xaeabae
38
	mov	[color_line2],7000
40
	mov	[color_line2],7000
39
	mov	[color_line3],0xffffff
41
	mov	[color_line3],0xffffff
40
	jmp	exit_colors
42
	jmp	exit_colors
Line 61... Line 63...
61
;----------------------------------------------------------
63
;----------------------------------------------------------
62
no_light_pressed_rectangle:
64
no_light_pressed_rectangle:
63
	cmp	esi,6
65
	cmp	esi,6
64
	jne	no_work_rectangle
66
	jne	no_work_rectangle
Line -... Line 67...
-
 
67
 
65
 
68
	mov esi,dword[syscolors+20]
66
	mov	[color_rectangle],0xc7cbcf
69
	mov [color_rectangle],esi
67
	mov	[color_line1],0xaeabae
70
	mov	[color_line1],0xaeabae
68
	mov	[color_line2],0xc7cbcf
71
	mov	[color_line2],esi
69
	mov	[color_line3],0xc7cbcf
72
	mov	[color_line3],esi
70
	jmp	exit_colors
73
	jmp	exit_colors
71
;----------------------------------------------------------
74
;----------------------------------------------------------
72
no_work_rectangle:
75
no_work_rectangle:
73
	cmp	esi,7
76
	cmp	esi,7
Line -... Line 77...
-
 
77
	jne	no_work_rectangle_2
74
	jne	no_work_rectangle_2
78
 
75
 
79
	mov esi,dword[syscolors+20]
76
	mov	[color_rectangle],0xc7cbcf
80
	mov	[color_rectangle],esi
77
	mov	[color_line1],0xc7cbcf
81
	mov	[color_line1],esi
78
	mov	[color_line2],0xc7cbcf
82
	mov	[color_line2],esi
79
	mov	[color_line3],0xc7cbcf
83
	mov	[color_line3],esi
80
	jmp	exit_colors
84
	jmp	exit_colors
81
;----------------------------------------------------------
85
;----------------------------------------------------------
82
no_work_rectangle_2:
86
no_work_rectangle_2: