Rev 2434 | Rev 5565 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2434 | Rev 2465 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
1 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
2 | ;; ;; |
2 | ;; ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2010. All rights reserved. ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2012. 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 | ;; ;; |
7 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
7 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 8... | Line 8... | ||
8 | 8 | ||
Line 9... | Line 9... | ||
9 | $Revision: 2434 $ |
9 | $Revision: 2465 $ |
10 | 10 | ||
11 | ;============================================================================== |
11 | ;============================================================================== |
Line 131... | Line 131... | ||
131 | 131 | ||
132 | .next_line: |
132 | .next_line: |
133 | call button._.button_dececx |
133 | call button._.button_dececx |
134 | push edi |
134 | push edi |
135 | xor edi, edi |
135 | xor edi, edi |
- | 136 | ; call [draw_line] |
|
136 | call [draw_line] |
137 | call __sys_draw_line |
137 | pop edi |
138 | pop edi |
138 | add ebx, 0x00010001 |
139 | add ebx, 0x00010001 |
139 | dec edx |
140 | dec edx |
Line 162... | Line 163... | ||
162 | mov bx, cx |
163 | mov bx, cx |
163 | push ebx |
164 | push ebx |
164 | xor edi, edi |
165 | xor edi, edi |
165 | mov ecx, esi |
166 | mov ecx, esi |
166 | call button._.incecx |
167 | call button._.incecx |
167 | call [draw_line] |
168 | ; call [draw_line] |
- | 169 | call __sys_draw_line |
|
Line 168... | Line 170... | ||
168 | 170 | ||
169 | ; bottom border |
171 | ; bottom border |
170 | movzx edx, word[esp + 4 + 0] |
172 | movzx edx, word[esp + 4 + 0] |
171 | add ebx, edx |
173 | add ebx, edx |
172 | shl edx, 16 |
174 | shl edx, 16 |
173 | add ebx, edx |
175 | add ebx, edx |
174 | mov ecx, esi |
176 | mov ecx, esi |
175 | call button._.dececx |
177 | call button._.dececx |
- | 178 | ; call [draw_line] |
|
Line 176... | Line 179... | ||
176 | call [draw_line] |
179 | call __sys_draw_line |
177 | 180 | ||
178 | ; left border |
181 | ; left border |
179 | pop ebx |
182 | pop ebx |
Line 186... | Line 189... | ||
186 | mov bx, dx |
189 | mov bx, dx |
187 | add bx, [esp + 4 + 0] |
190 | add bx, [esp + 4 + 0] |
188 | pop edx |
191 | pop edx |
189 | mov ecx, esi |
192 | mov ecx, esi |
190 | call button._.incecx |
193 | call button._.incecx |
191 | call [draw_line] |
194 | ; call [draw_line] |
- | 195 | call __sys_draw_line |
|
Line 192... | Line 196... | ||
192 | 196 | ||
193 | ; right border |
197 | ; right border |
194 | mov dx, [esp + 4] |
198 | mov dx, [esp + 4] |
195 | add ax, dx |
199 | add ax, dx |
196 | shl edx, 16 |
200 | shl edx, 16 |
197 | add eax, edx |
201 | add eax, edx |
198 | add ebx, 0x00010000 |
202 | add ebx, 0x00010000 |
199 | mov ecx, esi |
203 | mov ecx, esi |
200 | call button._.dececx |
204 | call button._.dececx |
- | 205 | ; call [draw_line] |
|
Line 201... | Line 206... | ||
201 | call [draw_line] |
206 | call __sys_draw_line |
Line 202... | Line 207... | ||
202 | 207 | ||
203 | pop ecx ebx |
208 | pop ecx ebx |