Commit 1c2c6e56ea258fabb603f13241629f7bbd81641c

Authored by Wojciech Sankowski
1 parent 321ade8c

Corrected manual

Showing 1 changed file with 2 additions and 2 deletions
graphmanual.html
@@ -28,7 +28,7 @@ entire scene.</P> @@ -28,7 +28,7 @@ entire scene.</P>
28 <H1>Compilation</H1> 28 <H1>Compilation</H1>
29 <P>The following command line can be used to compile programs using 29 <P>The following command line can be used to compile programs using
30 the library:</P> 30 the library:</P>
31 -<PRE STYLE="margin-bottom: 0.2in">gcc -g -Wall -pedantic `sdl2-config --cflags` primlib.c progname.c -o $@ -lSDL2_gfx `sdl2-config --libs`</PRE><P> 31 +<PRE STYLE="margin-bottom: 0.2in">gcc -g -Wall -pedantic `sdl2-config --cflags` primlib.c progname.c -o progname -lSDL2_gfx `sdl2-config --libs`</PRE><P>
32 where <I>progname.c</I> is the name of the main program module.</P> 32 where <I>progname.c</I> is the name of the main program module.</P>
33 <H1>Function reference</H1> 33 <H1>Function reference</H1>
34 <H2 CLASS="western">int gfx_init();</H2> 34 <H2 CLASS="western">int gfx_init();</H2>
@@ -73,7 +73,7 @@ using color &lt;I&gt;c&lt;/I&gt;.&lt;/P&gt; @@ -73,7 +73,7 @@ using color &lt;I&gt;c&lt;/I&gt;.&lt;/P&gt;
73 visible on the screen.</P> 73 visible on the screen.</P>
74 <H2 CLASS="western">int gfx_pollkey();</H2> 74 <H2 CLASS="western">int gfx_pollkey();</H2>
75 <P>Return the code of pressed key, do not wait for the keypress. 75 <P>Return the code of pressed key, do not wait for the keypress.
76 -Return-1 if no key has been pressed.</P> 76 +Return -1 if no key has been pressed.</P>
77 <H2 CLASS="western">int gfx_getkey();</H2> 77 <H2 CLASS="western">int gfx_getkey();</H2>
78 <P>Wait for the keypress and return the key code.</P> 78 <P>Wait for the keypress and return the key code.</P>
79 <H2 CLASS="western">int gfx_isKeyDown(int key);</H2> 79 <H2 CLASS="western">int gfx_isKeyDown(int key);</H2>