shithub: purgatorio

ref: f8935b5778397074d41a48205e5c7f87d7b531fe
dir: purgatorio/module/dialog.m

View raw version
Dialog: module
{
	PATH:		con "/dis/lib/dialog.dis";
	init:		fn(): string;

	prompt:		fn(ctxt: ref Draw->Context, parent: ref Draw->Image, ico, title, msg: string,
				dflt: int, labs: list of string): int;
	getstring:	fn(ctxt: ref Draw->Context, parent: ref Draw->Image, msg: string): string;
};