C
BYTE GFXTransition( SHORT left, SHORT top, SHORT right, SHORT bottom, GFX_TRANSITION_TYPE type, DWORD srcpageaddr, DWORD destpageaddr, WORD delay_ms, WORD param1, WORD param2 );
Overview
This immediately executes the transition effect using the GFX_TRANSITION_TYPE and the given parameters.
Input Parameters
Input Parameters |
Description |
SHORT left |
left x coordinate |
SHORT top |
top y coordinate |
SHORT right |
right x coordinate |
SHORT bottom |
bottom y coordinate |
GFX_TRANSITION_TYPE type |
Transition type |
DWORD srcpageaddr |
Source page address for the transition |
DWORD destpageaddr |
Destination page address for the transition |
WORD delay_ms |
Delay in milli seconds between redraws in the screen while executing the transition |
WORD param1 |
Transition-type specific parameter |
WORD param2 |
Transition-type specific parameter |
Returns
Returns status of transition
- 0 : Transition executed successfully
- -1 : Transition not executed