Rev 2273 | Rev 3177 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2273 | Rev 2673 | ||
---|---|---|---|
Line 67... | Line 67... | ||
67 | mov edi,path |
67 | mov edi,path |
68 | mov [edi-4],dword 6 |
68 | mov [edi-4],dword 6 |
69 | movsw |
69 | movsw |
70 | movsd |
70 | movsd |
71 | ; get system window info |
71 | ; get system window info |
72 | mcall 48,3,color_table,40 |
- | |
73 | ;-------------------------------------- |
- | |
74 | edit_boxes_set_sys_color edit1,editboxes_end,color_table |
- | |
75 | check_boxes_set_sys_color check1,check1_end,color_table |
- | |
76 | ;-------------------------------------- |
- | |
77 | xor eax,eax |
72 | xor eax,eax |
78 | cmp [params],al |
73 | cmp [params],al |
79 | je default |
74 | je default |
Line 80... | Line 75... | ||
80 | 75 | ||
Line 424... | Line 419... | ||
424 | ret |
419 | ret |
425 | ;********************************************************************* |
420 | ;********************************************************************* |
426 | draw_window: |
421 | draw_window: |
427 | ; start redraw |
422 | ; start redraw |
428 | mcall 12,1 |
423 | mcall 12,1 |
- | 424 | ||
- | 425 | mcall 48,3,color_table,40 |
|
- | 426 | ;-------------------------------------- |
|
- | 427 | edit_boxes_set_sys_color edit1,editboxes_end,color_table |
|
- | 428 | check_boxes_set_sys_color check1,check1_end,color_table |
|
429 | ;-------------------------------------- |
429 | ;-------------------------------------- |
430 | ; define window |
430 | ; define window |
431 | xor eax,eax |
431 | xor eax,eax |
432 | mov ecx,100 shl 16+306 |
432 | mov ecx,100 shl 16+306 |
433 | mov edx,[color_table+20] |
433 | mov edx,[color_table+20] |
Line 503... | Line 503... | ||
503 | ret |
503 | ret |
504 | ;********************************************************************* |
504 | ;********************************************************************* |
505 | draw_buttons: |
505 | draw_buttons: |
506 | ; define compress button |
506 | ; define compress button |
507 | mov cx,18 |
507 | mov cx,18 |
508 | mcall 8,<351,72>,,2,[color_table+24] |
508 | mcall 8,<351,72>,<1, 17>,2,[color_table+24] |
509 | ; uncompress button |
509 | ; uncompress button |
510 | add ecx,18 shl 16 |
510 | add ecx,18 shl 16 |
511 | inc edx |
511 | inc edx |
512 | mcall |
512 | mcall |
513 | add ecx,-12h+0Ah+140000h |
513 | add ecx,-12h+0Ah+140000h |
Line 541... | Line 541... | ||
541 | add ebx,16 |
541 | add ebx,16 |
542 | mov ecx,[color_table+28] |
542 | mov ecx,[color_table+28] |
543 | mcall |
543 | mcall |
544 | ; text on compress and decompress buttons |
544 | ; text on compress and decompress buttons |
545 | or ecx,80000000h |
545 | or ecx,80000000h |
546 | mcall ,<367,7>,,aCompress |
546 | mcall ,<364,6>,,aCompress |
547 | mcall ,<359,25>,,aDecompress |
547 | mcall ,<359,24>,,aDecompress |
548 | ret |
548 | ret |
549 | ;********************************************************************* |
549 | ;********************************************************************* |
550 | ;Pack procedures |
550 | ;Pack procedures |
551 | include 'packpoc.inc' |
551 | include 'packpoc.inc' |
552 | ;--------------------------------------------------------------------- |
552 | ;--------------------------------------------------------------------- |