Rev 1780 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1780 | Rev 2083 | ||
---|---|---|---|
Line 678... | Line 678... | ||
678 | mov ebx,1 ; 1, start of draw |
678 | mov ebx,1 ; 1, start of draw |
679 | int 0x40 |
679 | int 0x40 |
Line 680... | Line 680... | ||
680 | 680 | ||
681 | ; DRAW WINDOW |
681 | ; DRAW WINDOW |
682 | mov eax,0 ; function 0 : define and draw window |
682 | mov eax,0 ; function 0 : define and draw window |
683 | mov ebx,100*65536+SIZE_X+20 ; [x start] *65536 + [x size] |
683 | mov ebx,120*65536+SIZE_X+20 ; [x start] *65536 + [x size] |
684 | mov ecx,100*65536+SIZE_Y+30 ; [y start] *65536 + [y size] |
684 | mov ecx,120*65536+SIZE_Y+45 ; [y start] *65536 + [y size] |
685 | mov edx,0x02000000 ; color of work area RRGGBB,8->color gl |
685 | mov edx,0x34000000 ; color of work area RRGGBB,8->color gl |
686 | mov esi,0x805080d0 ; color of grab bar RRGGBB,8->color gl |
686 | ;mov esi,0x805080d0 ; color of grab bar RRGGBB,8->color gl |
687 | mov edi,0x005080d0 ; color of frames RRGGBB |
687 | mov edi,labelt ; color of frames RRGGBB |
Line 688... | Line -... | ||
688 | int 0x40 |
- | |
689 | - | ||
690 | ; WINDOW LABEL |
- | |
691 | mov eax,4 ; function 4 : write text to window |
- | |
692 | mov ebx,8*65536+8 ; [x start] *65536 + [y start] |
- | |
693 | mov ecx,0x20ddeeff ; font 1 & color ( 0xF0RRGGBB ) |
- | |
694 | mov edx,labelt ; pointer to text beginning |
- | |
695 | mov esi,labellen-labelt ; text length |
- | |
696 | int 0x40 |
- | |
697 | - | ||
698 | ; CLOSE BUTTON |
- | |
699 | mov eax,8 ; function 8 : define and draw button |
- | |
700 | mov ebx,(SIZE_X+20-19)*65536+12 ; [x start] *65536 + [x size] |
- | |
701 | mov ecx,5*65536+12 ; [y start] *65536 + [y size] |
- | |
702 | mov edx,1 ; button id |
- | |
703 | mov esi,0x6688dd ; button color RRGGBB |
688 | int 0x40 |
704 | int 0x40 |
689 | |
705 | ; flag color button |
690 | ; flag color button |
706 | mov eax,8 ; function 8 : define and draw button |
691 | mov eax,8 ; function 8 : define and draw button |
707 | mov ebx,(SIZE_X-30)*65536+20 ; [x start] *65536 + [x size] |
692 | mov ebx,(SIZE_X-30)*65536+20 ; [x start] *65536 + [x size] |
708 | mov ecx,5*65536+12 ; [y start] *65536 + [y size] |
693 | mov ecx,5*65536+12 ; [y start] *65536 + [y size] |
709 | mov edx,2 ; button id |
694 | mov edx,2 ; button id |
710 | mov esi,0x2288dd ; button color RRGGBB |
695 | mov esi,0x555555 ; button color RRGGBB |
711 | int 0x40 |
696 | int 0x40 |
712 | ; spped button |
697 | ; spped button |
713 | mov eax,8 ; function 8 : define and draw button |
698 | mov eax,8 ; function 8 : define and draw button |
714 | mov ebx,(SIZE_X-60)*65536+20 ; [x start] *65536 + [x size] |
699 | mov ebx,(SIZE_X-60)*65536+20 ; [x start] *65536 + [x size] |
715 | mov ecx,5*65536+12 ; [y start] *65536 + [y size] |
700 | mov ecx,5*65536+12 ; [y start] *65536 + [y size] |
716 | mov edx,3 ; button id |
701 | mov edx,3 ; button id |
Line 717... | Line 702... | ||
717 | mov esi,0x2288dd ; button color RRGGBB |
702 | mov esi,0x555555 ; button color RRGGBB |
718 | int 0x40 |
703 | int 0x40 |
719 | 704 | ||
Line 745... | Line 730... | ||
745 | dd 0xffffffff ;<- end marker |
730 | dd 0xffffffff ;<- end marker |
Line 746... | Line 731... | ||
746 | 731 | ||
747 | 732 | ||
748 | 733 | ||
749 | labelt: |
734 | labelt: |
750 | db '3d wavy rotaring area' |
735 | db '3d wavy rotaring area',0 |
751 | labellen: |
736 | labellen: |
752 | sinbeta rd 1 |
737 | sinbeta rd 1 |