DQBpalRotate
SUB

Prototype

DECLARE SUB DQBpalRotate (BYVAL FirstCol, BYVAL LastCol, BYVAL RotDir)

Parameters

FirstCol - First color index of palette interval to rotate

LastCol - Last color index of palette interval to rotate

RotDir - Rotating direction flag

Returns

none

Description

Rotates forward or backward the interval of the current palette specified by the FirstCol and LastCol parameters. If RotDir is 0, the palette is rotated forward, otherwise backward; you can use the FORWARD or BACKWARD constants defined into DIRECTQB.BI, as explained into appendix A

Notes:

LastCol must be greater or equal than FirstCol. See also DQBsetCol, DQBgetCol, DQBsetPal and DQBgetPal