window:
	res:
		windowType	wshadowbox
		switch $(COLOR)
			case COLOR:
			case GRAY:
				topShadow	CadetBlue
				bottomShadow	LightBlue
				break
		endswitch
	endres:
endwindow:
dialog: dialogs
	res:
		defaultDistance		#(fWidth)
		dialogType		modal
		defaultButton		ok
	endres:
	ditem: bitmap
		res:
			itemType	bitmap
			bitmapPath	$(okPath)
			bitmapFile	$(okFile)
			vertDistance	#(fWidth)
			horizDistance	#(fWidth)
			switch $(COLOR)
				case COLOR:
				case GRAY:
					foreground	CadetBlue
					break
			endswitch
		endres:
	endditem:
	ditem: cmd
		res:
			itemType	bitmap
			leftLabel	mwn
			leftKanjiFont	$(kanjiFont)
			leftFont	$(kanaFont)
			autoAdjust	true
			fromHoriz	bitmap
			vertDistance	#(fWidth)*2
			horizDistance	#(fWidth)
		endres:
	endditem:
	ditem: msg
		res:
			itemType	bitmap
			leftLabel	ɏI܂B
			leftKanjiFont	$(kanjiFont)
			leftFont	$(kanaFont)
			fromVert	cmd
			fromHoriz	bitmap
			vertDistance	#(fWidth)
			horizDistance	#(fWidth)
		endres:
	endditem:
	ditem: msg1
		res:
			itemType	bitmap
			leftLabel	P
			leftKanjiFont	$(kanjiFont)
			leftFont	$(kanaFont)
			fromVert	msg
			fromHoriz	bitmap
			autoAdjust	on
			vertDistance	#(fWidth)
			horizDistance	#(fWidth)
		endres:
	endditem:
	ditem: ok
		res:
			itemType	button
			label		' n@j '
			kanjiFont	$(kanjiFont)
			font		$(kanaFont)
			fromVert	msg1
			fromHoriz	bitmap
			vertDistance	#(fWidth)*2
			horizDistance	#(fWidth)*6
		endres:
		act:
			close
		endact:
	endditem:
enddialog:
proc: open
	setval bitmap bitmapPath $(okPath)
	setval bitmap bitmapFile $(okFile)
	setval msg1 leftLabel $(confirm_msg1)
	setval cmd leftLabel m$(cmdName)n
endproc:
