Difference between revisions of "83Plus:BCALLs:403F"

From WikiTI
Jump to: navigation, search
(SizeWind: call app's SizeWind routine)
 
(No difference)

Latest revision as of 18:04, 29 September 2009

Synopsis

Official Name: SizeWind

BCALL Address: 403F

Calls the current app's SizeWind routine.

Inputs

  • (cxSizeWind) = address of window-resize routine
  • (menuActive) = number of menu rows currently active
  • Carry flag = 0 if adding menu rows (shrinking window), 1 if removing menu rows (expanding window)

Outputs

  • None

Destroys

  • Depends on the app (but you can assume all registers will be destroyed)

Comments

(cxSizeWind) is one of the six "context vectors" that are specified by calling AppInit.

This routine is called to notify the current app when "menu rows" at the bottom of the screen are added or removed. (In the original TI-85 OS, menu rows are used to display the soft-key menus. On the TI-83 Plus, this feature has been removed, but menu rows are still used for the "Rcl" function.) This routine should be called after modifying (menuActive) accordingly.