36 lines
685 B
Plaintext
36 lines
685 B
Plaintext
|
:Author: Thomas "Cakeisalie5" Touhey
|
||
|
:Email: thomas@touhey.fr
|
||
|
:man source: libmonochrome
|
||
|
:man manual: libmonochrome
|
||
|
|
||
|
ML_SCROLL(3)
|
||
|
============
|
||
|
|
||
|
NAME
|
||
|
----
|
||
|
ML_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)
|