Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 632 → Rev 633

/programs/system/panel/trunk/detect.asm
7,7 → 7,7
int 0x40
 
detect_still:
;mov eax, 10 ; Ðàáîòàåò íå ñîâñåì êîððåêòíî, ïî÷åìó õç.
;mov eax, 10 ;  ¡®â ¥â ­¥ ᮢᥬ ª®à४⭮, ¯®ç¥¬ã å§.
mov eax, 23
mov ebx, 4
int 0x40
15,11 → 15,11
;jne detect_still
 
mov eax, 37
mov ebx, 2 ; Îïðàøèâàåì êíîïêè ìûøè
mov ebx, 2 ; Ž¯à è¨¢ ¥¬ ª­®¯ª¨ ¬ëè¨
int 0x40
 
test eax, ebx ; test eax, 00000010b Èíòåðåñóåò òîëüêî ïðàâàÿ êíîïêà
jz detect_still ; Íåò - ? Âîçâðàùàåìñÿ â ãëàâíûé öèêë ïîòîêà
test eax, ebx ; test eax, 00000010b ˆ­â¥à¥áã¥â ⮫쪮 ¯à ¢ ï ª­®¯ª 
jz detect_still ; ¥â - ? ‚®§¢à é ¥¬áï ¢ £« ¢­ë© 横« ¯®â®ª 
 
mouse_btn_up:
mov eax, 37
50,7 → 50,10
detect_button:
mov ebx, edx
imul ebx, 6 * 10
add ebx, 4
; // Alver 26.08.2007 // {
; add ebx, 4
add ebx, 64
; } \\ Alver \\
 
cmp eax, ebx
jb detect_still
74,6 → 77,10
 
mov [n_slot], ecx
 
mov eax, 9
mov ebx, procinfo_for_detect
int 0x40
 
mov eax, 51
mov ebx, 1
mov ecx, context_menu_start
89,8 → 96,3
jae detect_still
inc edx
jmp detect_button