forked from KolibriOS/kolibrios
1) OpenDialog is moved to separate directory and corrected for new cnv_png.obj
2) Ctrldemo (demo of Box_Lib) is corrected for new cnv_png.obj 3) Actual zsea.inc git-svn-id: svn://kolibrios.org@1953 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
a3746b98d0
commit
0c97a5b795
@ -4,15 +4,9 @@ if not exist bin mkdir bin
|
|||||||
@fasm.exe -m 16384 ctrldemo.asm bin\ctrldemo.kex
|
@fasm.exe -m 16384 ctrldemo.asm bin\ctrldemo.kex
|
||||||
@kpack bin\ctrldemo.kex
|
@kpack bin\ctrldemo.kex
|
||||||
|
|
||||||
@fasm.exe -m 16384 OpenDial.asm bin\OpenDial
|
|
||||||
@kpack bin\OpenDial
|
|
||||||
|
|
||||||
@copy reload_16x16_8b.png bin\reload_16x16_8b.png
|
@copy reload_16x16_8b.png bin\reload_16x16_8b.png
|
||||||
@copy cnv_png.obj bin\cnv_png.obj
|
|
||||||
@copy icons.ini bin\icons.ini
|
|
||||||
@copy z_icons.png bin\z_icons.png
|
|
||||||
|
|
||||||
@fasm.exe -m 16384 editbox_ex.asm bin\editbox_ex.kex
|
@fasm.exe -m 16384 editbox_ex.asm bin\editbox_ex.kex
|
||||||
@kpack bin\editbox_ex.kex
|
@kpack bin\editbox_ex.kex
|
||||||
|
|
||||||
pause
|
@pause
|
@ -6,13 +6,9 @@
|
|||||||
echo "lang fix en" > lang.inc
|
echo "lang fix en" > lang.inc
|
||||||
mkdir bin
|
mkdir bin
|
||||||
fasm -m 16384 ctrldemo.asm ./bin/ctrldemo.kex
|
fasm -m 16384 ctrldemo.asm ./bin/ctrldemo.kex
|
||||||
fasm -m 16384 OpenDial.asm ./bin/OpenDial
|
|
||||||
fasm -m 16384 editbox_ex.asm ./bin/editbox_ex.kex
|
fasm -m 16384 editbox_ex.asm ./bin/editbox_ex.kex
|
||||||
rm -f lang.inc
|
rm -f lang.inc
|
||||||
cp reload_16x16_8b.png ./bin/reload_16x16_8b.png
|
cp reload_16x16_8b.png ./bin/reload_16x16_8b.png
|
||||||
cp cnv_png.obj ./bin/cnv_png.obj
|
|
||||||
cp icons.ini ./bin/icons.ini
|
|
||||||
cp z_icons.png ./bin/z_icons.png
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
|
|
||||||
|
Binary file not shown.
@ -105,7 +105,8 @@ load_libraries l_libs_start,end_l_libs
|
|||||||
|
|
||||||
xor eax,eax
|
xor eax,eax
|
||||||
mov [return_code],eax
|
mov [return_code],eax
|
||||||
mov eax,image_file
|
; mov eax,image_file
|
||||||
|
push image_file
|
||||||
call [cnv_png_import.Start]
|
call [cnv_png_import.Start]
|
||||||
|
|
||||||
mov ecx,[image_file]
|
mov ecx,[image_file]
|
||||||
@ -300,8 +301,7 @@ OpenDialog_start:
|
|||||||
; mov edi,library_path
|
; mov edi,library_path
|
||||||
; call copy_file_path
|
; call copy_file_path
|
||||||
|
|
||||||
copy_path open_dialog_name,path,library_path,0
|
; copy_path open_dialog_name,path,library_path,0
|
||||||
|
|
||||||
|
|
||||||
push dword OpenDialog_data
|
push dword OpenDialog_data
|
||||||
call [OpenDialog_Start]
|
call [OpenDialog_Start]
|
||||||
|
@ -450,7 +450,7 @@ OpenDialog_data:
|
|||||||
.com_area dd 0 ;+12
|
.com_area dd 0 ;+12
|
||||||
.opendir_pach dd plugin_pach ;+16
|
.opendir_pach dd plugin_pach ;+16
|
||||||
.dir_default_pach dd communication_area_default_pach ;+20
|
.dir_default_pach dd communication_area_default_pach ;+20
|
||||||
.start_path dd library_path ;+24
|
.start_path dd od_path ;+24
|
||||||
.draw_window dd draw_window ;+28
|
.draw_window dd draw_window ;+28
|
||||||
.status dd 0 ;+32
|
.status dd 0 ;+32
|
||||||
.openfile_pach dd openfile_pach ;+36
|
.openfile_pach dd openfile_pach ;+36
|
||||||
@ -465,8 +465,12 @@ OpenDialog_data:
|
|||||||
|
|
||||||
communication_area_name:
|
communication_area_name:
|
||||||
db 'FFFFFFFF_open_dialog',0
|
db 'FFFFFFFF_open_dialog',0
|
||||||
open_dialog_name:
|
;open_dialog_name:
|
||||||
db 'opendial',0
|
; db 'opendial',0
|
||||||
|
|
||||||
|
od_path:
|
||||||
|
db '/sys/File Managers/OpenDial',0
|
||||||
|
|
||||||
communication_area_default_pach:
|
communication_area_default_pach:
|
||||||
db '/rd/1',0
|
db '/rd/1',0
|
||||||
|
|
||||||
|
@ -38,9 +38,9 @@
|
|||||||
dd param
|
dd param
|
||||||
dd path
|
dd path
|
||||||
|
|
||||||
include '../../../../../macros.inc'
|
include '../../macros.inc'
|
||||||
include '../../load_lib.mac'
|
include '../../develop/libraries/box_lib/load_lib.mac'
|
||||||
include '../../trunk/box_lib.mac'
|
include '../../develop/libraries/box_lib/trunk/box_lib.mac'
|
||||||
;include 'macros.inc'
|
;include 'macros.inc'
|
||||||
;include 'load_lib.mac'
|
;include 'load_lib.mac'
|
||||||
;include 'box_lib.mac'
|
;include 'box_lib.mac'
|
||||||
@ -1660,7 +1660,8 @@ get_window_param:
|
|||||||
convert_icons:
|
convert_icons:
|
||||||
xor eax,eax
|
xor eax,eax
|
||||||
mov [return_code],eax
|
mov [return_code],eax
|
||||||
mov eax,image_file
|
; mov eax,image_file
|
||||||
|
push image_file
|
||||||
call [cnv_png_import.Start]
|
call [cnv_png_import.Start]
|
||||||
|
|
||||||
mov ecx,[image_file]
|
mov ecx,[image_file]
|
5
programs/fs/opendial/build.bat
Normal file
5
programs/fs/opendial/build.bat
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
@echo lang fix en >lang.inc
|
||||||
|
@fasm.exe -m 16384 opendial.asm opendial
|
||||||
|
@erase lang.inc
|
||||||
|
@kpack opendial
|
||||||
|
@pause
|
12
programs/fs/opendial/build.sh
Normal file
12
programs/fs/opendial/build.sh
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
#!/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 opendial.asm opendial
|
||||||
|
rm -f lang.inc
|
||||||
|
exit 0
|
||||||
|
|
||||||
|
|
||||||
|
|
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 5.0 KiB |
@ -1,35 +1,20 @@
|
|||||||
[Associations]
|
[ConvertPlugins]
|
||||||
ImageEditor=/sys/media/animage
|
CP0=cnv_bmp.obj
|
||||||
TextViewer=/sys/tinypad
|
CP1=cnv_png.obj
|
||||||
|
CP2=cnv_jpeg.obj
|
||||||
|
CP3=cnv_gif.obj
|
||||||
|
|
||||||
[Path]
|
[ApplicationsPaths]
|
||||||
Plugins=/plugins/
|
Help=/sys/tinypad
|
||||||
SysLibrary=/sys/lib/
|
Editor=/sys/media/animage
|
||||||
ButtonPictures=/buttons/
|
OpenDialog=/sys/File Managers/OpenDial
|
||||||
|
|
||||||
[Files]
|
[Other]
|
||||||
PassiveButtonsPic=1.png
|
HelpFile=zSea_keys.txt
|
||||||
AktiveButtonsPic=2.png
|
|
||||||
ClickButtonsPic=3.png
|
|
||||||
DisableAButtonsPic=4.png
|
|
||||||
HelpText=zSea_keys.txt
|
|
||||||
|
|
||||||
[Plugins]
|
[Variables]
|
||||||
BoxLib=box_lib.obj
|
|
||||||
Sort=sort.obj
|
|
||||||
Convert=convert.obj
|
|
||||||
Rotate=rotate.obj
|
|
||||||
Scaling=scaling.obj
|
|
||||||
Plugin1=cnv_bmp.obj
|
|
||||||
Plugin2=cnv_png.obj
|
|
||||||
Plugin3=cnv_jpeg.obj
|
|
||||||
Plugin4=cnv_gif.obj
|
|
||||||
|
|
||||||
[Var]
|
|
||||||
SortMode=2
|
SortMode=2
|
||||||
ArrowsOffset=10
|
ArrowsOffset=10
|
||||||
SlideShowDelay=300
|
SlideShowDelay=200
|
||||||
|
|
||||||
ShowFileName=1
|
ShowFileName=1
|
||||||
FullScreen=1
|
FilteringFlag=1
|
||||||
Zoom=100
|
|
||||||
|
Loading…
Reference in New Issue
Block a user