forked from KolibriOS/kolibrios
bigger fonts in docpack; move /system/clip to /other/outdated/
git-svn-id: svn://kolibrios.org@6267 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
30ab10e50a
commit
31410fbdb3
@ -1,3 +0,0 @@
|
|||||||
@fasm -m 32768 docpack.asm docpack
|
|
||||||
@kpack docpack
|
|
||||||
@pause
|
|
6
programs/system/docpack/trunk/build_en.bat
Normal file
6
programs/system/docpack/trunk/build_en.bat
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
@erase lang.inc
|
||||||
|
@echo lang fix en >lang.inc
|
||||||
|
@fasm -m 32768 docpack.asm docpack
|
||||||
|
@erase lang.inc
|
||||||
|
@kpack docpack
|
||||||
|
@pause
|
6
programs/system/docpack/trunk/build_ru.bat
Normal file
6
programs/system/docpack/trunk/build_ru.bat
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
@erase lang.inc
|
||||||
|
@echo lang fix ru >lang.inc
|
||||||
|
@fasm -m 32768 docpack.asm docpack
|
||||||
|
@erase lang.inc
|
||||||
|
@kpack docpack
|
||||||
|
@pause
|
@ -104,44 +104,50 @@ red:
|
|||||||
|
|
||||||
mcall 12,1
|
mcall 12,1
|
||||||
|
|
||||||
|
BTN_H equ 21
|
||||||
|
|
||||||
mov edx,[sc.work]
|
mov edx,[sc.work]
|
||||||
or edx,0x34000000
|
or edx,0x34000000
|
||||||
mcall 0, <220,120>, <30,FILECOUNT*16+35>, , ,title
|
mcall 0, <220,141>, <30,FILECOUNT*(BTN_H+3)+37>, , ,title
|
||||||
|
|
||||||
mov ecx,FILECOUNT
|
mov ecx,FILECOUNT
|
||||||
mov ebx,5 shl 16+100
|
mov ebx,23 shl 16+100
|
||||||
mov esi,[sc.work_button]
|
mov esi,[sc.work_button]
|
||||||
mov edi,5 shl 16+14
|
mov edi,5 shl 16+BTN_H
|
||||||
mov edx,10
|
mov edx,10
|
||||||
mov eax,8
|
mov eax,8
|
||||||
.btnlp:
|
.btnlp:
|
||||||
push ecx
|
push ecx
|
||||||
mcall ,,edi
|
mcall ,,edi
|
||||||
add edi,16 shl 16
|
add edi,(BTN_H+3) shl 16
|
||||||
inc edx
|
inc edx
|
||||||
pop ecx
|
pop ecx
|
||||||
loop .btnlp
|
loop .btnlp
|
||||||
mov ecx,FILECOUNT
|
mov ecx,FILECOUNT
|
||||||
mov edx,embedded
|
mov edx,embedded
|
||||||
xor edi,edi
|
xor edi,edi
|
||||||
mov ebx,25 shl 16+8
|
mov ebx,30 shl 16+8
|
||||||
mov eax,4
|
mov eax,4
|
||||||
.list:
|
.list:
|
||||||
lea edx,[edx+edi+8]
|
lea edx,[edx+edi+8]
|
||||||
mov edi,[edx-8]
|
mov edi,[edx-8]
|
||||||
pusha
|
pusha
|
||||||
sub ebx,15 shl 16
|
sub ebx,20 shl 16
|
||||||
mcall ,,0xff0000,my_param,1
|
mov ecx, [sc.work_text]
|
||||||
|
or ecx, 0x30000000
|
||||||
|
mcall ,,,my_param,1
|
||||||
inc [my_param]
|
inc [my_param]
|
||||||
popa
|
popa
|
||||||
push ecx
|
push ecx
|
||||||
mov esi, [edx-4]
|
mov esi, [edx-4]
|
||||||
sub esi, 4 ;remove .txt extension
|
sub esi, 4 ;remove .txt extension
|
||||||
mcall ,,[sc.work_button_text]
|
mov ecx, [sc.work_button_text]
|
||||||
|
or ecx, 0x30000000
|
||||||
|
mcall
|
||||||
pop ecx
|
pop ecx
|
||||||
add esi, 4
|
add esi, 4
|
||||||
add edx, esi
|
add edx, esi
|
||||||
add ebx,16
|
add ebx,(BTN_H+3)
|
||||||
loop .list
|
loop .list
|
||||||
mcall 12,2
|
mcall 12,2
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user