mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-15 01:13:30 +00:00
extras/graphics/mercury_glut/glut.callback.m:
Rename overlay_display_func/2 -> disable_overlay_display_func/2
for consistency with every other pair of callback predicates in
this module.
Add a space before a determinism declaration.
Delete doubled-up tabled_for_io attributes from foreign_procs.
Call the correct GLUT function to disable keyboard up callbacks.
extras/graphics/mercury_glut/glut.color_map.m:
Fix incorrect argument ordering in a documentation comment.
extras/graphics/mercury_glut/glut.font.m:
Fix formatting.
extras/graphics/mercury_glut/glut.m:
Fix the definition of the glut_alpha/0 function, which was returning
the wrong value.
extras/graphics/mercury_glut/glut.overlay.m:
Fix a documentation comment.
Add some tabled_for_io attributes.
extras/graphics/mercury_glut/glut.window.m:
Fix doubled-up-word.
s/__IO/_IO etc.
This directory contains stuff for doing graphics with Mercury.
If you add missing functionality to any of these modules, let us know,
and we'll see about incorporating enhancements in the main distribution.
easyx/ A Mercury binding to Xlib suitable for
simple interactive graphical
applications.
mercury_allegro/ A Mercury binding to the Allegro
and AllegroGL game programming
libraries.
mercury_tcltk/ A Mercury binding to Tcl/Tk.
mercury_opengl/ A Mercury binding to OpenGL.
mercury_glfw/ A Mercury binding to GLFW.
mercury_glut/ A Mercury binding to GLUT.
mercury_cairo/ A Mercury binding to the Cairo 2D graphics
library.
samples/
calc/ A calculator that uses mercury_tcltk.
gears/ The classic OpenGL gears demo.
maze/ Draws pretty mazes in 3D using OpenGL
and GLUT.
We haven't worked out how to prevent the Tcl/Tk library from giving a
tcl prompt when it enters the event loop. If you know how, let us know!