-inline void X11DrawSimpleLine(Bitmap *bitmap, int from_x, int from_y,
- int to_x, int to_y, Pixel color)
+void X11FadeScreen(Bitmap *bitmap_cross, int fade_mode, int fade_delay,
+ int post_delay)
+{
+ /* fading currently not supported -- simply copy target image to screen */
+
+ if (fade_mode == FADE_MODE_FADE_OUT)
+ X11FillRectangle(window, 0, 0, video.width, video.height, BLACK_PIXEL);
+ else
+ X11CopyArea(bitmap_cross != NULL ? bitmap_cross : backbuffer, window,
+ 0, 0, video.width, video.height, 0, 0, BLIT_OPAQUE);
+
+ /* as we currently cannot use the fade delay, also do not use post delay */
+}
+
+void X11DrawSimpleLine(Bitmap *bitmap, int from_x, int from_y,
+ int to_x, int to_y, Pixel color)