libmonochrome/man/man3/ML_contrast.3

55 lines
1.8 KiB
Groff

'\" t
.\" Title: ml_contrast
.\" Author: Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 07/18/2016
.\" Manual: libmonochrome
.\" Source: libmonochrome
.\" Language: English
.\"
.TH "ML_CONTRAST" "3" "07/18/2016" "libmonochrome" "libmonochrome"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
ML_contrast \- Screen contrast setting functions from libmonochrome
.SH "SYNOPSIS"
.sp
.nf
#include <monochrome\&.h>
#define ML_CONTRAST_MIN 130
#define ML_CONTRAST_NORMAL 168
#define ML_CONTRAST_MAX 190
void ML_set_contrast(unsigned char contrast);
unsigned char ML_get_contrast();
.fi
.SH "DESCRIPTION"
.sp
Those functions set the contrast of the screen\&. This contrast must be greater than ML_CONTRAST_MIN and lesser then ML_CONTRAST_MAX\&.
.SH "SEE ALSO"
.sp
libmonochrome(3)
.SH "AUTHOR"
.PP
\fBThomas "Cakeisalie5" Touhey\fR <\&thomas@touhey\&.fr\&>
.RS 4
Author.
.RE