Commit Graph

11 Commits

Author SHA1 Message Date
Julien Fischer
543a74938a Delete an old graphics sample.
extras/graphics/samples/pent/:
    Delete this; the togl library it used has not been supported
    for many years.

extras/graphics/README:
    Delete the (incorrect) entry for the above.

    Add a missing entry.
2022-01-12 17:08:34 +11:00
Julien Fischer
2476deb795 Add a Mercury binding to GLFW to the Mercury extras.
For post-commit review by Ian.

Add a Mercury binding to GLFW to the Mercury extras.
(GLFW is a lightweight library creating and managing an OpenGL rendering
context, as well as handling keyboard and mouse input.  It fulfills pretty much
the same role as GLUT but has a more sane design.)

extras/graphics/mercury_glfw/mercury_glfw.m:
extras/graphics/mercury_glfw/glfw.m:
	Add a Mercury binding to GLFW.

extras/graphics/mercury_glfw/README:
	Document how to build and install the binding.

	Provide a brief overview of the binding.

extras/graphics/mercury_glfw/GLFW.options:
extras/graphics/mercury_glfw/Mercury.options:
	Mercury compiler flags for building the binding --
	currently set up for Mac OS X.

extras/graphics/mercury_glfw/samples/gears.m:
extras/graphics/mercury_glfw/samples/listmodes.m:
extras/graphics/mercury_glfw/samples/triangle.m:
	Add Mercury versions of some of the GLFW examples.

extra/graphics/README:
	Add mercury_glfw.
2012-03-25 14:05:57 +00:00
Julien Fischer
d2e55c1b22 Delete a reference to mtogl, which was removed several
Branches: main, 11.07

extras/graphics/README:
	Delete a reference to mtogl, which was removed several
	releases ago.

compiler/options.m:
HISTORY:
samples/diff/diff_out.m:
samples/diff/options.m:
	Fix spelling and doubled-up words.
2011-07-16 12:04:10 +00:00
Julien Fischer
ed0ff70499 Add further documentation for the Cairo binding and announce it.
Branches: main

Add further documentation for the Cairo binding and announce it.

extras/graphics/mercury_cairo/README:
	Add a instructions for building the Cairo binding, as
	well as an overview of the C->Mercury API mapping.

extras/graphics/README:
	Delete a remark about the Tcl/Tk and OpenGL binding
	not be particularly complete.

	Mention the Cairo binding.

	Replaces references with Togl with GLUT.

extras/graphics/mercury_cairo/Cairo.options:
	Fix some wording in a comment.

extras/README:
RELEASE_NOTES:
NEWS:
	Announce the Cairo binding.
2010-12-19 06:25:32 +00:00
Peter Wang
3fb7d0e95b Initial import of Mercury bindings to Allegro and AllegroGL.
Branches: main

Initial import of Mercury bindings to Allegro and AllegroGL.

extras/graphics/mercury_allegro/*:
	New files.

extras/README:
extras/graphics/README:
	Mention the bindings.
2007-04-23 04:01:06 +00:00
Ralph Becket
70df0b4be6 A low-level wrapper around Xlib and a higher level graphics library suitable
Estimated hours taken: 30
Branches: main

A low-level wrapper around Xlib and a higher level graphics library suitable
for implementing simple interactive graphical programs.

extras/graphics/easyx:
extras/graphics/easyx/README:
extras/graphics/easyx/easyx.m:
extras/graphics/easyx/xlib.m:
extras/graphics/easyx/samples:
extras/graphics/easyx/samples/bounce.m:
extras/graphics/easyx/samples/mclock.m:
extras/graphics/easyx/samples/moveball.m:
extras/graphics/easyx/samples/scribble.m:
extras/graphics/easyx/samples/testeasyx.m:
	Added.
2004-09-27 04:31:07 +00:00
Julien Fischer
9a3354d42f Mention the GLUT binding in the NEWS file and the appropriate
Estimated hours taken: 0.2
Branches: main

Mention the GLUT binding in the NEWS file and the appropriate
README files in the extras distribution.

NEWS:
	Mention the changes to the OpenGL binding and the
	addition of the GLUT binding to the extras distribution.

extras/README:
	Mention the GLUT binding in the contents of the graphics
	directory.

extras/graphics/README:
	Mention the GLUT binding.  Specify that the OpenGL samples
	rely on Togl.
2004-05-20 06:00:08 +00:00
Julien Fischer
15b576701c Remove dependency between mercury_opengl and mercury_tcltk by making
Estimated hours taken: 14.
Branches: main.

Remove dependency between mercury_opengl and mercury_tcltk by making
mtogl a separate library.

Modify togl so that it works with Tcl/Tk 8.0.5
(XXX It doesn't work (easily) with versions of Tcl/Tk greater than 8.0,
 we probably ought to consider using togl 1.6 at some point).

Make a number of small changes (mainly adding casts and missing MR_* prefixes)
to prevent compiler warnings.

extras/graphics/README:
	Mention the `mtogl' package.

extras/graphics/mercury_opengl/mercury_opengl.m:
extras/graphics/mercury_opengl/mglu.m:
extras/graphics/mercury_opengl/mogl.m:
	Remove mtogl from mercury_opengl package.
	Define quadric using pragma foreign_type
	Add some missing MR_* prefixes.

extras/graphics/mercury_opengl/mtogl:
	Remove references to header files that are no longer generated
	by the compiler.
	Use the new foreign language interface.
	Add some missing MR_* prefixes.

extras/graphics/mercury_opengl/togl.c:
	Allow the use of tk version 8.0.5
extras/graphics/mercury_opengl/tkInt8.0p5.h:
	New file.  (This is a part of tk)

extras/graphics/mercury_opengl/Mmakefile:
	Update mmakefile to reflect above changes.

extras/graphics/mercury_opengl/README:
	Mention mtogl.

extras/graphics/samples/calc/calc.m:
	Add some missing underscores; this prevents compiler warnings
	when compiling with intermodule-optimization enabled.

extras/graphics/samples/maze/Mmakefile:
extras/graphics/samples/pent/Mmakefile:
	Update mmakefiles to reflect above changes.
2003-08-13 05:54:33 +00:00
Tyson Dowd
1b3227a1d3 Update the README file to accurately describe the directory.
Estimated hours taken: 0.5

extras/README:
	Update the README file to accurately describe the directory.

samples/maze/globals.m:
	Add the copyright message.
1998-09-29 05:57:19 +00:00
Fergus Henderson
b1d6623383 Fix a typo (s/both a complete/both are complete/).
Estimated hours taken: 0.05

extras/graphics/README:
	Fix a typo (s/both a complete/both are complete/).
1998-09-24 15:04:53 +00:00
Thomas Conway
c7087aaaa1 Add the graphics bindings to the extras.
Estimated hours taken: somewhere between 1 and 100

Add the graphics bindings to the extras.

graphics/mtcltk.m mtk.m mogl.m mglu.m mtogl.m
1997-07-18 05:03:44 +00:00