Changeset 170 in xtideuniversalbios for trunk/Configurator/Src
- Timestamp:
- Aug 22, 2011, 2:25:51 PM (13 years ago)
- google:author:
- krille_n_@hotmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Configurator/Src/Libraries/menu/menudraw.asm
r78 r170 1 ; File name : menudraw.asm2 1 ; Project name : Menu library 3 ; Created date : 9.11.20094 ; Last update : 4.1.20115 ; Author : Tomi Tilli,6 ; : Krister Nordvall (optimizations)7 2 ; Description : ASM library to menu system. 8 3 ; Contains menu drawing functions. … … 164 159 ; call MenuDraw_ItemBorders ; Draw borders to clear old strings 165 160 ALIGN JUMP_ALIGN 166 MenuDraw_AllItemsNoBord: 161 MenuDraw_AllItemsNoBord: 167 162 cmp WORD [bp+MENUVARS.wItemCnt], 0 ; Any items to draw? 168 163 jz MenuDraw_NothingToDraw ; If not, return … … 358 353 mov dh, B_TR 359 354 jmp SHORT MenuDraw_BorderChars 360 355 361 356 ALIGN JUMP_ALIGN 362 357 MenuDraw_StringBorder: … … 447 442 cmp ax, bx ; Need scroll bars? 448 443 jbe .Return ; If not, return 449 444 450 445 ; Calculate last menuitem index for thumb char on this line 451 446 push bx ; Store number of visible menuitems … … 462 457 jc .Return ; If so, draw thumb 463 458 mov dh, T_V ; Load track character 464 ALIGN JUMP_ALIGN 459 ALIGN JUMP_ALIGN, ret 465 460 .Return: 466 461 ret
Note:
See TracChangeset
for help on using the changeset viewer.