shithub: purgatorio

ref: a5cb451b299b03f44154fac5780b6a57ca130ce0
dir: /module/mpeg.m/

View raw version
#
# This module has a primitive interface to the
# mpeg device driver
#
Mpeg: module
{
	PATH:		con "/dis/lib/mpeg.dis";

	play:		fn(d: ref Draw->Display, w: ref Image, dopaint: int,
			r: Draw->Rect, file: string, notify: chan of string): string;
	ctl:		fn(msg: string): int;
	keycolor:	fn(d: ref Draw->Display): ref Draw->Image;	
};