Rev 2423 | Rev 2436 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2423 | Rev 2430 | ||
---|---|---|---|
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: 2423 $ |
9 | $Revision: 2430 $ |
10 | 10 | ||
11 | ;============================================================================== |
11 | ;============================================================================== |
Line 41... | Line 41... | ||
41 | and al, 0x0f |
41 | and al, 0x0f |
42 | cmp al, 5 |
42 | cmp al, 5 |
43 | jae .exit |
43 | jae .exit |
Line 44... | Line 44... | ||
44 | 44 | ||
45 | push eax |
- | |
46 | inc [mouse_pause] |
- | |
47 | call [_display.disable_mouse] |
45 | push eax |
48 | call window._.sys_set_window |
- | |
49 | call [_display.disable_mouse] |
46 | call window._.sys_set_window |
Line 50... | Line 47... | ||
50 | pop eax |
47 | pop eax |
51 | 48 | ||
Line 60... | Line 57... | ||
60 | dec al |
57 | dec al |
61 | jnz @f |
58 | jnz @f |
Line 62... | Line 59... | ||
62 | 59 | ||
63 | ; type II - only reserve area, no draw |
60 | ; type II - only reserve area, no draw |
64 | call sys_window_mouse |
- | |
65 | dec [mouse_pause] |
61 | call sys_window_mouse |
66 | call [draw_pointer] |
62 | call [draw_pointer] |
Line 67... | Line 63... | ||
67 | jmp .exit |
63 | jmp .exit |
68 | 64 | ||
Line 620... | Line 616... | ||
620 | .flags_set: |
616 | .flags_set: |
621 | push ebx |
617 | push ebx |
Line 622... | Line 618... | ||
622 | 618 | ||
623 | ; set line color |
619 | ; set line color |
624 | mov ecx, esi |
620 | mov ecx, esi |
625 | sub esi, 1 shl 25 |
621 | ; sub esi, 1 shl 25 |
626 | ; draw top border |
622 | ; draw top border |
627 | rol ebx, 16 |
623 | rol ebx, 16 |
628 | push ebx |
624 | push ebx |
629 | rol ebx, 16 |
625 | rol ebx, 16 |
Line 2052... | Line 2048... | ||
2052 | ;------------------------------------------------------------------------------ |
2048 | ;------------------------------------------------------------------------------ |
2053 | window._.draw_window_caption: ;//////////////////////////////////////////////// |
2049 | window._.draw_window_caption: ;//////////////////////////////////////////////// |
2054 | ;------------------------------------------------------------------------------ |
2050 | ;------------------------------------------------------------------------------ |
2055 | ;? |
2051 | ;? |
2056 | ;------------------------------------------------------------------------------ |
2052 | ;------------------------------------------------------------------------------ |
2057 | inc [mouse_pause] |
- | |
2058 | call [_display.disable_mouse] |
- | |
2059 | - | ||
2060 | xor eax, eax |
2053 | xor eax, eax |
2061 | mov edx, [TASK_COUNT] |
2054 | mov edx, [TASK_COUNT] |
2062 | movzx edx, word[WIN_POS + edx * 2] |
2055 | movzx edx, word[WIN_POS + edx * 2] |
2063 | cmp edx, [CURRENT_TASK] |
2056 | cmp edx, [CURRENT_TASK] |
2064 | jne @f |
2057 | jne @f |
Line 2166... | Line 2159... | ||
2166 | or ecx, 0x80000000 |
2159 | or ecx, 0x80000000 |
2167 | xor edi, edi |
2160 | xor edi, edi |
2168 | call dtext_asciiz_esi |
2161 | call dtext_asciiz_esi |
Line 2169... | Line 2162... | ||
2169 | 2162 | ||
2170 | .exit: |
- | |
2171 | dec [mouse_pause] |
2163 | .exit: |
2172 | call [draw_pointer] |
2164 | call [draw_pointer] |
Line 2173... | Line 2165... | ||
2173 | ret |
2165 | ret |
2174 | 2166 |