Helper method to set or reset foreground and background swapping.
Definition at line 33 of file displaycontroller.h.