File:  [RetroPC.NET] / np2 / macos9 / dialog / d_mpu98.cpp
Revision 1.1: download - view: text, annotated - select for diffs
Sat Mar 13 03:19:59 2004 JST (21 years, 7 months ago) by yui
Branches: MAIN
CVS tags: HEAD
fix MacOS9 resource (T.Yui)

#include	"compiler.h"
#include	"resource.h"
#include	"dialog.h"
#include	"dialogs.h"


void MPU98DialogProc(void) {

	DialogPtr	hDlg;
	int			done;
	short		item;

	hDlg = GetNewDialog(IDD_MPU98II, NULL, (WindowPtr)-1);
	if (!hDlg) {
		return;
	}
	SetDialogDefaultItem(hDlg, IDOK);

	done = 0;
	while(!done) {
		ModalDialog(NULL, &item);
		switch(item) {
			case IDOK:
				done = 1;
				break;
		}
	}
	DisposeDialog(hDlg);
}


RetroPC.NET-CVS <cvs@retropc.net>