Subversion Repositories Kolibri OS

Rev

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

Rev 3417 Rev 3427
Line 221... Line 221...
221
palette_button:
221
palette_button:
222
	mcall	37,1
222
	mcall	37,1
223
	and	eax,0xffff
223
	and	eax,0xffff
224
	sub	eax,p_start_y
224
	sub	eax,p_start_y
225
	imul	eax,p_size_x
225
	imul	eax,p_size_x
226
	dec	eax
-
 
227
	lea	eax,[eax+eax*2]
226
	lea	eax,[eax+eax*2]
228
	add	eax,[palette_area]
227
	add	eax,[palette_area]
229
	mov	eax,[eax]
228
	mov	eax,[eax]
230
	mov	[tone_color],eax
229
	mov	[tone_color],eax
231
	mov	[selected_color],eax
230
	mov	[selected_color],eax