Subversion Repositories Kolibri OS

Rev

Rev 3014 | Rev 3978 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3014 Rev 3628
Line 17... Line 17...
17
	dd	0x1000000	; required amount of memory
17
	dd	0x1000000	; required amount of memory
18
	dd	0x1000000	; stack heap
18
	dd	0x1000000	; stack heap
19
	dd	0x0
19
	dd	0x0
20
	dd	app_path
20
	dd	app_path
Line -... Line 21...
-
 
21
 
-
 
22
include 'lang.inc'	;language support
21
 
23
 
22
include 'ASPAPI.INC'
24
include 'ASPAPI.INC'
23
include 'string.inc'
25
include 'string.inc'
24
include 'macros.inc'
26
include 'macros.inc'
25
include 'editbox_ex.mac'
27
include 'editbox_ex.mac'
Line 894... Line 896...
894
  .out:
896
  .out:
895
    popa
897
    popa
896
    clc
898
    clc
897
    ret
899
    ret
898
  .err_out:
900
  .err_out:
-
 
901
    if lang eq it
-
 
902
		print    "Impossibile caricare il programma"
-
 
903
    else
899
    print    "Can't load program"
904
		print    "Can't load program"
-
 
905
    end if
900
    popa
906
    popa
901
    stc
907
    stc
902
    ret
908
    ret
Line 910... Line 916...
910
 
916
 
Line 911... Line 917...
911
 
917
 
-
 
918
;########### Input Thread data start ############
-
 
919
 
-
 
920
; Input Thread Title
912
;########### Input Thread data start ############
921
if lang eq it
-
 
922
	it_labelt	db	"Inserisci hotkey e nome   "
913
 
923
else
914
; Input Thread Title
924
	it_labelt	db	"Input hotkey and it's name"
915
it_labelt	db	"Input hotkey and it's name"
925
end if
916
;labellen:
926
;labellen:
917
it_edit edit_box 180, 20, 30, 0xffffff, 0xAA80, 0x0000ff, 0x0, 0x0, 31, it_buf_cmd_line, 0, 0
927
it_edit edit_box 180, 20, 30, 0xffffff, 0xAA80, 0x0000ff, 0x0, 0x0, 31, it_buf_cmd_line, 0, 0
918
it_buf_cmd_line   dd	  0 ;db MAX_HOTKEYS_NUM*32 dup(0)  ; !Make it dynamic!!!
928
it_buf_cmd_line   dd	  0 ;db MAX_HOTKEYS_NUM*32 dup(0)  ; !Make it dynamic!!!
919
it_window	  dd	  0	     ; Slot number of the input thread
929
it_window	  dd	  0	     ; Slot number of the input thread
-
 
930
it_alive	  db	  0	     ; Flag of the input thread existance
-
 
931
it_keycode	  db	  0
-
 
932
it_hotkey_addr	  dd	  0
920
it_alive	  db	  0	     ; Flag of the input thread existance
933
if lang eq it
-
 
934
	it_hint 	  db	  'o premi Esc per cancellare',0
921
it_keycode	  db	  0
935
else
Line 922... Line 936...
922
it_hotkey_addr	  dd	  0
936
	it_hint 	  db	  'or press Esc to cancel',0
-
 
937
end if
-
 
938
;########### Input Thread data end   ############
-
 
939
 
-
 
940
;Button names
-
 
941
if lang eq it
-
 
942
	AddKeyText	db 'Aggiungi',0
-
 
943
	ReloadKeyText	db 'Ricarica',0
923
it_hint 	  db	  'or press Esc to cancel',0
944
	SaveKeyText	db 'Salva',0
924
;########### Input Thread data end   ############
945
	;DeleteKeyText   db 'Delete',0
925
 
946
	;ManageKeyText   db 'Manage',0
926
;Button names
947
else
927
AddKeyText	db 'Add',0
948
	AddKeyText	db 'Add',0
928
ReloadKeyText	db 'Reload',0
949
	ReloadKeyText	db 'Reload',0
Line 929... Line 950...
929
SaveKeyText	db 'Save',0
950
	SaveKeyText	db 'Save',0
930
;DeleteKeyText   db 'Delete',0
951
	;DeleteKeyText   db 'Delete',0
931
;ManageKeyText   db 'Manage',0
952
	;ManageKeyText   db 'Manage',0
932
 
953
end if
Line 945... Line 966...
945
 
966
 
946
sys_path:
967
sys_path:
947
system_dir0 db '/sys/lib/'
968
system_dir0 db '/sys/lib/'
Line -... Line 969...
-
 
969
boxlib_name db 'box_lib.obj',0
-
 
970
 
-
 
971
if lang eq it
-
 
972
	err_message_found_lib	db "Non trovo box_lib.obj",0
-
 
973
	head_f_i:
-
 
974
	head_f_l		db 'Errore di sistema',0
948
boxlib_name db 'box_lib.obj',0
975
	err_message_import	db 'Error di importazione di box_lib.obj',0
949
 
976
else
950
err_message_found_lib	db "Can't find box_lib.obj",0
977
	err_message_found_lib	db "Can't find box_lib.obj",0
951
head_f_i:
978
	head_f_i:
952
head_f_l		db 'System error',0
979
	head_f_l		db 'System error',0
953
err_message_import	db 'Error on import box_lib.obj',0
980
	err_message_import	db 'Error on import box_lib.obj',0
954
 
981
end if
955
align 4
982
align 4
956
myimport:
983
myimport:
957
edit_box_draw	dd  aEdit_box_draw
984
edit_box_draw	dd  aEdit_box_draw