Rev 5363 | Rev 6009 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5363 | Rev 5580 | ||
---|---|---|---|
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: 5363 $ |
9 | $Revision: 5580 $ |
10 | 10 | ||
11 | ;============================================================================== |
11 | ;============================================================================== |
Line 110... | Line 110... | ||
110 | shr ecx, 16 |
110 | shr ecx, 16 |
111 | mov eax, [TASK_BASE] |
111 | mov eax, [TASK_BASE] |
112 | add ebx, [eax - twdw + WDATA.box.left] |
112 | add ebx, [eax - twdw + WDATA.box.left] |
113 | add ecx, [eax - twdw + WDATA.box.top] |
113 | add ecx, [eax - twdw + WDATA.box.top] |
114 | mov eax, ebx |
114 | mov eax, ebx |
- | 115 | inc eax |
|
115 | shl eax, 16 |
116 | shl eax, 16 |
116 | mov ax, bx |
117 | mov ax, bx |
117 | add ax, word[esp + 16] |
118 | add ax, word[esp + 16] |
- | 119 | dec ax |
|
118 | mov ebx, ecx |
120 | mov ebx, ecx |
119 | shl ebx, 16 |
121 | shl ebx, 16 |
120 | mov bx, cx |
122 | mov bx, cx |
Line 121... | Line 123... | ||
121 | 123 | ||
Line 126... | Line 128... | ||
126 | call button._.incecx2 |
128 | call button._.incecx2 |
Line 127... | Line 129... | ||
127 | 129 | ||
128 | ; set button height counter |
130 | ; set button height counter |
129 | @@: |
131 | @@: |
- | 132 | mov edx, edi |
|
- | 133 | add ebx, 0x00010001 |
|
Line 130... | Line 134... | ||
130 | mov edx, edi |
134 | dec edx |
131 | 135 | ||
132 | .next_line: |
136 | .next_line: |
133 | call button._.button_dececx |
137 | call button._.button_dececx |
Line 190... | Line 194... | ||
190 | add bx, [esp + 4 + 0] |
194 | add bx, [esp + 4 + 0] |
191 | pop edx |
195 | pop edx |
192 | mov ecx, esi |
196 | mov ecx, esi |
193 | call button._.incecx |
197 | call button._.incecx |
194 | ; call [draw_line] |
198 | ; call [draw_line] |
- | 199 | dec ebx |
|
195 | call __sys_draw_line |
200 | call __sys_draw_line |
Line 196... | Line 201... | ||
196 | 201 | ||
197 | ; right border |
202 | ; right border |
198 | mov dx, [esp + 4] |
203 | mov dx, [esp + 4] |