Rev 803 | Rev 983 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 803 | Rev 965 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | ;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2007. 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: 803 $ |
8 | $Revision: 965 $ |
9 | 9 | ||
10 | 10 | ||
Line 224... | Line 224... | ||
224 | 224 | ||
Line 225... | Line 225... | ||
225 | call drawbuttonframes |
225 | call drawbuttonframes |
Line 226... | Line -... | ||
226 | - | ||
227 | button_no_draw: |
226 | |
228 | 227 | button_no_draw: |
|
229 | push edi |
228 | |
230 | mov edi, [BTN_ADDR] |
229 | mov edi, [BTN_ADDR] |
231 | movzx eax, word [edi] |
230 | movzx eax, word [edi] |
Line 249... | Line 248... | ||
249 | stosd ; y start | y size |
248 | stosd ; y start | y size |
250 | mov eax, edx |
249 | mov eax, edx |
251 | shr eax, 16 |
250 | shr eax, 16 |
252 | stosw ; button id number: bits 16-31 |
251 | stosw ; button id number: bits 16-31 |
Line 253... | Line -... | ||
253 | - | ||
254 | pop edi |
- | |
255 | 252 | ||
Line 256... | Line 253... | ||
256 | noaddbutt: |
253 | noaddbutt: |