Subversion Repositories Kolibri OS

Rev

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

Rev 431 Rev 465
Line 1... Line 1...
1
$Revision: 431 $
1
$Revision: 465 $
2
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3
;;                                                              ;;
3
;;                                                              ;;
4
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
4
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
5
;; Copyright (C) MenuetOS 2000-2004 Ville Mikael Turjanmaa      ;;
5
;; Copyright (C) MenuetOS 2000-2004 Ville Mikael Turjanmaa      ;;
6
;; Distributed under terms of the GNU General Public License    ;;
6
;; Distributed under terms of the GNU General Public License    ;;
Line 170... Line 170...
170
 
170
 
Line 171... Line 171...
171
 
171
 
172
sys_button:
172
sys_button:
173
 
-
 
174
	push	edi
173
 
175
	mov	edi,[CURRENT_TASK]
174
	push	edi
176
	shl	edi,8
175
        mov     edi,[current_slot]
177
	rol	eax,16
176
	rol	eax,16
178
	add	ax,word[edi+SLOT_BASE+APPDATA.wnd_clientbox.left]
177
        add     ax,word[edi+APPDATA.wnd_clientbox.left]
179
	rol	eax,16
178
	rol	eax,16
180
	rol	ebx,16
179
	rol	ebx,16
181
	add	bx,word[edi+SLOT_BASE+APPDATA.wnd_clientbox.top]
180
        add     bx,word[edi+APPDATA.wnd_clientbox.top]
Line 182... Line 181...
182
	rol	ebx,16
181
	rol	ebx,16