Commit 16b900f1552d6e33cd0839fc6217215deed2640b

Authored by Grzegorz Jabłoński
1 parent e45cacc4

Updated manual

Showing 1 changed file with 5 additions and 5 deletions
graphmanual.html
@@ -12,16 +12,16 @@ capabilities to the beginners learning C. It is expected, that after @@ -12,16 +12,16 @@ capabilities to the beginners learning C. It is expected, that after
12 getting enough proficiency in C, the programmer will use SDL library 12 getting enough proficiency in C, the programmer will use SDL library
13 directly. The library is contained in the file <I>primlib.c</I>. 13 directly. The library is contained in the file <I>primlib.c</I>.
14 Every file using it should include <I>primlib.h</I>. The library 14 Every file using it should include <I>primlib.h</I>. The library
15 -requires <A HREF="http://www.libsdl.org/">SDL 1.2</A> and <A HREF="http://www.ferzkopp.net/%7Easchiffler/Software/SDL_gfx-2.0/">SDL_gfx</A> 15 +requires <A HREF="http://www.libsdl.org/">SDL 2.0</A> and <A HREF="http://www.ferzkopp.net/wordpress/2016/01/02/sdl_gfx-sdl2_gfx/">SDL2_gfx</A>
16 and can be downloaded <A HREF="primlib.tgz">here</A></P> 16 and can be downloaded <A HREF="primlib.tgz">here</A></P>
17 <H1>The coordinate system</H1> 17 <H1>The coordinate system</H1>
18 <P>The coordinate system origin is located at upper-left corner of a 18 <P>The coordinate system origin is located at upper-left corner of a
19 graphics window. Width and height of the graphics window can be 19 graphics window. Width and height of the graphics window can be
20 -queried using the screenWidth() and screenHeight() functions,  
21 -respectively. Before using any of the graphics functions initgraph() 20 +queried using the gfx_screenWidth() and gfx_screenHeight() functions,
  21 +respectively. Before using any of the graphics functions gfx_init()
22 must be called. After the drawing operations, to make the updates to 22 must be called. After the drawing operations, to make the updates to
23 -the screen visible, call updateScreen(). Before calling  
24 -updateScreen() once again, you must clear the screen and redraw the 23 +the screen visible, call gfx_updateScreen(). Before calling
  24 +gfx_updateScreen() once again, you must clear the screen and redraw the
25 entire scene.</P> 25 entire scene.</P>
26 <H1>Compilation</H1> 26 <H1>Compilation</H1>
27 <P>The following command line can be used to compile programs using 27 <P>The following command line can be used to compile programs using