Changeset 525 in xtideuniversalbios for trunk/Assembly_Library
- Timestamp:
- Mar 14, 2013, 9:45:07 PM (12 years ago)
- google:author:
- krille_n_@hotmail.com
- Location:
- trunk/Assembly_Library
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Assembly_Library/Inc/Menu.inc
r370 r525 5 5 6 6 ;-------------------------------------------------------------------- 7 ; Menu Library users need to use th is macrosince it will provide7 ; Menu Library users need to use these macros since it will provide 8 8 ; compatibility with future library versions. 9 9 ; 10 10 ; CALL_MENU_LIBRARY 11 ; JMP_MENU_LIBRARY 11 12 ; Parameters: 12 13 ; %1: Function to call (functionName from MENU_LIB) … … 21 22 %ifidn %1, CloseMenuIfExitEventAllows 22 23 call MenuInit_CloseMenuIfExitEventAllows 23 24 24 %elifidn %1, Close 25 25 call MenuInit_CloseMenuWindow 26 27 26 %elifidn %1, SetUserDataFromDSSI 28 27 call MenuInit_SetUserDataFromDSSI 29 30 28 %elifidn %1, GetUserDataToDSSI 31 29 call MenuInit_GetUserDataToDSSI 32 33 30 %elifidn %1, SetTitleHeightFromAL 34 31 call MenuInit_SetTitleHeightFromAL 35 36 32 %elifidn %1, GetHighlightedItemToAX 37 33 call MenuInit_GetHighlightedItemToAX 38 39 34 %elifidn %1, SetTotalItemsFromAX 40 35 call MenuInit_SetTotalItemsFromAX 41 42 36 %elifidn %1, SetInformationHeightFromAL 43 37 call MenuInit_SetInformationHeightFromAL 44 45 38 %elifidn %1, SetTimeoutValueFromAX 46 39 call MenuTime_SetSelectionTimeoutValueFromAX 47 48 40 %else 49 41 mov di, %1 50 42 call Menu_FunctionFromDI 43 %endif 44 %endmacro 45 46 %macro JMP_MENU_LIBRARY 1 47 %ifidn %1, CloseMenuIfExitEventAllows 48 jmp MenuInit_CloseMenuIfExitEventAllows 49 %elifidn %1, Close 50 jmp MenuInit_CloseMenuWindow 51 %elifidn %1, SetUserDataFromDSSI 52 jmp MenuInit_SetUserDataFromDSSI 53 %elifidn %1, GetUserDataToDSSI 54 jmp MenuInit_GetUserDataToDSSI 55 %elifidn %1, SetTitleHeightFromAL 56 jmp MenuInit_SetTitleHeightFromAL 57 %elifidn %1, GetHighlightedItemToAX 58 jmp MenuInit_GetHighlightedItemToAX 59 %elifidn %1, SetTotalItemsFromAX 60 jmp MenuInit_SetTotalItemsFromAX 61 %elifidn %1, SetInformationHeightFromAL 62 jmp MenuInit_SetInformationHeightFromAL 63 %elifidn %1, SetTimeoutValueFromAX 64 jmp MenuTime_SetSelectionTimeoutValueFromAX 65 %else 66 mov di, %1 67 jmp Menu_FunctionFromDI 51 68 %endif 52 69 %endmacro -
trunk/Assembly_Library/Src/Menu/Dialog/DialogFile.asm
r505 r525 714 714 call InitializeNullStringsToDialogInputInDSSI 715 715 mov WORD [si+DIALOG_INPUT.fszTitle], g_szSelectNewDrive 716 CALL_MENU_LIBRARY GetDriveWithIoInDSSI 717 ret 716 JMP_MENU_LIBRARY GetDriveWithIoInDSSI 718 717 719 718 ;--------------------------------------------------------------------
Note:
See TracChangeset
for help on using the changeset viewer.