Rev 5591 | Rev 6620 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5591 | Rev 6162 | ||
---|---|---|---|
Line 431... | Line 431... | ||
431 | check_boxes_set_sys_color2 check1,check1_end,color_table |
431 | check_boxes_set_sys_color2 check1,check1_end,color_table |
432 | ;-------------------------------------- |
432 | ;-------------------------------------- |
433 | ; define window |
433 | ; define window |
434 | xor eax,eax |
434 | xor eax,eax |
435 | mov ecx,100 shl 16+306 |
435 | mov ecx,100 shl 16+306 |
436 | mov edx,[color_table.win_body] |
436 | mov edx,[color_table.work] |
437 | add edx,34000000h |
437 | add edx,34000000h |
438 | xor esi,esi |
438 | xor esi,esi |
439 | xor edi,edi |
439 | xor edi,edi |
440 | mcall ,<100,436>,,,[color_table.win_title],caption_str |
440 | mcall ,<100,436>,,,,caption_str |
441 | mcall 9,procinfo,-1 |
441 | mcall 9,procinfo,-1 |
Line 442... | Line 442... | ||
442 | 442 | ||
443 | mov eax,[procinfo+70] ;status of window |
443 | mov eax,[procinfo+70] ;status of window |
444 | test eax,100b |
444 | test eax,100b |
Line 494... | Line 494... | ||
494 | draw_lines: |
494 | draw_lines: |
495 | mov ecx,2 shl 16+12*3 |
495 | mov ecx,2 shl 16+12*3 |
496 | ; draw frame for messages data |
496 | ; draw frame for messages data |
497 | push ecx |
497 | push ecx |
498 | add ecx,50 shl 16+16 |
498 | add ecx,50 shl 16+16 |
499 | mcall 38,<3,423>,,[color_table.gui_frame] |
499 | mcall 38,<3,423>,,[color_table.work_graph] |
500 | add ecx,224*(1 shl 16+1) |
500 | add ecx,224*(1 shl 16+1) |
501 | mcall |
501 | mcall |
502 | sub cx,224 |
502 | sub cx,224 |
503 | mcall ,<3,3> |
503 | mcall ,<3,3> |
504 | mcall ,<423,423> |
504 | mcall ,<423,423> |
Line 506... | Line 506... | ||
506 | ret |
506 | ret |
507 | ;********************************************************************* |
507 | ;********************************************************************* |
508 | draw_buttons: |
508 | draw_buttons: |
509 | ; define compress button |
509 | ; define compress button |
510 | mov cx,18 |
510 | mov cx,18 |
511 | mcall 8,<351,73>,<1, 17>,2,[color_table.btn_face] |
511 | mcall 8,<351,73>,<1, 17>,2,[color_table.work_button] |
512 | ; uncompress button |
512 | ; uncompress button |
513 | add ecx,18 shl 16 |
513 | add ecx,18 shl 16 |
514 | inc edx |
514 | inc edx |
515 | mcall |
515 | mcall |
516 | ;add ecx,-12h+0Ch+140000h |
516 | ;add ecx,-12h+0Ch+140000h |
Line 519... | Line 519... | ||
519 | push esi |
519 | push esi |
520 | mov dl,7 |
520 | mov dl,7 |
521 | mcall ,<413,11> |
521 | mcall ,<413,11> |
522 | shr ecx,16 |
522 | shr ecx,16 |
523 | lea ebx,[ecx+1A00002h] |
523 | lea ebx,[ecx+1A00002h] |
524 | mcall 4,,[color_table.btn_text],aQuestion,1 |
524 | mcall 4,,[color_table.work_button_text],aQuestion,1 |
525 | pop esi |
525 | pop esi |
526 | ; define settings buttons |
526 | ; define settings buttons |
527 | mov ecx,16*2+2 |
527 | mov ecx,16*2+2 |
528 | shl ecx,16 |
528 | shl ecx,16 |
529 | mov cx,13 |
529 | mov cx,13 |
530 | mcall 8,<6,50>,,4 |
530 | mcall 8,<6,50>,,4 |
531 | ; text on settings buttons |
531 | ; text on settings buttons |
532 | mov ebx,8 shl 16+5 |
532 | mov ebx,8 shl 16+5 |
533 | mov al,4 |
533 | mov al,4 |
534 | mov ecx,[color_table.win_text] |
534 | mov ecx,[color_table.work_text] |
535 | push buttons1names |
535 | push buttons1names |
536 | pop edx |
536 | pop edx |
537 | push 8 |
537 | push 8 |
538 | pop esi |
538 | pop esi |
539 | ;-------------------------------------- |
539 | ;-------------------------------------- |
Line 541... | Line 541... | ||
541 | add edx,esi |
541 | add edx,esi |
542 | add ebx,16 |
542 | add ebx,16 |
543 | mcall |
543 | mcall |
544 | add edx,esi |
544 | add edx,esi |
545 | add ebx,16 |
545 | add ebx,16 |
546 | mov ecx,[color_table.btn_text] |
546 | mov ecx,[color_table.work_button_text] |
547 | mcall |
547 | mcall |
548 | ; text on compress and decompress buttons |
548 | ; text on compress and decompress buttons |
549 | or ecx,0x80000000 |
549 | or ecx,0x80000000 |
550 | mcall ,<364,6>,,aCompress |
550 | mcall ,<364,6>,,aCompress |
551 | mcall ,<359,24>,,aDecompress |
551 | mcall ,<359,24>,,aDecompress |