Changeset 583 in xtideuniversalbios for trunk/Assembly_Library/Src/Menu
- Timestamp:
- Apr 23, 2015, 4:28:47 PM (10 years ago)
- google:author:
- krille_n_@hotmail.com
- Location:
- trunk/Assembly_Library/Src/Menu
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Assembly_Library/Src/Menu/Dialog/Dialog.asm
r526 r583 180 180 CALL_DISPLAY_LIBRARY GetColumnsToALandRowsToAH 181 181 xchg bx, ax 182 mov ah, [bp+MENUINIT.bTitleLines] 182 mov ah, MENU_VERTICAL_BORDER_LINES 183 add ah, [bp+MENUINIT.bTitleLines] 183 184 add ah, [bp+MENUINIT.wItems] 184 185 add ah, [bp+MENUINIT.bInfoLines] 185 add ah, BYTE MENU_VERTICAL_BORDER_LINES186 186 cmp ah, bh 187 187 jb .AHlessThanBH -
trunk/Assembly_Library/Src/Menu/MenuBorders.asm
r580 r583 135 135 ALIGN MENU_JUMP_ALIGN 136 136 MenuBorders_GetNumberOfMiddleCharactersToDX: 137 eMOVZX dx, [bp+MENUINIT.bWidth]138 sub dx, BYTE MENU_HORIZONTAL_BORDER_LINES137 mov dx, -MENU_HORIZONTAL_BORDER_LINES & 0FFh 138 add dl, [bp+MENUINIT.bWidth] 139 139 ret 140 140 -
trunk/Assembly_Library/Src/Menu/MenuLocation.asm
r526 r583 133 133 ALIGN MENU_JUMP_ALIGN 134 134 MenuLocation_GetMaxTextLineLengthToAX: 135 eMOVZX ax, [bp+MENUINIT.bWidth]136 sub ax, BYTE MENU_HORIZONTAL_BORDER_LINES + MENU_TEXT_COLUMN_OFFSET135 mov ax, -(MENU_HORIZONTAL_BORDER_LINES + MENU_TEXT_COLUMN_OFFSET) & 0FFh 136 add al, [bp+MENUINIT.bWidth] 137 137 ret -
trunk/Assembly_Library/Src/Menu/MenuScrollbars.asm
r568 r583 248 248 ALIGN MENU_JUMP_ALIGN 249 249 MenuScrollbars_GetMaxVisibleItemsOnPageToCX: 250 eMOVZX cx, [bp+MENUINIT.bHeight] 250 mov cx, -MENU_VERTICAL_BORDER_LINES & 0FFh 251 add cl, [bp+MENUINIT.bHeight] 251 252 sub cl, [bp+MENUINIT.bTitleLines] 252 253 sub cl, [bp+MENUINIT.bInfoLines] 253 sub cl, MENU_VERTICAL_BORDER_LINES 254 ret 254 ret -
trunk/Assembly_Library/Src/Menu/MenuText.asm
r526 r583 240 240 cmp cx, [bp+MENUINIT.wHighlightedItem] 241 241 jne SHORT .ReturnAttributeTypeInSI 242 sub si, BYTE ATTRIBUTE_CHARS.cItem -ATTRIBUTE_CHARS.cHighlightedItem242 inc si ; SI = ATTRIBUTE_CHARS.cHighlightedItem 243 243 ALIGN MENU_JUMP_ALIGN, ret 244 244 .ReturnAttributeTypeInSI:
Note:
See TracChangeset
for help on using the changeset viewer.