sprintf (text, "Gamma Set to R: %01.2f G: %01.2f B: %01.2f", r, g, b);
snprintf (text, 256, "Gamma Set to R: %01.2f G: %01.2f B: %01.2f", r, g, b);
void change_gamma (bool down){	float r,g,b;	char text[256];	float delta = down?-0.05:0.05;	Image_window8::get_gamma(r, g, b);		Image_window8::set_gamma(r+delta, g+delta, b+delta);		gwin->set_palette (-1, -1);	// Message	Image_window8::get_gamma(r, g, b);		sprintf (text, "Gamma Set to R: %01.2f G: %01.2f B: %01.2f", r, g, b);	gwin->center_text(text);	}