From b421d4e7e06f977436b6e6195b95ca44d884e0c0 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Sun, 2 Jun 2019 20:50:28 -0400 Subject: Add guile-sdl2 manual. --- manuals/guile-sdl2/Basics.html | 136 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 136 insertions(+) create mode 100644 manuals/guile-sdl2/Basics.html (limited to 'manuals/guile-sdl2/Basics.html') diff --git a/manuals/guile-sdl2/Basics.html b/manuals/guile-sdl2/Basics.html new file mode 100644 index 0000000..60bd97c --- /dev/null +++ b/manuals/guile-sdl2/Basics.html @@ -0,0 +1,136 @@ + + + + + + +Basics (Guile-SDL2) + + + + + + + + + + + + + + + + + + + + +
+

+Next: , Up: API Reference   [Contents][Index]

+
+
+ +

3.1 Basics

+ +
+
(use-modules (sdl2))
+
+ +
+
Procedure: sdl-init [subsystems]
+

Initialize the SDL library. This must be called before using any +other SDL procedure. +

+

subsystems is an optional list of symbols that specifies the +subsystems to initialize. All subsystems are initialized by default. +The possible flags are timer, audio, video, +haptic, game-controller, and events. +

+ +
+
Procedure: sdl-quit
+

Quit all activated SDL subsystems. This procedure should be called +upon all exit conditions. +

+ +
+
Procedure: sdl-version
+

Return a three element list containing the major, minor, and patch +version of the linked SDL library. +

+ +
+
Procedure: sdl-ticks
+

Return the number of milliseconds since the SDL library was +initialized. +

+ + + + + + -- cgit v1.2.3