Rev 1979 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1979 | Rev 2024 | ||
---|---|---|---|
Line 473... | Line 473... | ||
473 | 473 | ||
Line 474... | Line 474... | ||
474 | mov eax,7 ; put image |
474 | mov eax,7 ; put image |
475 | mov ebx,screen |
475 | mov ebx,screen |
476 | mov ecx,SIZE_X shl 16 + SIZE_Y |
476 | mov ecx,SIZE_X shl 16 + SIZE_Y |
477 | mov edx,5 shl 16 + 20 |
477 | mov edx,5 shl 16 + 22 |
478 | int 0x40 |
478 | int 0x40 |
Line 479... | Line 479... | ||
479 | 479 | ||
480 | 480 | ||
Line 2639... | Line 2639... | ||
2639 | add bx,110 |
2639 | add bx,110 |
2640 | mov cx,[size_y] |
2640 | mov cx,[size_y] |
2641 | add cx,30 |
2641 | add cx,30 |
2642 | mov edx,0x14000000 ; color of work area RRGGBB,8->color gl |
2642 | mov edx,0x14000000 ; color of work area RRGGBB,8->color gl |
2643 | mov esi,0x805080d0 ; color of grab bar RRGGBB,8->color gl |
2643 | mov edi,labelt ; WINDOW LABEL |
2644 | mov edi,0x005080d0 ; color of frames RRGGBB |
- | |
2645 | int 0x40 |
2644 | int 0x40 |
2646 | 2645 | ||
Line 2647... | Line -... | ||
2647 | ; WINDOW LABEL |
- | |
2648 | mov eax,4 ; function 4 : write text to window |
- | |
2649 | mov ebx,8*65536+8 ; [x start] *65536 + [y start] |
- | |
2650 | mov ecx,0x20ddeeff ; font 1 & color ( 0xF0RRGGBB ) |
- | |
2651 | mov edx,labelt ; pointer to text beginning |
- | |
2652 | mov esi,labellen-labelt ; text length |
- | |
2653 | int 0x40 |
- | |
2654 | - | ||
2655 | ; CLOSE BUTTON |
- | |
2656 | ; mov eax,8 ; function 8 : define and draw button |
- | |
2657 | ; movzx ebx,[size_x] |
- | |
2658 | ; shl ebx,16 |
- | |
2659 | ; add ebx, 91 shl 16 + 12 |
- | |
2660 | ;; mov ebx,(SIZE_X+80+30-19)*65536+12 ; [x start] *65536 + [x size] |
- | |
2661 | ; mov ecx,5*65536+12 ; [y start] *65536 + [y size] |
- | |
2662 | ; mov edx,1 ; button id |
- | |
2663 | ; mov esi,0x6688dd ; button color RRGGBB |
- | |
2664 | ; int 0x40 |
- | |
2665 | - | ||
2666 | call buttons ; more buttons |
2646 | call buttons ; more buttons |
Line 2667... | Line 2647... | ||
2667 | 2647 | ||
Line 2668... | Line 2648... | ||
2668 | .Y_ADD equ 1 ;-> offset of 'add vector' buttons |
2648 | .Y_ADD equ 1 ;-> offset of 'add vector' buttons |