A two (or more?) option pop-up window is needed to address a number of the
issues in the bug tracker. Some of the issues where this would be useful have
I have written a patch (rb1613) which implements this, however the
implementation that I used followed the implementation of the alert_window().
And Arthur has requested this be done using Widgets, which is beyond what I can
easily do. Since this is a prerequisite for fully addressing some of these
issues, which have higher priority, I am tagging this at "bug" level.
Like the reference implementation (rb1613) it should accept at least a
description string, and a string for each of the options. It also needs to
support input from the mouse, keyboard, and joystick.
Improvements beyond the reference implementation (rb1613) which would be nice,
but not necessary:
Some way of allowing up between 0 (click through) to 5 options. If there was a 0
option, this could replace the current alert_window().
Also it would nice to have keyboard keys and joystick buttons user selectable
using something like what we have currently in src/keyboard.c .
Useful references for programming with SDL: