EV_getSplitRect Function (ROM Call 0xC9)

events.h

WIN_RECT *EV_getSplitRect (unsigned short Side);

Gets the screen rectangle for a given side.

EV_getSplitRect consults various calculator mode settings ("Split Screen": "FULL", "LEFT-RIGHT" or "TOP-BOTTOM" and "Split Aspect Ratio": "1:1", "1:2" or "2:1") to determine dimensions of the rectangular area in which the application will be executed. Parameter Side determines wanted side, and it needs to be 0 or 1 (0=left or top side, 1=right or bottom side). EV_getSplitRect returns the static pointer to the WIN_RECT structure which describes the determined rectangular area.


Used by: EV_startSide, EV_startTask