The cl-glfw3 Reference Manual

Table of Contents

Next: , Previous: , Up: (dir)   [Contents][Index]

The cl-glfw3 Reference Manual

This is the cl-glfw3 Reference Manual, generated automatically by Declt version 2.3 "Robert April" on Tue Jan 09 13:41:19 2018 GMT+0.


Next: , Previous: , Up: Top   [Contents][Index]

1 Introduction

cl-glfw3

Bindings for the GLFW library, version 3.x, for Common Lisp.

These bindings have been enhanced with several conveniences, as described in cl-glfw3.lisp.

Direct bindings to all GLFW functions can be found in the system %glfw glfw-bindings.lisp.

Installing

cl-glfw3 is Quicklisp installable! Just type:

(ql:quickload :cl-glfw3)

Running the resulting system requires GLFW version 3.x and libffi to be installed on your computer.

OSX

Ubuntu/Debian

Examples

Examples can be found in the examples directory.

The examples rely on cl-opengl (which Quicklisp will take care of) and require that OpenGL be installed on your computer.

These can be loaded through Quicklisp with:

(ql:quickload :cl-glfw3-examples)

(cl-glfw3-examples:events-example)
(cl-glfw3-examples:basic-window-example)
(cl-glfw3-examples:particles-basic-example)
(cl-glfw3-examples:fragment-shader-example)

Documentation

The best place to find documentation for GLFW3 is their official site.

Stability

At the moment these bindings are largely untested, aside from what can be seen in the examples directory. Contributions are most welcome!


Next: , Previous: , Up: Top   [Contents][Index]

2 Systems

The main system appears first, followed by any subsystem dependency.


Previous: , Up: Systems   [Contents][Index]

2.1 cl-glfw3

Author

Alex Charlton <alex.n.charlton@gmail.com>

License

BSD-2

Description

Bindings for GLFW 3.x

Dependencies
Source

cl-glfw3.asd (file)

Components

Next: , Previous: , Up: Top   [Contents][Index]

3 Files

Files are sorted by type and then listed depth-first from the systems components trees.


Previous: , Up: Files   [Contents][Index]

3.1 Lisp


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.1 cl-glfw3.asd

Location

cl-glfw3.asd

Systems

cl-glfw3 (system)


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.2 cl-glfw3/package.lisp

Parent

cl-glfw3 (system)

Location

package.lisp

Packages

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.3 cl-glfw3/glfw-bindings.lisp

Dependency

package.lisp (file)

Parent

cl-glfw3 (system)

Location

glfw-bindings.lisp

Exported Definitions
Internal Definitions

Previous: , Up: Lisp files   [Contents][Index]

3.1.4 cl-glfw3/cl-glfw3.lisp

Dependency

glfw-bindings.lisp (file)

Parent

cl-glfw3 (system)

Location

cl-glfw3.lisp

Exported Definitions
Internal Definitions

import-export (macro)


Next: , Previous: , Up: Top   [Contents][Index]

4 Packages

Packages are listed by definition order.


Next: , Previous: , Up: Packages   [Contents][Index]

4.1 %cl-glfw3

Source

package.lisp (file)

Nickname

%glfw

Use List
Exported Definitions
Internal Definitions

Previous: , Up: Packages   [Contents][Index]

4.2 cl-glfw3

Source

package.lisp (file)

Nickname

glfw

Use List

common-lisp

Exported Definitions
Internal Definitions

import-export (macro)


Next: , Previous: , Up: Top   [Contents][Index]

5 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


Next: , Previous: , Up: Definitions   [Contents][Index]

5.1 Exported definitions


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.1 Constants

Constant: +dont-care+
Package

%cl-glfw3

Source

glfw-bindings.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.2 Special variables

Special Variable: *window*

The window that is currently the default for this library. Can be set through MAKE-CONTEXT-CURRENT.

Package

cl-glfw3

Source

cl-glfw3.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.3 Macros

Macro: def-char-callback NAME (WINDOW CHAR) &body BODY
Package

cl-glfw3

Source

cl-glfw3.lisp (file)

Macro: def-cursor-enter-callback NAME (WINDOW ENTERP) &body BODY
Package

cl-glfw3

Source

cl-glfw3.lisp (file)

Macro: def-cursor-pos-callback NAME (WINDOW X Y) &body BODY
Package

cl-glfw3

Source

cl-glfw3.lisp (file)

Macro: def-error-callback NAME (MESSAGE) &body BODY
Package

cl-glfw3

Source

cl-glfw3.lisp (file)

Macro: def-framebuffer-size-callback NAME (WINDOW W H) &body BODY
Package

cl-glfw3

Source

cl-glfw3.lisp (file)

Macro: def-key-callback NAME (WINDOW KEY SCANCODE ACTION MOD-KEYS) &body BODY
Package

cl-glfw3

Source

cl-glfw3.lisp (file)

Macro: def-monitor-callback NAME (MONITOR EVENT) &body BODY
Package

cl-glfw3

Source

cl-glfw3.lisp (file)

Macro: def-mouse-button-callback NAME (WINDOW BUTTON ACTION MOD-KEYS) &body BODY
Package

cl-glfw3

Source

cl-glfw3.lisp (file)

Macro: def-scroll-callback NAME (WINDOW X Y) &body BODY
Package

cl-glfw3

Source

cl-glfw3.lisp (file)

Macro: def-window-close-callback NAME (WINDOW) &body BODY
Package

cl-glfw3

Source

cl-glfw3.lisp (file)

Macro: def-window-focus-callback NAME (WINDOW FOCUSEDP) &body BODY
Package

cl-glfw3

Source

cl-glfw3.lisp (file)

Macro: def-window-iconify-callback NAME (WINDOW ICONIFIEDP) &body BODY
Package

cl-glfw3

Source

cl-glfw3.lisp (file)

Macro: def-window-position-callback NAME (WINDOW X Y) &body BODY
Package

cl-glfw3

Source

cl-glfw3.lisp (file)

Macro: def-window-refresh-callback NAME (WINDOW) &body BODY
Package

cl-glfw3

Source

cl-glfw3.lisp (file)

Macro: def-window-size-callback NAME (WINDOW W H) &body BODY
Package

cl-glfw3

Source

cl-glfw3.lisp (file)

Macro: define-glfw-callback NAME ARGS &body BODY

Define a foreign callback. This macro is a thin wrapper around CFFI’s defcallback that takes care of GLFW specifics.

Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Macro: with-context WINDOW &body BODY
Package

cl-glfw3

Source

cl-glfw3.lisp (file)

Macro: with-init &body BODY

Wrap BODY with an initialized GLFW instance, ensuring proper termination. If no error callback is set when this is called, a default error callback is set.

Package

cl-glfw3

Source

cl-glfw3.lisp (file)

Macro: with-init-window (&rest WINDOW-KEYS) &body BODY

Convenience macro for setting up GLFW and opening a window.

Package

cl-glfw3

Source

cl-glfw3.lisp (file)

Macro: with-window (&rest WINDOW-KEYS) &body BODY

Convenience macro for using windows.

Package

cl-glfw3

Source

cl-glfw3.lisp (file)


Previous: , Up: Exported definitions   [Contents][Index]

5.1.4 Functions

Function: create-window WIDTH HEIGHT TITLE MONITOR SHARED

Returns a window pointer that shares resources with the window SHARED or NULL.

Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: create-window &key WIDTH HEIGHT TITLE MONITOR SHARED RESIZABLE VISIBLE DECORATED RED-BITS GREEN-BITS BLUE-BITS ALPHA-BITS DEPTH-BITS STENCIL-BITS ACCUM-RED-BITS ACCUM-GREEN-BITS ACCUM-BLUE-BITS ACCUM-ALPHA-BITS AUX-BUFFERS SAMPLES REFRESH-RATE STEREO SRGB-CAPABLE CLIENT-API CONTEXT-VERSION-MAJOR CONTEXT-VERSION-MINOR CONTEXT-ROBUSTNESS OPENGL-FORWARD-COMPAT OPENGL-DEBUG-CONTEXT OPENGL-PROFILE

This function handles all window hints.

MONITOR: The monitor on which the window should be full-screen. SHARED: The window whose context to share resources with.

Package

cl-glfw3

Source

cl-glfw3.lisp (file)

Function: default-window-hints ()

Reset all window hints to defaults.

Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: destroy-window WINDOW
Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: destroy-window &optional WINDOW
Package

cl-glfw3

Source

cl-glfw3.lisp (file)

Function: extension-supported-p EXTENSION
Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: get-clipboard-string WINDOW
Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: get-clipboard-string &optional WINDOW
Package

cl-glfw3

Source

cl-glfw3.lisp (file)

Function: get-context-version &optional WINDOW

Convenience function returning (opengl-context-major-version opengl-context-minor-version opengl-context-revision).

Package

cl-glfw3

Source

cl-glfw3.lisp (file)

Function: get-current-context ()
Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: get-current-context ()
Package

cl-glfw3

Source

cl-glfw3.lisp (file)

Function: get-cursor-position WINDOW

Returns position of cursor (x y) realive to client area of window.

Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: get-cursor-position &optional WINDOW
Package

cl-glfw3

Source

cl-glfw3.lisp (file)

Function: get-framebuffer-size WINDOW

Returns size (w h) of framebuffer in pixels.

Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: get-framebuffer-size &optional WINDOW
Package

cl-glfw3

Source

cl-glfw3.lisp (file)

Function: get-gamma-ramp MONITOR
Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: get-input-mode WINDOW MODE
Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: get-input-mode MODE &optional WINDOW

Mode is one of :CURSOR :STICKY-KEYS or :STICKY-MOUSE-BUTTONS.

Package

cl-glfw3

Source

cl-glfw3.lisp (file)

Function: get-joystick-axes JOYSTICK

Returns list of values for each axes of the joystick.

Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: get-joystick-buttons JOYSTICK

Returns list of values for each button of the joystick.

Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: get-joystick-name JOYSTICK
Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: get-key WINDOW KEY
Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: get-key KEY &optional WINDOW
Package

cl-glfw3

Source

cl-glfw3.lisp (file)

Function: get-monitor-name MONITOR
Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: get-monitor-physical-size MONITOR

Returned size is (w h) in mm.

Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: get-monitor-position MONITOR

Returned position is (x y) in screen coordinates.

Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: get-monitors ()

Returns list of pointers to opaque monitor objects.

Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: get-mouse-button WINDOW BUTTON
Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: get-mouse-button BUTTON &optional WINDOW
Package

cl-glfw3

Source

cl-glfw3.lisp (file)

Function: get-primary-monitor ()

Return the main monitor.

Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: get-proc-address PROC-NAME
Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: get-time ()
Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: get-version ()

Returns major, minor, and revison numbers of GLFW library. May be called before INIT.

Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: get-version-string ()
Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: get-video-mode MONITOR
Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: get-video-modes MONITOR

Returns list of available video modes for the supplied monitor.

Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: get-window-attribute WINDOW ATTRIBUTE
Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: get-window-attribute ATTRIBUTE &optional WINDOW
Package

cl-glfw3

Source

cl-glfw3.lisp (file)

Function: get-window-monitor WINDOW
Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: get-window-monitor &optional WINDOW
Package

cl-glfw3

Source

cl-glfw3.lisp (file)

Function: get-window-position WINDOW

Returns position of upper left corner of window (x y) in screen coordinates.

Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: get-window-position &optional WINDOW
Package

cl-glfw3

Source

cl-glfw3.lisp (file)

Function: get-window-size WINDOW

Returns size (w h) in screen coordinates.

Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: get-window-size &optional WINDOW
Package

cl-glfw3

Source

cl-glfw3.lisp (file)

Function: get-window-user-pointer WINDOW
Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: hide-window WINDOW
Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: hide-window &optional WINDOW
Package

cl-glfw3

Source

cl-glfw3.lisp (file)

Function: iconify-window WINDOW
Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: iconify-window &optional WINDOW
Package

cl-glfw3

Source

cl-glfw3.lisp (file)

Function: init ()
Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: initialize ()

Start GLFW

Package

cl-glfw3

Source

cl-glfw3.lisp (file)

Function: joystick-present-p JOYSTICK
Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: make-context-current WINDOW
Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: make-context-current WINDOW
Package

cl-glfw3

Source

cl-glfw3.lisp (file)

Function: poll-events ()
Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: post-empty-event ()
Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: restore-window WINDOW
Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: restore-window &optional WINDOW
Package

cl-glfw3

Source

cl-glfw3.lisp (file)

Function: set-char-callback WINDOW CHAR-FUN

CHAR-FUN is a callback of type ’void (* GLFWcharfun)(GLFWwindow*,unsigned int)’. Returns previously set callback.

Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: set-char-callback CALLBACK-NAME &optional WINDOW
Package

cl-glfw3

Source

cl-glfw3.lisp (file)

Function: set-clipboard-string WINDOW STRING
Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: set-clipboard-string STRING &optional WINDOW
Package

cl-glfw3

Source

cl-glfw3.lisp (file)

Function: set-cursor-enter-callback WINDOW CURSOR-ENTER-FUN

CURSOR-ENTER-FUN is a callback of type ’void (* GLFWcursorenterfun)(GLFWwindow*,int)’. Returns previously set callback.

Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: set-cursor-enter-callback CALLBACK-NAME &optional WINDOW
Package

cl-glfw3

Source

cl-glfw3.lisp (file)

Function: set-cursor-position WINDOW X Y
Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: set-cursor-position X Y &optional WINDOW
Package

cl-glfw3

Source

cl-glfw3.lisp (file)

Function: set-cursor-position-callback WINDOW CURSOR-POS-FUN

CURSOR-POS-FUN is a callback of type ’void (* GLFWcursorposfun)(GLFWwindow*,double,double)’. Returns previously set callback.

Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: set-cursor-position-callback CALLBACK-NAME &optional WINDOW
Package

cl-glfw3

Source

cl-glfw3.lisp (file)

Function: set-error-callback ERROR-FUN

ERROR-FUN is of type ’void (* GLFWerrorfun)(int,const char*)’. Returns the previous error callback.

Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: set-error-callback CALLBACK-NAME
Package

cl-glfw3

Source

cl-glfw3.lisp (file)

Function: set-framebuffer-size-callback WINDOW FRAMEBUFFER-SIZE-FUN

FRAMEBUFFER-SIZE-FUN is a callback of type ’void (* GLFWframebuffersizefun)(GLFWwindow*,int,int)’. Returns previously set callback.

Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: set-framebuffer-size-callback CALLBACK-NAME &optional WINDOW
Package

cl-glfw3

Source

cl-glfw3.lisp (file)

Function: set-gamma MONITOR GAMMA

Generates a 256-element gamma ramp from the specified exponent and then calls SET-GAMMA-RAMP with it.

Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: set-gamma-ramp MONITOR RAMP
Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: set-input-mode WINDOW MODE VALUE
Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: set-input-mode MODE VALUE &optional WINDOW
Package

cl-glfw3

Source

cl-glfw3.lisp (file)

Function: set-key-callback WINDOW KEY-FUN

KEY-FUN is a callback of type ’void (* GLFWkeyfun)(GLFWwindow*,int,int,int,int)’. Returns previously set callback.

Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: set-key-callback CALLBACK-NAME &optional WINDOW
Package

cl-glfw3

Source

cl-glfw3.lisp (file)

Function: set-monitor-callback MONITOR-FUN

MONITOR-FUN is a callback of type ’void (* GLFWmonitorfun)(GLFWmonitor*,int)’. Returns previously set callback.

Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: set-mouse-button-callback WINDOW MOUSE-BUTTON-FUN

MOUSE-BUTTON-FUN is a callback of type ’void (* GLFWmousebuttonfun)(GLFWwindow*,int,int,int)’. Returns previously set callback.

Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: set-mouse-button-callback CALLBACK-NAME &optional WINDOW
Package

cl-glfw3

Source

cl-glfw3.lisp (file)

Function: set-scroll-callback WINDOW SCROLL-FUN

SCROLL-FUN is a callback of type ’void (* GLFWscrollfun)(GLFWwindow*,double,double)’. Returns previously set callback.

Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: set-scroll-callback CALLBACK-NAME &optional WINDOW
Package

cl-glfw3

Source

cl-glfw3.lisp (file)

Function: set-time TIME
Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: set-window-close-callback WINDOW CLOSE-FUN

CLOSE-FUN is a callback of type ’void (* GLFWwindowclosefun)(GLFWwindow*)’. Returns previously set callback.

Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: set-window-close-callback CALLBACK-NAME &optional WINDOW
Package

cl-glfw3

Source

cl-glfw3.lisp (file)

Function: set-window-focus-callback WINDOW FOCUS-FUN

FOCUS-FUN is a callback of type ’void (* GLFWwindowfocusfun)(GLFWwindow*,int)’. Returns previously set callback.

Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: set-window-focus-callback CALLBACK-NAME &optional WINDOW
Package

cl-glfw3

Source

cl-glfw3.lisp (file)

Function: set-window-iconify-callback WINDOW ICONIFY-FUN

ICONIFY-FUN is a callback of type ’void (* GLFWwindowiconifyfun)(GLFWwindow*,int)’. Returns previously set callback.

Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: set-window-iconify-callback CALLBACK-NAME &optional WINDOW
Package

cl-glfw3

Source

cl-glfw3.lisp (file)

Function: set-window-monitor WINDOW MONITOR X-POSITION Y-POSITION WIDTH HEIGHT REFRESH-RATE
Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: set-window-monitor MONITOR WIDTH HEIGHT &key WINDOW X-POSITION Y-POSITION REFRESH-RATE
Package

cl-glfw3

Source

cl-glfw3.lisp (file)

Function: set-window-position WINDOW X Y
Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: set-window-position X Y &optional WINDOW
Package

cl-glfw3

Source

cl-glfw3.lisp (file)

Function: set-window-position-callback WINDOW POSITION-FUN

POSITION-FUN is a callback of type ’void (* GLFWwindowposfun)(GLFWwindow*,int,int)’. Returns previously set callback.

Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: set-window-position-callback CALLBACK-NAME &optional WINDOW
Package

cl-glfw3

Source

cl-glfw3.lisp (file)

Function: set-window-refresh-callback WINDOW REFRESH-FUN

REFRESH-FUN is a callback of type ’void (* GLFWwindowrefreshfun)(GLFWwindow*)’. Returns previously set callback.

Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: set-window-should-close WINDOW VALUE
Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: set-window-should-close &optional WINDOW CLOSEP
Package

cl-glfw3

Source

cl-glfw3.lisp (file)

Function: set-window-size WINDOW W H
Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: set-window-size W H &optional WINDOW
Package

cl-glfw3

Source

cl-glfw3.lisp (file)

Function: set-window-size-callback WINDOW SIZE-FUN

SIZE-FUN is a callback of type ’void (* GLFWwindowsizefun)(GLFWwindow*,int,int)’. Returns previously set callback.

Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: set-window-size-callback CALLBACK-NAME &optional WINDOW
Package

cl-glfw3

Source

cl-glfw3.lisp (file)

Function: set-window-title WINDOW TITLE
Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: set-window-title TITLE &optional WINDOW
Package

cl-glfw3

Source

cl-glfw3.lisp (file)

Function: set-window-user-pointer WINDOW POINTER
Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: show-window WINDOW
Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: show-window &optional WINDOW
Package

cl-glfw3

Source

cl-glfw3.lisp (file)

Function: swap-buffers WINDOW
Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: swap-buffers &optional WINDOW
Package

cl-glfw3

Source

cl-glfw3.lisp (file)

Function: swap-interval INTERVAL
Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: terminate ()
Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: wait-events ()
Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: window-hint TARGET HINT
Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: window-should-close-p WINDOW
Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Function: window-should-close-p &optional WINDOW
Package

cl-glfw3

Source

cl-glfw3.lisp (file)


Previous: , Up: Definitions   [Contents][Index]

5.2 Internal definitions


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.1 Special variables

Special Variable: *saved-lisp-fpu-modes*
Package

%cl-glfw3

Source

glfw-bindings.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.2 Macros

Macro: import-export &rest SYMBOLS
Package

cl-glfw3

Source

cl-glfw3.lisp (file)

Macro: with-float-traps-restored &body BODY

Temporarily restore the saved float traps during execution of the given BODY. Expands into a PROGN if this is not required for the current implementation.

Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Macro: with-float-traps-saved-and-masked &body BODY

Turn off floating point traps and stash them
during execution of the given BODY. Expands into a PROGN if this is not required for the current implementation.

Package

%cl-glfw3

Source

glfw-bindings.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.3 Functions

Function: c-array->list ARRAY COUNT &optional TYPE
Package

%cl-glfw3

Source

glfw-bindings.lisp (file)


Previous: , Up: Internal definitions   [Contents][Index]

5.2.4 Classes

Class: float-traps-masked-type ()
Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Direct superclasses

enhanced-foreign-type (class)

Direct methods
  • expand-from-foreign (method)
  • expand-to-foreign (method)
Class: gamma-ramp-tclass ()
Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Direct superclasses
  • translatable-foreign-type (class)
  • foreign-struct-type (class)
Class: video-mode-tclass ()
Package

%cl-glfw3

Source

glfw-bindings.lisp (file)

Direct superclasses
  • translatable-foreign-type (class)
  • foreign-struct-type (class)

Previous: , Up: Top   [Contents][Index]

Appendix A Indexes


Next: , Previous: , Up: Indexes   [Contents][Index]

A.1 Concepts

Jump to:   C   F   L  
Index Entry  Section

C
cl-glfw3.asd: The cl-glfw3<dot>asd file
cl-glfw3/cl-glfw3.lisp: The cl-glfw3/cl-glfw3<dot>lisp file
cl-glfw3/glfw-bindings.lisp: The cl-glfw3/glfw-bindings<dot>lisp file
cl-glfw3/package.lisp: The cl-glfw3/package<dot>lisp file

F
File, Lisp, cl-glfw3.asd: The cl-glfw3<dot>asd file
File, Lisp, cl-glfw3/cl-glfw3.lisp: The cl-glfw3/cl-glfw3<dot>lisp file
File, Lisp, cl-glfw3/glfw-bindings.lisp: The cl-glfw3/glfw-bindings<dot>lisp file
File, Lisp, cl-glfw3/package.lisp: The cl-glfw3/package<dot>lisp file

L
Lisp File, cl-glfw3.asd: The cl-glfw3<dot>asd file
Lisp File, cl-glfw3/cl-glfw3.lisp: The cl-glfw3/cl-glfw3<dot>lisp file
Lisp File, cl-glfw3/glfw-bindings.lisp: The cl-glfw3/glfw-bindings<dot>lisp file
Lisp File, cl-glfw3/package.lisp: The cl-glfw3/package<dot>lisp file

Jump to:   C   F   L  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.2 Functions

Jump to:   C   D   E   F   G   H   I   J   M   P   R   S   T   W  
Index Entry  Section

C
c-array->list: Internal functions
create-window: Exported functions
create-window: Exported functions

D
def-char-callback: Exported macros
def-cursor-enter-callback: Exported macros
def-cursor-pos-callback: Exported macros
def-error-callback: Exported macros
def-framebuffer-size-callback: Exported macros
def-key-callback: Exported macros
def-monitor-callback: Exported macros
def-mouse-button-callback: Exported macros
def-scroll-callback: Exported macros
def-window-close-callback: Exported macros
def-window-focus-callback: Exported macros
def-window-iconify-callback: Exported macros
def-window-position-callback: Exported macros
def-window-refresh-callback: Exported macros
def-window-size-callback: Exported macros
default-window-hints: Exported functions
define-glfw-callback: Exported macros
destroy-window: Exported functions
destroy-window: Exported functions

E
extension-supported-p: Exported functions

F
Function, c-array->list: Internal functions
Function, create-window: Exported functions
Function, create-window: Exported functions
Function, default-window-hints: Exported functions
Function, destroy-window: Exported functions
Function, destroy-window: Exported functions
Function, extension-supported-p: Exported functions
Function, get-clipboard-string: Exported functions
Function, get-clipboard-string: Exported functions
Function, get-context-version: Exported functions
Function, get-current-context: Exported functions
Function, get-current-context: Exported functions
Function, get-cursor-position: Exported functions
Function, get-cursor-position: Exported functions
Function, get-framebuffer-size: Exported functions
Function, get-framebuffer-size: Exported functions
Function, get-gamma-ramp: Exported functions
Function, get-input-mode: Exported functions
Function, get-input-mode: Exported functions
Function, get-joystick-axes: Exported functions
Function, get-joystick-buttons: Exported functions
Function, get-joystick-name: Exported functions
Function, get-key: Exported functions
Function, get-key: Exported functions
Function, get-monitor-name: Exported functions
Function, get-monitor-physical-size: Exported functions
Function, get-monitor-position: Exported functions
Function, get-monitors: Exported functions
Function, get-mouse-button: Exported functions
Function, get-mouse-button: Exported functions
Function, get-primary-monitor: Exported functions
Function, get-proc-address: Exported functions
Function, get-time: Exported functions
Function, get-version: Exported functions
Function, get-version-string: Exported functions
Function, get-video-mode: Exported functions
Function, get-video-modes: Exported functions
Function, get-window-attribute: Exported functions
Function, get-window-attribute: Exported functions
Function, get-window-monitor: Exported functions
Function, get-window-monitor: Exported functions
Function, get-window-position: Exported functions
Function, get-window-position: Exported functions
Function, get-window-size: Exported functions
Function, get-window-size: Exported functions
Function, get-window-user-pointer: Exported functions
Function, hide-window: Exported functions
Function, hide-window: Exported functions
Function, iconify-window: Exported functions
Function, iconify-window: Exported functions
Function, init: Exported functions
Function, initialize: Exported functions
Function, joystick-present-p: Exported functions
Function, make-context-current: Exported functions
Function, make-context-current: Exported functions
Function, poll-events: Exported functions
Function, post-empty-event: Exported functions
Function, restore-window: Exported functions
Function, restore-window: Exported functions
Function, set-char-callback: Exported functions
Function, set-char-callback: Exported functions
Function, set-clipboard-string: Exported functions
Function, set-clipboard-string: Exported functions
Function, set-cursor-enter-callback: Exported functions
Function, set-cursor-enter-callback: Exported functions
Function, set-cursor-position: Exported functions
Function, set-cursor-position: Exported functions
Function, set-cursor-position-callback: Exported functions
Function, set-cursor-position-callback: Exported functions
Function, set-error-callback: Exported functions
Function, set-error-callback: Exported functions
Function, set-framebuffer-size-callback: Exported functions
Function, set-framebuffer-size-callback: Exported functions
Function, set-gamma: Exported functions
Function, set-gamma-ramp: Exported functions
Function, set-input-mode: Exported functions
Function, set-input-mode: Exported functions
Function, set-key-callback: Exported functions
Function, set-key-callback: Exported functions
Function, set-monitor-callback: Exported functions
Function, set-mouse-button-callback: Exported functions
Function, set-mouse-button-callback: Exported functions
Function, set-scroll-callback: Exported functions
Function, set-scroll-callback: Exported functions
Function, set-time: Exported functions
Function, set-window-close-callback: Exported functions
Function, set-window-close-callback: Exported functions
Function, set-window-focus-callback: Exported functions
Function, set-window-focus-callback: Exported functions
Function, set-window-iconify-callback: Exported functions
Function, set-window-iconify-callback: Exported functions
Function, set-window-monitor: Exported functions
Function, set-window-monitor: Exported functions
Function, set-window-position: Exported functions
Function, set-window-position: Exported functions
Function, set-window-position-callback: Exported functions
Function, set-window-position-callback: Exported functions
Function, set-window-refresh-callback: Exported functions
Function, set-window-should-close: Exported functions
Function, set-window-should-close: Exported functions
Function, set-window-size: Exported functions
Function, set-window-size: Exported functions
Function, set-window-size-callback: Exported functions
Function, set-window-size-callback: Exported functions
Function, set-window-title: Exported functions
Function, set-window-title: Exported functions
Function, set-window-user-pointer: Exported functions
Function, show-window: Exported functions
Function, show-window: Exported functions
Function, swap-buffers: Exported functions
Function, swap-buffers: Exported functions
Function, swap-interval: Exported functions
Function, terminate: Exported functions
Function, wait-events: Exported functions
Function, window-hint: Exported functions
Function, window-should-close-p: Exported functions
Function, window-should-close-p: Exported functions

G
get-clipboard-string: Exported functions
get-clipboard-string: Exported functions
get-context-version: Exported functions
get-current-context: Exported functions
get-current-context: Exported functions
get-cursor-position: Exported functions
get-cursor-position: Exported functions
get-framebuffer-size: Exported functions
get-framebuffer-size: Exported functions
get-gamma-ramp: Exported functions
get-input-mode: Exported functions
get-input-mode: Exported functions
get-joystick-axes: Exported functions
get-joystick-buttons: Exported functions
get-joystick-name: Exported functions
get-key: Exported functions
get-key: Exported functions
get-monitor-name: Exported functions
get-monitor-physical-size: Exported functions
get-monitor-position: Exported functions
get-monitors: Exported functions
get-mouse-button: Exported functions
get-mouse-button: Exported functions
get-primary-monitor: Exported functions
get-proc-address: Exported functions
get-time: Exported functions
get-version: Exported functions
get-version-string: Exported functions
get-video-mode: Exported functions
get-video-modes: Exported functions
get-window-attribute: Exported functions
get-window-attribute: Exported functions
get-window-monitor: Exported functions
get-window-monitor: Exported functions
get-window-position: Exported functions
get-window-position: Exported functions
get-window-size: Exported functions
get-window-size: Exported functions
get-window-user-pointer: Exported functions

H
hide-window: Exported functions
hide-window: Exported functions

I
iconify-window: Exported functions
iconify-window: Exported functions
import-export: Internal macros
init: Exported functions
initialize: Exported functions

J
joystick-present-p: Exported functions

M
Macro, def-char-callback: Exported macros
Macro, def-cursor-enter-callback: Exported macros
Macro, def-cursor-pos-callback: Exported macros
Macro, def-error-callback: Exported macros
Macro, def-framebuffer-size-callback: Exported macros
Macro, def-key-callback: Exported macros
Macro, def-monitor-callback: Exported macros
Macro, def-mouse-button-callback: Exported macros
Macro, def-scroll-callback: Exported macros
Macro, def-window-close-callback: Exported macros
Macro, def-window-focus-callback: Exported macros
Macro, def-window-iconify-callback: Exported macros
Macro, def-window-position-callback: Exported macros
Macro, def-window-refresh-callback: Exported macros
Macro, def-window-size-callback: Exported macros
Macro, define-glfw-callback: Exported macros
Macro, import-export: Internal macros
Macro, with-context: Exported macros
Macro, with-float-traps-restored: Internal macros
Macro, with-float-traps-saved-and-masked: Internal macros
Macro, with-init: Exported macros
Macro, with-init-window: Exported macros
Macro, with-window: Exported macros
make-context-current: Exported functions
make-context-current: Exported functions

P
poll-events: Exported functions
post-empty-event: Exported functions

R
restore-window: Exported functions
restore-window: Exported functions

S
set-char-callback: Exported functions
set-char-callback: Exported functions
set-clipboard-string: Exported functions
set-clipboard-string: Exported functions
set-cursor-enter-callback: Exported functions
set-cursor-enter-callback: Exported functions
set-cursor-position: Exported functions
set-cursor-position: Exported functions
set-cursor-position-callback: Exported functions
set-cursor-position-callback: Exported functions
set-error-callback: Exported functions
set-error-callback: Exported functions
set-framebuffer-size-callback: Exported functions
set-framebuffer-size-callback: Exported functions
set-gamma: Exported functions
set-gamma-ramp: Exported functions
set-input-mode: Exported functions
set-input-mode: Exported functions
set-key-callback: Exported functions
set-key-callback: Exported functions
set-monitor-callback: Exported functions
set-mouse-button-callback: Exported functions
set-mouse-button-callback: Exported functions
set-scroll-callback: Exported functions
set-scroll-callback: Exported functions
set-time: Exported functions
set-window-close-callback: Exported functions
set-window-close-callback: Exported functions
set-window-focus-callback: Exported functions
set-window-focus-callback: Exported functions
set-window-iconify-callback: Exported functions
set-window-iconify-callback: Exported functions
set-window-monitor: Exported functions
set-window-monitor: Exported functions
set-window-position: Exported functions
set-window-position: Exported functions
set-window-position-callback: Exported functions
set-window-position-callback: Exported functions
set-window-refresh-callback: Exported functions
set-window-should-close: Exported functions
set-window-should-close: Exported functions
set-window-size: Exported functions
set-window-size: Exported functions
set-window-size-callback: Exported functions
set-window-size-callback: Exported functions
set-window-title: Exported functions
set-window-title: Exported functions
set-window-user-pointer: Exported functions
show-window: Exported functions
show-window: Exported functions
swap-buffers: Exported functions
swap-buffers: Exported functions
swap-interval: Exported functions

T
terminate: Exported functions

W
wait-events: Exported functions
window-hint: Exported functions
window-should-close-p: Exported functions
window-should-close-p: Exported functions
with-context: Exported macros
with-float-traps-restored: Internal macros
with-float-traps-saved-and-masked: Internal macros
with-init: Exported macros
with-init-window: Exported macros
with-window: Exported macros

Jump to:   C   D   E   F   G   H   I   J   M   P   R   S   T   W  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.3 Variables

Jump to:   *   +  
C   S  
Index Entry  Section

*
*saved-lisp-fpu-modes*: Internal special variables
*window*: Exported special variables

+
+dont-care+: Exported constants

C
Constant, +dont-care+: Exported constants

S
Special Variable, *saved-lisp-fpu-modes*: Internal special variables
Special Variable, *window*: Exported special variables

Jump to:   *   +  
C   S  

Previous: , Up: Indexes   [Contents][Index]

A.4 Data types

Jump to:   %  
C   F   G   P   S   V  
Index Entry  Section

%
%cl-glfw3: The %cl-glfw3 package

C
cl-glfw3: The cl-glfw3 system
cl-glfw3: The cl-glfw3 package
Class, float-traps-masked-type: Internal classes
Class, gamma-ramp-tclass: Internal classes
Class, video-mode-tclass: Internal classes

F
float-traps-masked-type: Internal classes

G
gamma-ramp-tclass: Internal classes

P
Package, %cl-glfw3: The %cl-glfw3 package
Package, cl-glfw3: The cl-glfw3 package

S
System, cl-glfw3: The cl-glfw3 system

V
video-mode-tclass: Internal classes

Jump to:   %  
C   F   G   P   S   V