Title |
Function |
Function Name |
No |
format void SCL_SetWindow (Uint8 win, Uint32 logic, Uint32 enable, Uint32 area, Uint16 startX, Uint16 startY, Uint16 endX, Uint16 endY) Input win: Specify the window type. SCL_W0: Specify the W0 window SCL_W1: Specify W1 window logic logic: Overlap between multiple windows is processed with AND on the screen specified here. . The default is OR processing. : enable: Specify the screen to display the window. area area: Specify the window to enable the outside of the window. Default is inside is effective. Each variable of logic logic, enable, and area can be specified at the same time by OR operation.
Specify constant |
logic |
enable |
area |
Significance |
|||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SCL_NBG0 | ○ | ○ | NBG0 in transparency window |
||||||||||||||||||||||||||||||||||||||||
SCL_NBG1 | ○ | ○ | NBG1 in transparency window |
||||||||||||||||||||||||||||||||||||||||
SCL_NBG2 | ○ | ○ | NBG2 in transparency window |
||||||||||||||||||||||||||||||||||||||||
SCL_NBG3 | ○ | ○ | NBG3 in transparency window |
||||||||||||||||||||||||||||||||||||||||
SCL_RBG0 | ○ | ○ | Transparency processing window RBG0 |
||||||||||||||||||||||||||||||||||||||||
SCL_RBG1 | ○ | ○ | Transparency processing window RBG1 |
||||||||||||||||||||||||||||||||||||||||
SCL_EXBG | ○ | ○ | EXBG in transparency window |
||||||||||||||||||||||||||||||||||||||||
SCL_SPR | ○ | ○ | Transparent processing window sprite |
||||||||||||||||||||||||||||||||||||||||
SCL_RP | ○ | △ | Rotation parameter window |
||||||||||||||||||||||||||||||||||||||||
SCL_CC | ○ | ○ | Color calculation window |
||||||||||||||||||||||||||||||||||||||||
SCL_NON | ○ | ○ | unspecified |
○: Can be specified △: Cannot be specified in sprite window startX: The start point X coordinate of the rectangle data startY: Y coordinate of the start point of the rectangle data endX: End point X coordinate of the rectangle data endY: Y coordinate of the end point of the rectangle data UL>Output None Function value None Function Sets a normal rectangular window.