Rev 2288 | Rev 2381 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2288 | Rev 2341 | ||
---|---|---|---|
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: 2288 $ |
9 | $Revision: 2341 $ |
10 | 10 | ||
11 | ;============================================================================== |
11 | ;============================================================================== |
Line 2188... | Line 2188... | ||
2188 | ;> edi = pointer to BOX struct |
2188 | ;> edi = pointer to BOX struct |
2189 | ;------------------------------------------------------------------------------ |
2189 | ;------------------------------------------------------------------------------ |
2190 | push eax ebx esi |
2190 | push eax ebx esi |
2191 | xor esi, esi |
2191 | xor esi, esi |
2192 | jmp window._.draw_negative_box.1->->->->=>=>>>>>>>>>>>>>>>>>>> |
2192 | jmp window._.draw_negative_box.1 |
- | 2193 | ||
- | 2194 | ||
- | 2195 | ;------------------------------------------------------------------------------ |
|
- | 2196 | window._.get_rect: ;///////////////////////////////////////////////////// |
|
- | 2197 | ;------------------------------------------------------------------------------ |
|
- | 2198 | ;? |
|
- | 2199 | ;------------------------------------------------------------------------------ |
|
- | 2200 | ;> ecx = pointer to RECT |
|
- | 2201 | ;------------------------------------------------------------------------------ |
|
- | 2202 | mov eax, [TASK_BASE] |
|
- | 2203 | ||
- | 2204 | mov edx, [eax-twdw + WDATA.box.left] |
|
- | 2205 | mov [ecx+RECT.left], edx |
|
- | 2206 | ||
- | 2207 | add edx, [eax-twdw + WDATA.box.width] |
|
- | 2208 | mov [ecx+RECT.right], edx |
|
- | 2209 | ||
- | 2210 | mov edx, [eax-twdw + WDATA.box.top] |
|
- | 2211 | mov [ecx+RECT.top], edx |
|
- | 2212 | ||
- | 2213 | add edx, [eax-twdw + WDATA.box.height] |
|
- | 2214 | mov [ecx+RECT.bottom], edx |
|
- | 2215 | ||
- | 2216 | ret->->->->=>=>>>>>>>>>>>>>>>>>>> |
|
- | 2217 |