Sophie

Sophie

distrib > Mandriva > 8.1 > i586 > by-pkgid > 700475c8ae73fb4d57b6df4485c29e1c > files > 77

slang-doc-1.4.4-2mdk.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
 <META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
 <TITLE> {The S-lang C Library Reference}: SLsmg_set_screen_start</TITLE>
 <LINK HREF="cref-26.html" REL=next>
 <LINK HREF="cref-24.html" REL=previous>
 <LINK HREF="cref.html#toc25" REL=contents>
</HEAD>
<BODY>
<A HREF="cref-26.html">Next</A>
<A HREF="cref-24.html">Previous</A>
<A HREF="cref.html#toc25">Contents</A>
<HR>
<H2><A NAME="SLsmg_set_screen_start"></A> <A NAME="s25">25. <B>SLsmg_set_screen_start</B></A></H2>

<P>
<DL>
<DT><B> Synopsis </B><DD><P>Set the origin of the virtual display
<DT><B> Usage </B><DD><P><CODE>void SLsmg_set_screen_start (int *r, int *c)</CODE>
<DT><B> Description </B><DD><P><CODE>SLsmg_set_screen_start</CODE> sets the origin of the virtual display
to the row <CODE>*r</CODE> and the column <CODE>*c</CODE>.  If either <CODE>r</CODE> or <CODE>c</CODE>
is <CODE>NULL</CODE>, then the corresponding value will be set to <CODE>0</CODE>.
Otherwise, the location specified by the pointers will be updated to
reflect the old origin.
<P>See <CODE>slang/demo/pager.c</CODE> for how this function may be used to
scroll horizontally.
<DT><B> See Also </B><DD><P><CODE>SLsmg_init_smg</CODE>
</DL>
<P>
<P>
<P>
<HR>
<A HREF="cref-26.html">Next</A>
<A HREF="cref-24.html">Previous</A>
<A HREF="cref.html#toc25">Contents</A>
</BODY>
</HTML>