Subversion Repositories Kolibri OS

Rev

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

Rev 2000 Rev 3184
Line 22... Line 22...
22
	mcall	40,0x27
22
	mcall	40,0x27
23
	mov	eax,[slide_show_delay]
23
	mov	eax,[slide_show_delay]
24
	mov	[slide_show_delay_old],eax
24
	mov	[slide_show_delay_old],eax
25
	mov	eax,[arrows_offset]
25
	mov	eax,[arrows_offset]
26
	mov	[arrows_offset_old],eax
26
	mov	[arrows_offset_old],eax
27
	mov	eax,[check1+32]
27
	mov	eax,[check1.flags]
28
	mov	[show_file_name_old],eax
28
	mov	[show_file_name_old],eax
29
	mov	eax,[check2+32]
29
	mov	eax,[check2.flags]
30
	mov	[filtering_flag_old],eax
30
	mov	[filtering_flag_old],eax
31
	xor	eax,eax
31
	xor	eax,eax
32
	mov	[option_pointer],eax
32
	mov	[option_pointer],eax
33
	call	.set_pointers
33
	call	.set_pointers
34
;-----------------------------------------
34
;-----------------------------------------
Line 51... Line 51...
51
	je	.mouse
51
	je	.mouse
Line 52... Line 52...
52
	
52
	
53
	jmp	.still
53
	jmp	.still
54
;---------------------------------------------------------------------
54
;---------------------------------------------------------------------
55
.mouse:
55
.mouse:
56
	mov	ebx,[check1+32]
56
	mov	ebx,[check1.flags]
57
	and	ebx,10b
57
	and	ebx,10b
58
	push	dword check1
58
	push	dword check1
59
	call	[check_box_mouse]
59
	call	[check_box_mouse]
60
	mov	eax,[check1+32]
60
	mov	eax,[check1.flags]
61
	and	eax,10b
61
	and	eax,10b
62
	cmp	ebx,eax
62
	cmp	ebx,eax
Line 63... Line 63...
63
	je	@f	;.still
63
	je	@f	;.still
64
	
64
	
65
	mov	[option_pointer],2
65
	mov	[option_pointer],2
66
	call	.set_pointers
66
	call	.set_pointers
67
	call	.draw_all_options_values
67
	call	.draw_all_options_values
68
	jmp	.still
68
	jmp	.still
69
;---------------------------------------------------------------------
69
;---------------------------------------------------------------------
70
@@:
70
@@:
71
	mov	ebx,[check2+32]
71
	mov	ebx,[check2.flags]
72
	and	ebx,10b
72
	and	ebx,10b
73
	push	dword check2
73
	push	dword check2
74
	call	[check_box_mouse]
74
	call	[check_box_mouse]
75
	mov	eax,[check2+32]
75
	mov	eax,[check2.flags]
76
	and	eax,10b
76
	and	eax,10b
Line 77... Line 77...
77
	cmp	ebx,eax
77
	cmp	ebx,eax
Line 142... Line 142...
142
	mov	eax,[slide_show_delay_old]
142
	mov	eax,[slide_show_delay_old]
143
	mov	[slide_show_delay],eax
143
	mov	[slide_show_delay],eax
144
	mov	eax,[arrows_offset_old]
144
	mov	eax,[arrows_offset_old]
145
	mov	[arrows_offset],eax
145
	mov	[arrows_offset],eax
146
	mov	eax,[show_file_name_old]
146
	mov	eax,[show_file_name_old]
147
	mov	[check1+32],eax
147
	mov	[check1.flags],eax
148
	mov	eax,[filtering_flag_old]
148
	mov	eax,[filtering_flag_old]
149
	mov	[check2+32],eax
149
	mov	[check2.flags],eax
150
	jmp	.close_all
150
	jmp	.close_all
151
;---------------------------------------------------------------------
151
;---------------------------------------------------------------------
152
.close_1:
152
.close_1:
153
	mov	eax,[check2+32]
153
	mov	eax,[check2.flags]
154
	test	eax,10b
154
	test	eax,10b
155
	jz	@f
155
	jz	@f
Line 156... Line 156...
156
	
156
	
157
	mov	[filtering_flag],1
157
	mov	[filtering_flag],1
Line 238... Line 238...
238
	call	.draw_arrows_offset
238
	call	.draw_arrows_offset
239
	call	calculate_arrows_offset
239
	call	calculate_arrows_offset
240
	jmp	.still
240
	jmp	.still
241
;---------------------------------------------------------------------
241
;---------------------------------------------------------------------
242
.space_check1:
242
.space_check1:
243
	test	[check1+32],dword 10b
243
	test	[check1.flags],dword 10b
244
	jnz	@f
244
	jnz	@f
Line 245... Line 245...
245
	
245
	
246
	or	[check1+32],dword 10b
246
	or	[check1.flags],dword 10b
247
	jmp	.space_check1_1
247
	jmp	.space_check1_1
248
;---------------------------------------------------------------------
248
;---------------------------------------------------------------------
249
@@:
249
@@:
250
	xor	[check1+32],dword 10b
250
	xor	[check1.flags],dword 10b
251
.space_check1_1:
251
.space_check1_1:
252
	call	.draw_all_options_values
252
	call	.draw_all_options_values
253
	jmp	.still
253
	jmp	.still
254
;---------------------------------------------------------------------
254
;---------------------------------------------------------------------
255
.space_check2:
255
.space_check2:
256
	test	[check2+32],dword 10b
256
	test	[check2.flags],dword 10b
Line 257... Line 257...
257
	jnz	@f
257
	jnz	@f
258
	
258
	
259
	or	[check2+32],dword 10b
259
	or	[check2.flags],dword 10b
260
	jmp	.space_check2_1
260
	jmp	.space_check2_1
261
;---------------------------------------------------------------------
261
;---------------------------------------------------------------------
262
@@:
262
@@:
263
	xor	[check2+32],dword 10b
263
	xor	[check2.flags],dword 10b
264
.space_check2_1:
264
.space_check2_1:
265
	call	.draw_all_options_values
265
	call	.draw_all_options_values
266
	jmp	.still
266
	jmp	.still