Commit Graph

4 Commits

Author SHA1 Message Date
Mark Brown
d465fa53cb Update the COPYING.LIB file and references to it.
Discussion of these changes can be found on the Mercury developers
mailing list archives from June 2018.

COPYING.LIB:
    Add a special linking exception to the LGPL.

*:
    Update references to COPYING.LIB.

    Clean up some minor errors that have accumulated in copyright
    messages.
2018-06-09 17:43:12 +10:00
Julien Fischer
3f58026f61 Make the easyx library in the extras distribution compile again.
Branches: main, 11.01

Make the easyx library in the extras distribution compile again.

extras/graphics/easyx/easyx.m:
	Rename the event/0 type to x_event/0 in order to avoid conflicting
	with the event keyword used in event goals.

extras/graphics/easyx/*.m:
	Conform more closely to our current formatting style.

	Use can_pass_as_mercury_type assertions where possible.
2011-05-18 11:00:28 +00:00
Ralph Becket
45a982f5df Fixed a latency bug in the easyx interface.
Estimated hours taken: 1
Branches: main

Fixed a latency bug in the easyx interface.  One has to tell the
Xlib XSync function to discard any pending events in the input queue
in order to avoid noticable event processing lag in applications with a high
refresh rate.

easyx.m:
	Moved the import of xlib to the implementation section (xlib is
	not used in the interface.)

	Added easyx.sync/3.

xlib.m:
	Changed xlib.sync/1 to discard any events waiting in the input queue.

samples/bounce.m:
	Now uses easyx.sync/3 rather than easyx.flush/3, which dramatically
	improves responsiveness.
2004-09-29 23:42:03 +00:00
Ralph Becket
56880878b2 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-28 02:10:41 +00:00