Rev 2436 | Rev 2446 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2436 | Rev 2443 | ||
---|---|---|---|
Line 4... | Line 4... | ||
4 | ;; Copyright (C) MenuetOS 2000-2004 Ville Mikael Turjanmaa ;; |
4 | ;; Copyright (C) MenuetOS 2000-2004 Ville Mikael Turjanmaa ;; |
5 | ;; Distributed under terms of the GNU General Public License ;; |
5 | ;; Distributed under terms of the GNU General Public License ;; |
6 | ;; ;; |
6 | ;; ;; |
7 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
7 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 8... | Line 8... | ||
8 | 8 | ||
Line 9... | Line 9... | ||
9 | $Revision: 2436 $ |
9 | $Revision: 2443 $ |
10 | 10 | ||
11 | ;============================================================================== |
11 | ;============================================================================== |
Line 546... | Line 546... | ||
546 | pop eax ebx ecx edx |
546 | pop eax ebx ecx edx |
547 | ;-------------------------------------- |
547 | ;-------------------------------------- |
548 | align 4 |
548 | align 4 |
549 | .exit: |
549 | .exit: |
550 | pop ebp |
550 | pop ebp |
- | 551 | inc [_display.mask_seqno] |
|
551 | popfd |
552 | popfd |
552 | pop esi |
553 | pop esi |
553 | ret |
554 | ret |
554 | ;------------------------------------------------------------------------------ |
555 | ;------------------------------------------------------------------------------ |
555 | align 4 |
556 | align 4 |
Line 996... | Line 997... | ||
996 | add edx, ebx |
997 | add edx, ebx |
Line 997... | Line 998... | ||
997 | 998 | ||
998 | mov edi, [TASK_COUNT] |
999 | mov edi, [TASK_COUNT] |
999 | movzx esi, word[WIN_POS + edi * 2] |
1000 | movzx esi, word[WIN_POS + edi * 2] |
- | 1001 | call window._.set_screen |
|
1000 | call window._.set_screen |
1002 | inc [_display.mask_seqno] |
Line 1001... | Line 1003... | ||
1001 | popad |
1003 | popad |
1002 | 1004 | ||
1003 | ; tell application to redraw itself |
1005 | ; tell application to redraw itself |
Line 1100... | Line 1102... | ||
1100 | mov ecx, [edi + WDATA.box.width] |
1102 | mov ecx, [edi + WDATA.box.width] |
1101 | mov edx, [edi + WDATA.box.height] |
1103 | mov edx, [edi + WDATA.box.height] |
1102 | add ecx, eax |
1104 | add ecx, eax |
1103 | add edx, ebx |
1105 | add edx, ebx |
1104 | call ebp |
1106 | call ebp |
1105 | - | ||
- | 1107 | inc [_display.mask_seqno] |
|
1106 | mov byte[MOUSE_BACKGROUND], 0 |
1108 | mov byte[MOUSE_BACKGROUND], 0 |
1107 | ;-------------------------------------- |
1109 | ;-------------------------------------- |
1108 | align 4 |
1110 | align 4 |
1109 | .exit: |
1111 | .exit: |
1110 | popfd |
1112 | popfd |
Line 1202... | Line 1204... | ||
1202 | call window._.set_window_box |
1204 | call window._.set_window_box |
1203 | add esp, sizeof.BOX |
1205 | add esp, sizeof.BOX |
1204 | ;-------------------------------------- |
1206 | ;-------------------------------------- |
1205 | align 4 |
1207 | align 4 |
1206 | .exit: |
1208 | .exit: |
- | 1209 | inc [_display.mask_seqno] |
|
1207 | ret |
1210 | ret |
1208 | ;------------------------------------------------------------------------------ |
1211 | ;------------------------------------------------------------------------------ |
1209 | align 4 |
1212 | align 4 |
1210 | ;------------------------------------------------------------------------------ |
1213 | ;------------------------------------------------------------------------------ |
1211 | sys_window_rollup_handler: ;/////////////////////////////////////////////////// |
1214 | sys_window_rollup_handler: ;/////////////////////////////////////////////////// |
Line 1947... | Line 1950... | ||
1947 | add esp, 24 |
1950 | add esp, 24 |
1948 | ;-------------------------------------- |
1951 | ;-------------------------------------- |
1949 | align 4 |
1952 | align 4 |
1950 | .exit: |
1953 | .exit: |
1951 | popad |
1954 | popad |
- | 1955 | inc [_display.mask_seqno] |
|
1952 | ret |
1956 | ret |
1953 | ;-------------------------------------- |
1957 | ;-------------------------------------- |
1954 | align 4 |
1958 | align 4 |
1955 | .read_byte: |
1959 | .read_byte: |
1956 | ; eax - address |
1960 | ; eax - address |