Rev 3899 | Rev 3962 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3899 | Rev 3921 | ||
---|---|---|---|
Line 4... | Line 4... | ||
4 | idbRight equ 5 |
4 | idbRight equ 5 |
5 | idbCancel equ 1 |
5 | idbCancel equ 1 |
Line 6... | Line 6... | ||
6 | 6 | ||
7 | DlgAdd: |
7 | DlgAdd: |
- | 8 | DlgProp: |
|
8 | DlgProp: |
9 | |
- | 10 | mov eax,[SelIcon] |
|
9 | mov eax,[SelIcon] |
11 | mov [DlgSelIcon],eax |
10 | cmp eax,-1 |
12 | cmp eax,-1 |
Line 11... | Line 13... | ||
11 | jne SetProp |
13 | jne SetProp |
12 | 14 | ||
Line 90... | Line 92... | ||
90 | mov dword[edtIcon.size],ecx |
92 | mov dword[edtIcon.size],ecx |
91 | mov dword[edtIcon.pos],ecx |
93 | mov dword[edtIcon.pos],ecx |
Line 92... | Line 94... | ||
92 | 94 | ||
- | 95 | ||
- | 96 | startDlg: |
|
- | 97 | mcall 9,RBProcInfo,-1 |
|
- | 98 | mcall 18,21,dword[RBProcInfo+30] |
|
93 | 99 | mov [slotDlgAdd],eax |
|
Line 94... | Line 100... | ||
94 | startDlg: |
100 | |
95 | or [edtName.flags],ed_focus |
101 | or [edtName.flags],ed_focus |
96 | 102 | ||
Line 106... | Line 112... | ||
106 | cmp dword[MaxPage],0 |
112 | cmp dword[MaxPage],0 |
107 | jne @f |
113 | jne @f |
108 | mov dword[MaxPage],1 |
114 | mov dword[MaxPage],1 |
109 | @@: |
115 | @@: |
Line 110... | Line -... | ||
110 | - | ||
111 | stdcall [OpenDialog_Init],OpenDialog_data |
- | |
112 | 116 | ||
113 | DReDraw: |
117 | DReDraw: |
Line 114... | Line 118... | ||
114 | mcall 48,3,sc,40 |
118 | mcall 48,3,sc,40 |
115 | 119 | ||
Line 330... | Line 334... | ||
330 | mov dword[fiRunProg+8],WarningSave |
334 | mov dword[fiRunProg+8],WarningSave |
331 | mov dword[fiRunProg+21],pthNotify |
335 | mov dword[fiRunProg+21],pthNotify |
332 | mcall 70,fiRunProg |
336 | mcall 70,fiRunProg |
Line 333... | Line 337... | ||
333 | 337 | ||
334 | 338 | ||
335 | cmp [SelIcon],-1 |
339 | cmp [DlgSelIcon],-1 |
336 | je @f |
340 | je @f |
337 | ;㤠«ï¥¬ ¨§ ini áâ àãî ¨ª®ªã |
341 | ;㤠«ï¥¬ ¨§ ini áâ àãî ¨ª®ªã |
338 | mov ebx,[SelIcon] |
342 | mov ebx,[DlgSelIcon] |
Line 339... | Line 343... | ||
339 | mov eax,[IconsOffs+ebx*4] |
343 | mov eax,[IconsOffs+ebx*4] |
340 | stdcall [ini_del_section],IconIni,eax |
344 | stdcall [ini_del_section],IconIni,eax |
341 | 345 | ||
342 | stdcall EditIcon,[SelIcon],DAreaIcon,DAreaName,DAreaPath,DAreaParams |
346 | stdcall EditIcon,[DlgSelIcon],DAreaIcon,DAreaName,DAreaPath,DAreaParams |
343 | jmp DExitAndSave |
347 | jmp DExitAndSave |
344 | @@: |
348 | @@: |
Line 352... | Line 356... | ||
352 | stdcall [ini_set_str],IconIni,DAreaName,keyIco,DAreaIcon,dword[edtIcon.size] |
356 | stdcall [ini_set_str],IconIni,DAreaName,keyIco,DAreaIcon,dword[edtIcon.size] |
353 | stdcall [ini_set_int],IconIni,DAreaName,keyX,[MouseX] |
357 | stdcall [ini_set_int],IconIni,DAreaName,keyX,[MouseX] |
354 | stdcall [ini_set_int],IconIni,DAreaName,keyY,[MouseY] |
358 | stdcall [ini_set_int],IconIni,DAreaName,keyY,[MouseY] |
Line 355... | Line 359... | ||
355 | 359 | ||
- | 360 | DExit: |
|
- | 361 | mov [DlgAddActiv],0 |
|
356 | DExit: |
362 | mov [slotDlgAdd],0 |
Line 357... | Line 363... | ||
357 | mcall -1 ;ExitProcess |
363 | mcall -1 ;ExitThread |
358 | 364 | ||
359 | ;################################################################## |
365 | ;################################################################## |
360 | proc DRedraw |
366 | proc DRedraw |
Line 402... | Line 408... | ||
402 | if lang eq ru |
408 | if lang eq ru |
403 | mov ecx,[sc.work_button_text] |
409 | mov ecx,[sc.work_button_text] |
404 | or ecx,80000000h |
410 | or ecx,80000000h |
405 | mcall ,<309,35+END_ICONS_AREAH>,,DCaptCancel |
411 | mcall ,<309,35+END_ICONS_AREAH>,,DCaptCancel |
Line 406... | Line 412... | ||
406 | 412 | ||
407 | cmp [SelIcon],-1 |
413 | cmp [DlgSelIcon],-1 |
408 | jne @f |
414 | jne @f |
409 | mpack ebx,255,35+END_ICONS_AREAH |
415 | mpack ebx,255,35+END_ICONS_AREAH |
410 | mov edx,DCaptCreate |
416 | mov edx,DCaptCreate |
411 | jmp .DRD1 |
417 | jmp .DRD1 |
Line 417... | Line 423... | ||
417 | mov ecx,[sc.work_button_text] |
423 | mov ecx,[sc.work_button_text] |
418 | or ecx,80000000h |
424 | or ecx,80000000h |
419 | mcall ,<315,35+END_ICONS_AREAH>,,DCaptCancel |
425 | mcall ,<315,35+END_ICONS_AREAH>,,DCaptCancel |
Line 420... | Line 426... | ||
420 | 426 | ||
421 | 427 | ||
422 | cmp [SelIcon],-1 |
428 | cmp [DlgSelIcon],-1 |
423 | jne @f |
429 | jne @f |
424 | mpack ebx,257,35+END_ICONS_AREAH |
430 | mpack ebx,257,35+END_ICONS_AREAH |
425 | mov edx,DCaptCreate |
431 | mov edx,DCaptCreate |