Example #1
0
File: med.c Project: paud/d2x-xl
//called at the end of the program
void close_editor() {

	close_autosave();

	menubar_close();

	GrCloseFont(editor_font);

	GrFreeCanvas(canv_offscreen); canv_offscreen = NULL;

	return;

}
Example #2
0
File: med.c Project: btb/d2x
//called at the end of the program
void close_editor() {

	close_autosave();

	menubar_close();
	
	gr_close_font(editor_font);

	gr_free_canvas(canv_offscreen); canv_offscreen = NULL;

	return;

}
Example #3
0
void ui_close()
{
	if (Initialized)
	{
		Initialized = 0;

		menubar_close();
		
		ui_pad_close();
		ui_small_font.reset();
	}

	return;
}
Example #4
0
void ui_close()
{
	if (Initialized)
	{
		Initialized = 0;

		menubar_close();
		
		ui_pad_close();

		gr_close_font( ui_small_font );

	}

	return;
}