Subversion Repositories Kolibri OS

Rev

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

Rev 6357 Rev 6358
Line 76... Line 76...
76
	mov	[counter],10
76
	mov	[counter],10
Line 77... Line 77...
77
 
77
 
78
next_icon_delit1:
78
next_icon_delit1:
79
	mov	edx,[counter]
79
	mov	edx,[counter]
80
	add	edx,11100000000000000000000000000000b
80
	add	edx,11100000000000000000000000000000b
81
	mcall	8
81
	mcall SF_DEFINE_BUTTON
82
	inc	[counter]
82
	inc	[counter]
83
	cmp	[counter],30
83
	cmp	[counter],30
Line 84... Line 84...
84
	jl	next_icon_delit1
84
	jl	next_icon_delit1
85
 
85
 
Line 86... Line 86...
86
	;delit	buttons	of	brushes
86
	;delit	buttons	of	brushes
87
	mov	[counter],40
87
	mov	[counter],40
88
 
88
 
89
next_icon_delit2:
89
next_icon_delit2:
90
	mov	edx,[counter]
90
	mov	edx,[counter]
91
	add	edx,11100000000000000000000000000000b
91
	add	edx,11100000000000000000000000000000b
92
	mcall	8
92
	mcall SF_DEFINE_BUTTON
Line 93... Line 93...
93
	inc	[counter]
93
	inc	[counter]
94
	cmp	[counter],45
94
	cmp	[counter],45
Line 95... Line 95...
95
	jl	next_icon_delit2
95
	jl	next_icon_delit2
96
 
96
 
97
	;delit	buttons	of	zoom
97
	;delit	buttons	of	zoom
98
	mov	[counter],45
98
	mov	[counter],45
99
 
99
 
100
next_icon_delit3:
100
next_icon_delit3:
101
	mov	edx,[counter]
101
	mov	edx,[counter]
Line 102... Line 102...
102
	add	edx,11100000000000000000000000000000b
102
	add	edx,11100000000000000000000000000000b
103
	mcall	8
103
	mcall SF_DEFINE_BUTTON
104
	inc	[counter]
104
	inc	[counter]
105
	cmp	[counter],50
105
	cmp	[counter],50
Line 106... Line 106...
106
	jl	next_icon_delit3
106
	jl	next_icon_delit3
107
 
107
 
108
;delit buttons of palette
108
;delit buttons of palette
109
	mov	edx,51
109
	mov	edx,51
Line 110... Line 110...
110
	add	edx,11100000000000000000000000000000b
110
	add	edx,11100000000000000000000000000000b
Line 111... Line 111...
111
	mcall	8
111
	mcall SF_DEFINE_BUTTON
112
 
112
 
Line 194... Line 194...
194
	pop	[counter]
194
	pop	[counter]
195
	pop	edi esi
195
	pop	edi esi
Line 196... Line 196...
196
 
196
 
197
 
197
 
198
menu_still:
198
menu_still:
199
	mcall	10
199
	mcall SF_WAIT_EVENT
200
	mcall	2
200
	mcall SF_GET_KEY
201
	mcall	17
201
	mcall SF_GET_BUTTON
202
	call	GetMouseClick
202
	call GetMouseClick
Line 203... Line 203...
203
	test	eax,eax
203
	test eax,eax
Line 241... Line 241...
241
	dec	[counter_menu]
241
	dec	[counter_menu]
242
	jnz	menu_loop2
242
	jnz	menu_loop2
Line 243... Line 243...
243
 
243
 
Line 244... Line 244...
244
	pop	edi esi
244
	pop	edi esi
Line 245... Line 245...
245
 
245
 
246
	mcall	5,15
246
	mcall SF_SLEEP,15
247
 
247
 
248
	push	[counter]
248
	push	[counter]
Line 298... Line 298...
298
	mov	edx,[Window_SizeX]
298
	mov	edx,[Window_SizeX]
299
	sub	edx,55
299
	sub	edx,55
300
	shl	edx,16
300
	shl	edx,16
301
	add	edx,20+15+6+6
301
	add	edx,20+15+6+6
302
	and	esi,0
302
	and	esi,0
303
	mcall	47,<4,0>
303
	mcall SF_DRAW_NUMBER,<4,0>
Line 304... Line 304...
304
 
304
 
305
	mov	ecx,[ScreenY]
305
	mov	ecx,[ScreenY]
306
	add	ecx,[PosY]
306
	add	ecx,[PosY]
307
	mov	edx,[Window_SizeX]
307
	mov	edx,[Window_SizeX]
Line 340... Line 340...
340
;----------------------------------------------------------
340
;----------------------------------------------------------
341
draw_scrollers:
341
draw_scrollers:
342
	mov	edi,[CounterX]
342
	mov	edi,[CounterX]
343
	mov	eax,[Scroll1CoordinatX]
343
	mov	eax,[Scroll1CoordinatX]
344
	mov	ebx,[Window_SizeY]
344
	mov	ebx,[Window_SizeY]
345
	sub	ebx,22+10
345
	sub	ebx,(ci_scroll_dim-3)+5+ci_offs_skin_h
346
	mov	ecx,[Window_SizeX]
346
	mov	ecx,[Window_SizeX]
347
	sub	ecx,39+ci_scrollh_coord_x_min
347
	sub	ecx,ci_scroll_dim+5+4+ci_scrollh_coord_x_min+ci_offs_skin_w
348
	mov	edx,14+10
348
	mov	edx,ci_scroll_dim-6
349
	mov	esi,1
349
	mov	esi,1
350
	mov	[Scroll1CoordinatY],ebx
350
	mov	[Scroll1CoordinatY],ebx
351
	mov	[Scroll1MaxSizeY],edx
351
	mov	[Scroll1MaxSizeY],edx
352
	mov	[Scroll1MaxSizeX],ecx
352
	mov	[Scroll1MaxSizeX],ecx
353
	imul	ecx,edi
353
	imul	ecx,edi
Line 363... Line 363...
363
	sub	edi,ecx
363
	sub	edi,ecx
364
	mov	[Scroll1FreeX],edi
364
	mov	[Scroll1FreeX],edi
365
	call draw_volume_rectangle ; horizontal scrollbar polzunok
365
	call draw_volume_rectangle ; horizontal scrollbar polzunok
Line 366... Line 366...
366
 
366
 
367
	mov	eax,[Window_SizeX]
367
	mov	eax,[Window_SizeX]
368
	sub	eax,22+10
368
	sub	eax,(ci_scroll_dim-3)+5+ci_offs_skin_w
369
	mov	ebx,[Scroll2CoordinatY]
369
	mov	ebx,[Scroll2CoordinatY]
370
	mov	ecx,14+10
370
	mov	ecx,ci_scroll_dim-6
371
	mov	edx,[Window_SizeY]
371
	mov	edx,[Window_SizeY]
372
	sub	edx,39+ci_scrollv_coord_y_min
372
	sub	edx,ci_scroll_dim+5+4+ci_scrollv_coord_y_min+ci_offs_skin_h
373
	mov	esi,1
373
	mov	esi,1
374
	mov	[Scroll2CoordinatX],eax
374
	mov	[Scroll2CoordinatX],eax
375
	mov	[Scroll2MaxSizeX],ecx
375
	mov	[Scroll2MaxSizeX],ecx