Subversion Repositories Kolibri OS

Rev

Rev 1441 | Rev 1467 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1441 Rev 1464
Line 27... Line 27...
27
include 'tile_fun.inc'
27
include 'tile_fun.inc'
28
include 'pl_import.inc'
28
include 'pl_import.inc'
Line 29... Line 29...
29
 
29
 
Line 30... Line 30...
30
  @use_library
30
  @use_library
31
 
31
 
32
struct f70
32
struct FileInfoBlock
33
  func_n dd ?
33
	Function dd ?
34
  param1 dd ?
34
	Position dd ?
35
  param2 dd ?
35
	Flags	 dd ?
36
  param3 dd ?
36
	Count	 dd ?
37
  param4 dd ?
37
	Buffer	 dd ?
38
  rezerv db ?
38
		db ?
Line 39... Line 39...
39
  name dd ?
39
	FileName dd ?
40
ends
40
ends
41
 
41
 
Line 124... Line 124...
124
  call mem.Alloc
124
  call mem.Alloc
125
  mov [tree_nod_icon],eax
125
  mov [tree_nod_icon],eax
Line 126... Line 126...
126
 
126
 
127
  copy_path fn_icon1,sys_path,file_name,0x0
127
  copy_path fn_icon1,sys_path,file_name,0x0
128
  mov eax,70 ;load icon file
128
  mov eax,70 ;load icon file
129
  mov [run_file_70.func_n], 0
129
  mov [run_file_70.Function], 0
130
  mov [run_file_70.param1], 0
130
  mov [run_file_70.Position], 0
131
  mov [run_file_70.param2], 0
131
  mov [run_file_70.Flags], 0
132
  mov [run_file_70.param3], TREE_ICON_SYS16_BMP_SIZE
132
  mov [run_file_70.Count], TREE_ICON_SYS16_BMP_SIZE
133
  m2m [run_file_70.param4], [tree_sys_icon]
133
  m2m [run_file_70.Buffer], [tree_sys_icon]
134
  mov [run_file_70.rezerv], 0
134
  mov byte[run_file_70+20], 0
135
  mov [run_file_70.name], file_name
135
  mov [run_file_70.FileName], file_name
136
  mov ebx,run_file_70
136
  mov ebx,run_file_70
137
  int 0x40
137
  int 0x40
138
  cmp ebx,0xffffffff
138
  cmp ebx,0xffffffff
139
  je @f
139
  je @f
Line 147... Line 147...
147
  @@:
147
  @@:
Line 148... Line 148...
148
 
148
 
149
 
149
 
150
  copy_path fn_icon2,sys_path,file_name,0x0
150
  copy_path fn_icon2,sys_path,file_name,0x0
151
  mov eax,70 ;load icon file
151
  mov eax,70 ;load icon file
152
  mov [run_file_70.param3], TREE_ICON_NOD16_BMP_SIZE
152
  mov [run_file_70.Count], TREE_ICON_NOD16_BMP_SIZE
153
  m2m [run_file_70.param4], [tree_nod_icon]
153
  m2m [run_file_70.Buffer], [tree_nod_icon]
154
  mov ebx,run_file_70
154
  mov ebx,run_file_70
155
  int 0x40
155
  int 0x40
156
  cmp ebx,0xffffffff
156
  cmp ebx,0xffffffff
Line 910... Line 910...
910
tree_nod_icon dd 0
910
tree_nod_icon dd 0
Line 911... Line 911...
911
 
911
 
912
bmp_icon   dd 0 ;¯ ¬ïâì ¤«ï § £à㧪¨ ¨§®¡à ¦¥­¨ï
912
bmp_icon   dd 0 ;¯ ¬ïâì ¤«ï § £à㧪¨ ¨§®¡à ¦¥­¨ï
Line 913... Line 913...
913
data_icon  dd 0 ;¯ ¬ïâì ¤«ï ¯à¥®¡à §®¢ ­¨ï ª à⨭ª¨ äã­ªæ¨ï¬¨ libimg
913
data_icon  dd 0 ;¯ ¬ïâì ¤«ï ¯à¥®¡à §®¢ ­¨ï ª à⨭ª¨ äã­ªæ¨ï¬¨ libimg
Line 914... Line 914...
914
 
914
 
915
run_file_70 f70
915
run_file_70 FileInfoBlock
916
 
916