mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-22 04:43:53 +00:00
Estimated hours taken: 0.25 (+ lots of work to find the bug in the first place). extras/graphics/mercury_tcltk/HOWTO: Document the need to link with a version of libgc that was compiled with `-DALL_INTERIOR_POINTERS'.
This directory contains stuff for doing graphics with Mercury. We have created bindings to Tcl/Tk and OpenGL. Neither are complete, but both are complete *enough* to be very useful. If you add missing functionality to any of these modules, let us know, and we'll see about incorporating enhancements in the main distribution. mercury_tcltk/ A Mercury binding to Tcl/Tk. mercury_opengl/ A Mercury binding to OpenGL (or the free alternative, Mesa). samples/ calc/ A calculator that uses mercury_tcltk maze/ Draws pretty mazes in 3D using OpenGL. pent/ Places pentominoes on a board in 3D using OpenGL. 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!