// -------------------------------------------------------------------- // UI_WINDOW::set_foreground_bmap() // // Specify the filename for the mask bitmap to display on the ui window as // a background. // void UI_WINDOW::set_foreground_bmap(char *fname) { // load in the background bitmap foreground_bmap_id = bm_load(fname); if (foreground_bmap_id < 0) { Error(LOCATION,"Could not load in %s!",fname); } #ifndef HARDWARE_ONLY palette_use_bm_palette(foreground_bmap_id); #endif }
// load up and use the proper palette void multi_pinfo_set_palette() { #ifndef HARDWARE_ONLY palette_use_bm_palette(Multi_pinfo_bitmap); #endif }