Icon - deactivate the window after click (working to kernel r.2244 and above)

git-svn-id: svn://kolibrios.org@2245 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Marat Zakiyanov (Mario79) 2011-09-27 07:12:16 +00:00
parent 6e5e6b3c02
commit 608f4346d0
5 changed files with 34 additions and 7 deletions

View File

@ -0,0 +1,13 @@
#!/bin/bash
# This script does for Linux the same as build.bat for DOS,
# it compiles the current KolibriOS applications
echo "lang fix en"
echo "lang fix en" > lang.inc
fasm -m 16384 icon.asm icon
kpack icon
rm -f lang.inc
exit 0

View File

@ -1,5 +1,6 @@
@erase lang.inc
@echo lang fix en >lang.inc
@fasm icon.asm icon
@fasm -m 16384 icon.asm icon
@kpack icon
@erase lang.inc
@pause

View File

@ -1,5 +1,6 @@
@erase lang.inc
@echo lang fix ge >lang.inc
@fasm icon.asm icon
@fasm -m 16384 icon.asm icon
@kpack icon
@erase lang.inc
@pause

View File

@ -1,5 +1,6 @@
@erase lang.inc
@echo lang fix ru >lang.inc
@fasm icon.asm icon
@fasm -m 16384 icon.asm icon
@kpack icon
@erase lang.inc
@pause

View File

@ -955,7 +955,6 @@ thread:
mcall
still2:
mov eax,10
mcall
@ -991,7 +990,8 @@ still2:
@@: call get_bg_info
mcall 67,[ebp+0],[ebp+4],51,51
.lp1: call draw_window2
.lp1:
call draw_window2
jmp still2
button2:
@ -1001,6 +1001,18 @@ still2:
cmp ah, 2
jnz still2
mcall 9,I_END,-1
mov ecx,[ebx+30] ; PID
mcall 18,21
mov edx,eax ; SLOT
mcall 18,7
cmp edx,eax ; compare with active SLOT
jne @f
mov ecx,edx
mcall 18,1 ; set to down
call draw_window2
@@:
mov esi,[ebp+8]
mov ebx,1
mov edi,finfo.path
@ -1352,7 +1364,6 @@ create_thread_event db 0
image dd 0x3000
I_Param:
icon_data = I_END+0x1400
process_table = I_END+0x2400