GLFW v2.4.1
Euphoria Distribution
  1. Introduction
  2. Using GLFW
  3. Version History
  4. Files in the GLFW Euphoria Distribution
  5. The Author
  6. Acknowledgements

1. Introduction

Welcome to version 2.4.1 of the GLFW OpenGL framework. GLFW is a free, open source, portable framework for OpenGL application development. In short, it is a library that constitutes a powerful API for handling operating system specific tasks, such as opening an OpenGL window, reading keyboard and mouse input, creating threads, and much more. You will need some sort of interface to the OpenGL libraries. Included in this zip are modified versions of mic's OpenGL wrappers. If you are more comfortable with something else, simple include it instead. The GLFW include does not depend on it, only the examples do.


2. Using GLFW

How does the GLFW API work?

This point is covered in the GLFW Users Guide and the GLFW Reference Manual, and I suggest that you read at least the Users Guide, since it is a good introduction to the GLFW API.

Designing and compiling programs that use GLFW is not very difficult. A few rules for successfully designing GLFW-based programs are presented in the following sections.

2.1 Include GL/glfw.e

In your program, your first included file (and sometimes the only included file) should be GL/glfw.e. This include file defines all the necessary constants, types and prototypes that are used to interact with the GLFW API. You should also include GL/gl.e and GL/glu.e or any suitable version which you are comfortable with.
 


3. Version History

v2.4.1

v2.4

v2.3.2

v2.3.1

v2.3

v2.2.3

v2.2.2

v2.2.1

v2.2

v2.1

v2.0.3

v2.0.2

v2.0.1

v2.0

v1.0.2

v1.0.1

v1.0.0


4. Files in the GLFW Euphoria Distribution

Here is a list of the files in the GLFW source distribution:

license.txt   The GLFW license (please read it)
readme.html   This file
     
docs/   Directory containing GLFW manuals in PDF format
 glfwug14.pdf   GLFW Users Guide 1.4 (for GLFW 2.4.x)
 glfwrm14.pdf   GLFW Reference Manual 1.4 (for GLFW 2.4.x)
     
Euphoria/   Directory containing several example programs
 boing.exw   An example program
 gears.exw   An example program
 keytest.exw   An example program
 listmodes.exw   An example program
 mipmaps.exw   An example program
 mipmaps.tga   Texture for mipmaps.exw
 mthello.exw   An example program
 splitview.exw   An example program
 triangle.exw   An example program
 GL/   --"--
  glfw.e   The GLFW include file
     



5. The author

My name is Marcus Geelnard, marcus.geelnard@home.se. Please contact me if you have any problems with GLFW, or any questions at all concerning compiling or using GLFW.

The official GLFW web site can be found here: http://glfw.sourceforge.net/. It contains the latest version of GLFW, news and other information that is useful for OpenGL development.

The Euphoria wrapper was created by Elliott Sales de Andrade, quantum_analst@hotmail.com


6. Acknowledgements

GLFW would not be what it is today without the help from: