//------------------------------------------------------------------
// Brings up a file chooser and then loads the chosen image
// This is called by the UI when the load mural image menu item is chosen
//------------------------------------------------------------------
void ImpressionistUI::cb_load_mural_image(Fl_Menu_* o, void* v)
{
	ImpressionistDoc *pDoc = whoami(o)->getDocument();

	if (!pDoc->m_ucBitmap) {
		fl_alert("Please load a background image first.");
		return;
	}

	char* newfile = fl_file_chooser("Open File?", "*.bmp", pDoc->getImageName());
	if (newfile != NULL) {
		pDoc->loadMuralImage(newfile);
	}
}