Rev 856 | Rev 970 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 856 | Rev 961 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | ;; Copyright (C) KolibriOS team 2004-2008. All rights reserved. ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2008. All rights reserved. ;; |
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 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 7... | Line 7... | ||
7 | 7 | ||
Line 8... | Line 8... | ||
8 | $Revision: 856 $ |
8 | $Revision: 961 $ |
9 | 9 | ||
10 | 10 | ||
Line 20... | Line 20... | ||
20 | 20 | ||
21 | get_rolledup_height: ; edi = window draw_data pointer |
21 | get_rolledup_height: ; edi = window draw_data pointer |
22 | mov al,[edi+WDATA.fl_wstyle] |
22 | mov al,[edi+WDATA.fl_wstyle] |
23 | and al,0x0F |
23 | and al,0x0F |
24 | cmp al,0x03 |
24 | cmp al,0x03 |
25 | jne @f |
25 | jb @f |
26 | mov eax,[_skinh] |
26 | mov eax,[_skinh] |
27 | add eax,3 |
27 | add eax,3 |
28 | ret |
28 | ret |
29 | @@: or al,al |
29 | @@: or al,al |