Changeset 60 in xtideuniversalbios for trunk/Assembly_Library/Src/Menu/Dialog/Dialog.asm


Ignore:
Timestamp:
Nov 25, 2010, 2:17:45 PM (13 years ago)
Author:
aitotat
google:author:
aitotat
Message:

Changes to Assembly Library:

  • Timeout count down is now stopped when any key pressed.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Assembly_Library/Src/Menu/Dialog/Dialog.asm

    r58 r60  
    22; Project name  :   Assembly Library
    33; Created date  :   6.8.2010
    4 ; Last update   :   18.11.2010
     4; Last update   :   22.11.2010
    55; Author        :   Tomi Tilli
    66; Description   :   Common functions for many dialogs.
     
    232232Dialog_RemoveFromScreenByRedrawingParentMenu:
    233233    mov     si, [bp+DIALOG.pParentMenu] ; SS:SI points to parent MENU
    234     call    .ResetSelectionTimeoutFromParentMenuInSSSI
    235234    call    .GetParentTitleBorderCoordinatesToDX
    236235    call    MenuLocation_GetTitleBordersTopLeftCoordinatesToAX
     
    238237    jb      SHORT .RedrawDialogAreaAndWholeParentWindow
    239238    jmp     SHORT .RedrawWholeParentWindow
    240 
    241 ;--------------------------------------------------------------------
    242 ; .ResetSelectionTimeoutFromParentMenuInSSSI
    243 ;   Parameters:
    244 ;       SS:SI:  Ptr to parent MENU
    245 ;   Returns:
    246 ;       Nothing
    247 ;   Corrupts:
    248 ;       AX, BX
    249 ;--------------------------------------------------------------------
    250 ALIGN JUMP_ALIGN
    251 .ResetSelectionTimeoutFromParentMenuInSSSI:
    252     xchg    bp, si
    253     call    MenuTime_RestartSelectionTimeout    ; Restart timeout for parent MENU
    254     xchg    si, bp
    255     ret
    256239
    257240;--------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.