Rev 7035 | Rev 7508 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7035 | Rev 7488 | ||
---|---|---|---|
Line 64... | Line 64... | ||
64 | cmp ebp,load_lib_end |
64 | cmp ebp,load_lib_end |
65 | jl .test_lib_open |
65 | jl .test_lib_open |
Line 66... | Line 66... | ||
66 | 66 | ||
67 | ;--------------------------------------------------------------------- |
67 | ;--------------------------------------------------------------------- |
68 | stdcall [ted_init], tedit0 |
68 | stdcall [ted_init], tedit0 |
Line 69... | Line 69... | ||
69 | stdcall dword[tl_data_init], tree1 |
69 | stdcall [tl_data_init], tree1 |
70 | 70 | ||
Line 71... | Line 71... | ||
71 | ; OpenDialog initialisation |
71 | ; OpenDialog initialisation |
Line 169... | Line 169... | ||
169 | mov ecx,ebx |
169 | mov ecx,ebx |
170 | @@: |
170 | @@: |
171 | cmp byte[eax],'.' ;䨫ìâà㥬 ä ©«ë á ¨¬¥ ¬¨ '.' ¨ '..' |
171 | cmp byte[eax],'.' ;䨫ìâà㥬 ä ©«ë á ¨¬¥ ¬¨ '.' ¨ '..' |
172 | je .filter |
172 | je .filter |
173 | ;0x10000 ;1*2^16 - £¤¥ 1 ®¬¥à ¨ª®ª¨ á ª¨£®© |
173 | ;0x10000 ;1*2^16 - £¤¥ 1 ®¬¥à ¨ª®ª¨ á ª¨£®© |
174 | stdcall dword[tl_node_add], tree1,0x10000,eax |
174 | stdcall [tl_node_add], tree1,0x10000,eax |
175 | stdcall dword[tl_cur_next], tree1 |
175 | stdcall [tl_cur_next], tree1 |
176 | .filter: |
176 | .filter: |
177 | add eax,304 |
177 | add eax,304 |
178 | loop @b |
178 | loop @b |
179 | stdcall dword[tl_cur_beg],tree1 ;áâ ¢¨¬ ªãàá®à ç «® ᯨ᪠|
179 | stdcall [tl_cur_beg],tree1 ;áâ ¢¨¬ ªãàá®à ç «® ᯨ᪠|
180 | .end_dir_init: |
180 | .end_dir_init: |
Line 181... | Line 181... | ||
181 | 181 | ||
182 | ;--- load ini file --- |
182 | ;--- load ini file --- |
183 | copy_path ini_name,sys_path,file_name,0 |
183 | copy_path ini_name,sys_path,file_name,0 |
184 | ;window startup pozition |
184 | ;window startup pozition |
185 | stdcall dword[ini_get_int],file_name,ini_sec_window,key_window_l,ini_def_window_l |
185 | stdcall [ini_get_int],file_name,ini_sec_window,key_window_l,ini_def_window_l |
186 | mov word[wnd_s_pos+2],ax |
186 | mov word[wnd_s_pos+2],ax |
187 | stdcall dword[ini_get_int],file_name,ini_sec_window,key_window_w,ini_def_window_w |
187 | stdcall [ini_get_int],file_name,ini_sec_window,key_window_w,ini_def_window_w |
188 | mov word[wnd_s_pos],ax |
188 | mov word[wnd_s_pos],ax |
189 | stdcall dword[ini_get_int],file_name,ini_sec_window,key_window_t,ini_def_window_t |
189 | stdcall [ini_get_int],file_name,ini_sec_window,key_window_t,ini_def_window_t |
190 | mov word[wnd_s_pos+6],ax |
190 | mov word[wnd_s_pos+6],ax |
191 | stdcall dword[ini_get_int],file_name,ini_sec_window,key_window_h,ini_def_window_h |
191 | stdcall [ini_get_int],file_name,ini_sec_window,key_window_h,ini_def_window_h |
192 | mov word[wnd_s_pos+4],ax |
192 | mov word[wnd_s_pos+4],ax |
193 | ;scrool type |
193 | ;scrool type |
194 | stdcall dword[ini_get_int],file_name,ini_sec_window,key_scroll_type,ini_def_scroll_type |
194 | stdcall [ini_get_int],file_name,ini_sec_window,key_scroll_type,ini_def_scroll_type |
195 | mov [wScr.type],eax |
195 | mov [wScr.type],eax |
196 | mov [hScr.type],eax |
196 | mov [hScr.type],eax |
197 | mov [ws_dir_lbox.type],eax |
197 | mov [ws_dir_lbox.type],eax |
198 | mov [w_scr_t3.type],eax |
198 | mov [w_scr_t3.type],eax |
199 | ;symbol size |
199 | ;symbol size |
200 | stdcall dword[ini_get_int],file_name,ini_sec_window,key_symbol_w,ini_def_symbol_w |
200 | stdcall [ini_get_int],file_name,ini_sec_window,key_symbol_w,ini_def_symbol_w |
201 | mov dword[tedit0.rec.width],eax |
201 | mov dword[tedit0.rec.width],eax |
202 | stdcall dword[ini_get_int],file_name,ini_sec_window,key_symbol_h,ini_def_symbol_h |
202 | stdcall [ini_get_int],file_name,ini_sec_window,key_symbol_h,ini_def_symbol_h |
203 | mov dword[tedit0.rec.height],eax |
203 | mov dword[tedit0.rec.height],eax |
204 | ;lea eax,[eax+eax*2] |
204 | ;lea eax,[eax+eax*2] |
205 | ;mov dword[tedit0.rec.top],eax |
205 | ;mov dword[tedit0.rec.top],eax |
206 | ;font size |
206 | ;font size |
207 | stdcall dword[ini_get_int],file_name,ini_sec_window,key_font_s,ini_def_font_s |
207 | stdcall [ini_get_int],file_name,ini_sec_window,key_font_s,ini_def_font_s |
208 | shl eax,24 |
208 | shl eax,24 |
- | 209 | mov dword[tedit0.font_size],eax |
|
- | 210 | ;ª®¯ª¨ ¯ ¥«¨ |
|
- | 211 | stdcall [ini_get_int],file_name,ini_sec_window,key_but_new,1 |
|
- | 212 | mov byte[panel_but],al |
|
- | 213 | stdcall [ini_get_int],file_name,ini_sec_window,key_but_open,1 |
|
- | 214 | mov byte[panel_but+1],al |
|
- | 215 | stdcall [ini_get_int],file_name,ini_sec_window,key_but_save,1 |
|
- | 216 | mov byte[panel_but+2],al |
|
- | 217 | stdcall [ini_get_int],file_name,ini_sec_window,key_but_select,1 |
|
- | 218 | mov byte[panel_but+3],al |
|
- | 219 | stdcall [ini_get_int],file_name,ini_sec_window,key_but_cut,1 |
|
- | 220 | mov byte[panel_but+4],al |
|
- | 221 | stdcall [ini_get_int],file_name,ini_sec_window,key_but_copy,1 |
|
- | 222 | mov byte[panel_but+5],al |
|
- | 223 | stdcall [ini_get_int],file_name,ini_sec_window,key_but_paste,1 |
|
- | 224 | mov byte[panel_but+6],al |
|
- | 225 | stdcall [ini_get_int],file_name,ini_sec_window,key_but_find,1 |
|
- | 226 | mov byte[panel_but+7],al |
|
- | 227 | stdcall [ini_get_int],file_name,ini_sec_window,key_but_replace,1 |
|
- | 228 | mov byte[panel_but+8],al |
|
- | 229 | stdcall [ini_get_int],file_name,ini_sec_window,key_but_key_words,1 |
|
- | 230 | mov byte[panel_but+9],al |
|
- | 231 | stdcall [ini_get_int],file_name,ini_sec_window,key_but_upper,1 |
|
- | 232 | mov byte[panel_but+10],al |
|
- | 233 | stdcall [ini_get_int],file_name,ini_sec_window,key_but_lower,1 |
|
- | 234 | mov byte[panel_but+11],al |
|
- | 235 | stdcall [ini_get_int],file_name,ini_sec_window,key_but_reverse,1 |
|
- | 236 | mov byte[panel_but+12],al |
|
- | 237 | stdcall [ini_get_int],file_name,ini_sec_window,key_but_undo,1 |
|
- | 238 | mov byte[panel_but+13],al |
|
- | 239 | stdcall [ini_get_int],file_name,ini_sec_window,key_but_redo,1 |
|
- | 240 | mov byte[panel_but+14],al |
|
- | 241 | stdcall [ini_get_int],file_name,ini_sec_window,key_but_invisible,1 |
|
- | 242 | mov byte[panel_but+15],al |
|
- | 243 | stdcall [ini_get_int],file_name,ini_sec_window,key_but_syntax_list,1 |
|
- | 244 | mov byte[panel_but+16],al |
|
- | 245 | stdcall [ini_get_int],file_name,ini_sec_window,key_but_syntax_mode,1 |
|
- | 246 | mov byte[panel_but+17],al |
|
- | 247 | stdcall [ini_get_int],file_name,ini_sec_window,key_but_convert_1251_866,1 |
|
- | 248 | mov byte[panel_but+18],al |
|
- | 249 | stdcall [ini_get_int],file_name,ini_sec_window,key_but_convert_866_1251,1 |
|
209 | mov dword[tedit0.font_size],eax |
250 | mov byte[panel_but+19],al |
210 | ;ä ©«®¢ë¥ à áè¨à¥¨ï |
251 | ;ä ©«®¢ë¥ à áè¨à¥¨ï |
211 | xor edx,edx |
252 | xor edx,edx |
212 | mov ebx,synt_auto_open |
253 | mov ebx,synt_auto_open |
213 | @@: |
254 | @@: |
214 | ;¡¥à¥¬ ¨¬ï ä ©« |
255 | ;¡¥à¥¬ ¨¬ï ä ©« |
215 | stdcall dword[ini_get_str],file_name,ini_sec_options,key_synt_file,ebx,32,ini_def_synt_f |
256 | stdcall [ini_get_str],file_name,ini_sec_options,key_synt_file,ebx,32,ini_def_synt_f |
216 | cmp byte[ebx],0 |
257 | cmp byte[ebx],0 |
217 | je @f |
258 | je @f |
218 | inc byte[key_synt_file.numb] |
259 | inc byte[key_synt_file.numb] |
219 | add ebx,32 |
260 | add ebx,32 |
220 | ;¡¥à¥¬ à áè¨à¥¨ï |
261 | ;¡¥à¥¬ à áè¨à¥¨ï |
221 | stdcall dword[ini_get_str],file_name,ini_sec_options,key_synt_ext,ebx,32,ini_def_synt_f |
262 | stdcall [ini_get_str],file_name,ini_sec_options,key_synt_ext,ebx,32,ini_def_synt_f |
222 | inc byte[key_synt_ext.numb] |
263 | inc byte[key_synt_ext.numb] |
223 | add ebx,32 |
264 | add ebx,32 |
224 | inc edx |
265 | inc edx |
225 | cmp edx,max_synt_auto_open |
266 | cmp edx,max_synt_auto_open |