Subversion Repositories Kolibri OS

Rev

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

Rev 415 Rev 427
Line 162... Line 162...
162
 
162
 
Line 163... Line 163...
163
 
163
 
164
sys_button:
164
sys_button:
165
 
-
 
166
	push	edi
165
 
167
	mov	edi,[CURRENT_TASK]
166
	push	edi
168
	shl	edi,8
167
        mov     edi,[current_slot]
169
	rol	eax,16
168
	rol	eax,16
170
	add	ax,word[edi+SLOT_BASE+APPDATA.wnd_clientbox.left]
169
        add     ax,word[edi+APPDATA.wnd_clientbox.left]
171
	rol	eax,16
170
	rol	eax,16
172
	rol	ebx,16
171
	rol	ebx,16
173
	add	bx,word[edi+SLOT_BASE+APPDATA.wnd_clientbox.top]
172
        add     bx,word[edi+APPDATA.wnd_clientbox.top]
Line 174... Line 173...
174
	rol	ebx,16
173
	rol	ebx,16