Fixed menu. Build_et.bat corrected. Earlier name for kpack was wrong.

git-svn-id: svn://kolibrios.org@4088 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
GerdtR 2013-10-25 11:17:31 +00:00
parent e169c7c771
commit 3078547be2
2 changed files with 27 additions and 6 deletions

View File

@ -159,14 +159,35 @@ RBWRedraw:
;----------- ®¯à¥¤¥«ï¥¬ ¨ à¨á㥬 ª­®¯ª¨ ;----------- ®¯à¥¤¥«ï¥¬ ¨ à¨á㥬 ª­®¯ª¨
mov ecx,[NumMenuButt] mov ecx,[NumMenuButt]
xor eax,eax
.DrawUB: .DrawUB:
push ecx push ecx
push eax mov eax,[NumMenuButt]
stdcall DrawRBLine,eax,0 sub eax,ecx
pop eax mov edx,eax ;button ID = ®â 0 ¤® NumMenuButt
add eax,16 or edx,60000000h
shl eax,4+16 ;*16*10000h
mov ecx,eax
mov cx,16
xor ebx,ebx
mov bx,[RMenuW]
mov esi,[sc.work]
mcall 8 ;®¯à¥¤¥«¨«¨
mov ebx,70000h
shr ecx,16
mov bx,cx
add bx,7
mov ecx,[sc.work_text]
or ecx,80000000h
mov eax,[NumMenuButt]
sub eax,[esp]
mov edx,[RBMenuCP+eax*8]
mcall 4
pop ecx pop ecx
loop .DrawUB loop .DrawUB

View File

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