libmonochrome/doc/ML_scroll.3.txt

35 lines
713 B
Plaintext

ML_SCROLL(3)
============
Thomas "Cakeisalie5" Touhey
:Email: thomas@touhey.fr
:man source: libmonochrome
:man manual: libmonochrome manual
NAME
----
ML_horizontal_scroll, ML_vertical_scroll - VRAM scrolling functions from libmonochrome
SYNOPSIS
--------
[source,c]
----
#include <monochrome.h>
void ML_horizontal_scroll(int scroll);
void ML_vertical_scroll(int scroll);
----
DESCRIPTION
-----------
Shifts all the pixels of the VRAM from left to right or from top to bottom.
If scroll's value is negative, the pixels will be shifted from right to left
or from bottom to top.
When pixels reach screen boundaries, they are moved to the other side.
SEE ALSO
--------
libmonochrome(3),
ML_VRAM(3),
ML_Color(3)