DECLARE SUB DQBpalRotate (BYVAL FirstCol, BYVAL LastCol, BYVAL RotDir)
FirstCol - First color index of palette interval to rotate
LastCol - Last color index of palette interval to rotate
RotDir - Rotating direction flag
none
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