forked from KolibriOS/kolibrios
1) Fix for HEED - the event of mouse processed only if the window on "top of stack" is now
2) Fix MENU.DAT for current path of HEED on ramdisk git-svn-id: svn://kolibrios.org@1753 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
echo "lang fix en" > lang.inc
|
||||
mkdir bin
|
||||
fasm -m 16384 heed.asm ./bin/heed
|
||||
kpack ./bin/heed
|
||||
rm -f lang.inc
|
||||
exit 0
|
||||
|
||||
|
||||
@@ -149,6 +149,10 @@ load_libraries l_libs_start,end_l_libs
|
||||
|
||||
call ready_screen_buffer
|
||||
; jmp open_file
|
||||
mcall 9,procinfo,-1
|
||||
mov ecx,[ebx+30] ; PID
|
||||
mcall 18,21
|
||||
mov [active_process],eax ; WINDOW SLOT
|
||||
|
||||
redraw_all:
|
||||
call control_minimal_window_size
|
||||
@@ -321,6 +325,10 @@ button:
|
||||
|
||||
align 4
|
||||
mouse:
|
||||
mcall 18,7
|
||||
cmp [active_process],eax
|
||||
jne still
|
||||
|
||||
mcall 37,7
|
||||
test eax,eax
|
||||
jz .menu_bar_1;.mouse
|
||||
@@ -3385,6 +3393,8 @@ shblock_end rd 1 ;ᬥ饭
|
||||
file_size rd 1
|
||||
; rd 1 ;¯®¤ áâ à訩 dword
|
||||
|
||||
active_process rd 1
|
||||
|
||||
ed_box_data: rd 8 ;¯¥à¢ë© dword -ª®«-¢® í«¥¬¥â®¢ ¤«ï ®¡à ¡®âª¨, ¤ «¥¥ 㪠§ ⥫¨ editX;
|
||||
|
||||
bufferfinfo rb 40
|
||||
|
||||
Reference in New Issue
Block a user