display_option function

Compute the different display options.