window:
	res:
		windowType	wshadowbox
		switch $(COLOR)
			case COLOR:
			case GRAY:
				topShadow	#cf5191
				bottomShadow	#ffdcff
				break
		endswitch
	endres:
endwindow:
dialog: dialogs
	res:
		defaultDistance		#(fWidth)
		dialogType		modal
		defaultButton		ok
	endres:
	ditem: bitmap
		res:
			itemType	bitmap
			bitmapPath	$(icons)
			bitmapFile	Error
			vertDistance	#(fWidth)
			horizDistance	#(fWidth)
			switch $(COLOR)
				case COLOR:
				case GRAY:
					foreground	#cf5191
					break
			endswitch
		endres:
	endditem:
	ditem: msg1
		res:
			itemType	bitmap
			leftLabel	x
			leftKanjiFont	$(kanjiFont)
			leftFont	$(kanaFont)
			autoAdjust	true
			fromHoriz	bitmap
			vertDistance	#(fWidth)*2
			horizDistance	#(fWidth)
		endres:
	endditem:
	ditem: msg2
		res:
			itemType	bitmap
			leftLabel	x
			leftKanjiFont	$(kanjiFont)
			leftFont	$(kanaFont)
			autoAdjust	true
			fromVert	msg1
			fromHoriz	bitmap
			vertDistance	2
			horizDistance	#(fWidth)
		endres:
	endditem:
	ditem: msg3
		res:
			itemType	bitmap
			leftLabel	x
			leftKanjiFont	$(kanjiFont)
			leftFont	$(kanaFont)
			autoAdjust	true
			fromVert	msg2
			fromHoriz	bitmap
			vertDistance	2
			horizDistance	#(fWidth)
		endres:
	endditem:
	ditem: msg4
		res:
			itemType	bitmap
			leftLabel	x
			leftKanjiFont	$(kanjiFont)
			leftFont	$(kanaFont)
			autoAdjust	true
			fromVert	msg3
			fromHoriz	bitmap
			vertDistance	2
			horizDistance	#(fWidth)
		endres:
	endditem:
	ditem: ok
		res:
			itemType	button
			label		' O K '
			kanjiFont	$(kanjiFont)
			font		$(kanaFont)
			fromVert	msg4
			fromHoriz	bitmap
			vertDistance	#(fWidth)*2
			horizDistance	#(fWidth)*6
		endres:
		act:
			close
		endact:
	endditem:
enddialog:
proc: open
	setval msg1 leftLabel $(confirm_msg1)
	setval msg2 leftLabel $(confirm_msg2)
	setval msg3 leftLabel $(confirm_msg3)
	setval msg4 leftLabel $(confirm_msg4)
endproc:
