shithub: purgatorio

ref: 75c92428225428c8fde2d015f010e608a0b12f1d
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;
};